Added show line endings option.

Fixed monospace font command.
This commit is contained in:
Martín Lucas Golini
2023-01-20 02:30:04 -03:00
parent 4edfa15e52
commit fb502ab8ae
7 changed files with 54 additions and 3 deletions

View File

@@ -1576,6 +1576,7 @@ void App::onCodeEditorCreated( UICodeEditor* editor, TextDocument& doc ) {
editor->setColorScheme( mSplitter->getCurrentColorScheme() );
editor->setShowLineNumber( config.showLineNumbers );
editor->setShowWhitespaces( config.showWhiteSpaces );
editor->setShowLineEndings( config.showLineEndings );
editor->setHighlightMatchingBracket( config.highlightMatchingBracket );
editor->setVerticalScrollBarEnabled( config.verticalScrollbar );
editor->setHorizontalScrollBarEnabled( config.horizontalScrollbar );