diff options
author | mae <qt-info@nokia.com> | 2010-05-20 15:10:26 +0200 |
---|---|---|
committer | mae <qt-info@nokia.com> | 2010-05-20 15:11:31 +0200 |
commit | e07c34017e5fd9d9a9cb929c284be9004dd74b95 (patch) | |
tree | f8d85f0d770e9ab0c12a512f860cb2cf66896785 /src/plugins/texteditor/texteditoractionhandler.h | |
parent | 55b26868e61bdfc11cb7de23471ebd1dbc9973d3 (diff) | |
download | qt-creator-e07c34017e5fd9d9a9cb929c284be9004dd74b95.tar.gz |
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).
Diffstat (limited to 'src/plugins/texteditor/texteditoractionhandler.h')
-rw-r--r-- | src/plugins/texteditor/texteditoractionhandler.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/plugins/texteditor/texteditoractionhandler.h b/src/plugins/texteditor/texteditoractionhandler.h index 25f2e9febb..331c788d31 100644 --- a/src/plugins/texteditor/texteditoractionhandler.h +++ b/src/plugins/texteditor/texteditoractionhandler.h @@ -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; |