forked from qt-creator/qt-creator
Rework code folding
The new and cleaner foldingIndent in the block user data will make it easier to support other kinds of indentation for various other programming languages (like Python).
This commit is contained in:
@@ -96,9 +96,9 @@ private slots:
|
||||
void cleanWhitespace();
|
||||
void setTextWrapping(bool);
|
||||
void unCommentSelection();
|
||||
void unCollapseAll();
|
||||
void collapse();
|
||||
void expand();
|
||||
void unfoldAll();
|
||||
void fold();
|
||||
void unfold();
|
||||
void cutLine();
|
||||
void deleteLine();
|
||||
void selectEncoding();
|
||||
@@ -153,9 +153,9 @@ private:
|
||||
QAction *m_cleanWhitespaceAction;
|
||||
QAction *m_textWrappingAction;
|
||||
QAction *m_unCommentSelectionAction;
|
||||
QAction *m_unCollapseAllAction;
|
||||
QAction *m_collapseAction;
|
||||
QAction *m_expandAction;
|
||||
QAction *m_unfoldAllAction;
|
||||
QAction *m_foldAction;
|
||||
QAction *m_unfoldAction;
|
||||
QAction *m_cutLineAction;
|
||||
QAction *m_deleteLineAction;
|
||||
QAction *m_selectEncodingAction;
|
||||
|
||||
Reference in New Issue
Block a user