qscintilla: Enable code folding

This commit is contained in:
Martin Kleusberg
2015-04-17 17:43:46 +02:00
parent 24ce374bb0
commit 6fed5ec7c2
2 changed files with 7 additions and 1 deletions

View File

@@ -8,6 +8,10 @@ SqlUiLexer::SqlUiLexer(QObject* parent) :
autocompleteApi = new QsciAPIs(this);
setupAutoCompletion();
autocompleteApi->prepare();
// Setup folding
setFoldComments(true);
setFoldCompact(false);
}
void SqlUiLexer::setupAutoCompletion()