mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-06-06 21:46:29 +03:00
Added show line endings option.
Fixed monospace font command.
This commit is contained in:
@@ -78,6 +78,7 @@ void AppConfig::load( const std::string& confPath, std::string& keybindingsPath,
|
||||
windowState.position.y = iniState.getValueI( "window", "y", -1 );
|
||||
editor.showLineNumbers = ini.getValueB( "editor", "show_line_numbers", true );
|
||||
editor.showWhiteSpaces = ini.getValueB( "editor", "show_white_spaces", true );
|
||||
editor.showLineEndings = ini.getValueB( "editor", "show_line_endings", true );
|
||||
editor.highlightMatchingBracket =
|
||||
ini.getValueB( "editor", "highlight_matching_brackets", true );
|
||||
editor.highlightCurrentLine = ini.getValueB( "editor", "highlight_current_line", true );
|
||||
@@ -187,6 +188,7 @@ void AppConfig::save( const std::vector<std::string>& recentFiles,
|
||||
String::join( urlEncode( recentFolders ), ';' ) );
|
||||
ini.setValueB( "editor", "show_line_numbers", editor.showLineNumbers );
|
||||
ini.setValueB( "editor", "show_white_spaces", editor.showWhiteSpaces );
|
||||
ini.setValueB( "editor", "show_line_endings", editor.showLineEndings );
|
||||
ini.setValueB( "editor", "highlight_matching_brackets", editor.highlightMatchingBracket );
|
||||
ini.setValueB( "editor", "highlight_current_line", editor.highlightCurrentLine );
|
||||
ini.setValueB( "editor", "vertical_scrollbar", editor.verticalScrollbar );
|
||||
|
||||
Reference in New Issue
Block a user