diff options
Diffstat (limited to 'src/__TODO/UiGuiHighlighter.cpp')
-rw-r--r-- | src/__TODO/UiGuiHighlighter.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/__TODO/UiGuiHighlighter.cpp b/src/__TODO/UiGuiHighlighter.cpp index cfbf299..cfb99c9 100644 --- a/src/__TODO/UiGuiHighlighter.cpp +++ b/src/__TODO/UiGuiHighlighter.cpp @@ -95,7 +95,7 @@ UiGuiHighlighter::UiGuiHighlighter(QsciScintilla *parent) : SettingsPaths::getSettingsPath() + "/UiGuiSyntaxHighlightConfig.ini", TQSettings::IniFormat, this); - _highlightningIsOn = true; + _highlightingIsOn = true; _mapHighlighternameToExtension["Bash"] = TQStringList() << "sh"; _mapHighlighternameToExtension["Batch"] = TQStringList() << "bat"; @@ -187,7 +187,7 @@ void UiGuiHighlighter::setHighlighterByAction(TQAction *highlighterAction) */ void UiGuiHighlighter::turnHighlightOn() { - _highlightningIsOn = true; + _highlightingIsOn = true; _qsciEditorParent->setLexer(_lexer); readCurrentSettings(""); } @@ -197,7 +197,7 @@ void UiGuiHighlighter::turnHighlightOn() */ void UiGuiHighlighter::turnHighlightOff() { - _highlightningIsOn = false; + _highlightingIsOn = false; _qsciEditorParent->setLexer(); _qsciEditorParent->setFont(TQFont("Monospace", 10, TQFont::Normal)); _qsciEditorParent->setMarginsFont(TQFont("Monospace", 10, TQFont::Normal)); @@ -583,7 +583,7 @@ int UiGuiHighlighter::setLexerForExtension(TQString extension) } // Set the _lexer for the TQScintilla widget. - if (_highlightningIsOn) + if (_highlightingIsOn) { _qsciEditorParent->setLexer(_lexer); } |