mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-10-01 10:40:20 +03:00
Added Insert Date / Time functionality (Settings -> Edit -> Insert Date, plus commands for each option).
Fixed a use after free bug in UICodeEditorSplitter.
This commit is contained in:
@@ -177,6 +177,7 @@ void AppConfig::load( const std::string& confPath, std::string& keybindingsPath,
|
||||
TextFormat::stringToLineEnding( ini.getValue( "document", "line_endings", "LF" ) );
|
||||
editor.newTabPosition =
|
||||
NewTabPosition::fromString( ini.getValue( "editor", "new_tab_position", "last" ) );
|
||||
editor.customDateFormat = ini.getValue( "editor", "custom_date_format", "%d.%m.%Y %H:%M:%S" );
|
||||
// Migrate old data
|
||||
if ( ini.keyValueExists( "document", "windows_line_endings" ) &&
|
||||
!ini.keyValueExists( "document", "line_endings" ) &&
|
||||
@@ -395,6 +396,7 @@ void AppConfig::save( const std::vector<std::string>& recentFiles,
|
||||
ini.setValue( "editor", "tab_jump_mode",
|
||||
UITabWidget::tabJumpModeToString( editor.tabJumpMode ) );
|
||||
ini.setValue( "editor", "new_tab_position", NewTabPosition::toString( editor.newTabPosition ) );
|
||||
ini.setValue( "editor", "custom_date_format", editor.customDateFormat );
|
||||
ini.setValueB( "editor", "single_click_tree_navigation", editor.singleClickNavigation );
|
||||
ini.setValueB( "editor", "sync_project_tree_with_editor", editor.syncProjectTreeWithEditor );
|
||||
ini.setValueB( "editor", "auto_close_xml_tags", editor.autoCloseXMLTags );
|
||||
|
||||
Reference in New Issue
Block a user