Generic highlighter: Code folding support.

This commit is contained in:
Leandro Melo
2010-06-18 16:30:56 +02:00
parent 81955e045e
commit 20eeca15ce
11 changed files with 235 additions and 79 deletions

View File

@@ -50,7 +50,8 @@ PlainTextEditorFactory::PlainTextEditorFactory(QObject *parent)
m_actionHandler = new TextEditorActionHandler(
QLatin1String(TextEditor::Constants::C_TEXTEDITOR),
TextEditorActionHandler::Format |
TextEditorActionHandler::UnCommentSelection);
TextEditorActionHandler::UnCommentSelection |
TextEditorActionHandler::UnCollapseAll);
m_mimeTypes << QLatin1String(TextEditor::Constants::C_TEXTEDITOR_MIMETYPE_TEXT);
connect(Core::EditorManager::instance(), SIGNAL(currentEditorChanged(Core::IEditor*)),