Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Javascript code editor should show line numbers
  • Loading branch information
nyalldawson committed Oct 13, 2020
1 parent 1ac5941 commit 88726e9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/gui/codeeditors/qgscodeeditorjs.cpp
Expand Up @@ -60,5 +60,6 @@ void QgsCodeEditorJavascript::initializeLexer()
lexer->setColor( lexerColor( QgsCodeEditorColorScheme::ColorRole::Identifier ), QsciLexerJavaScript::Identifier );

setLexer( lexer );
setLineNumbersVisible( true );
runPostLexerConfigurationTasks();
}

0 comments on commit 88726e9

Please sign in to comment.