diff libgui/src/m-editor/file-editor.h @ 15365:b4c32f245da7

GUI: Settings take immediate effect on the m-editor * main-window.cc (main_window::construct): connect settings change to file-editor * file-editor.h (file-editor::notice_settings): new notice settings method * file-editor.cc (file-editor::notice_settings): new notice settings method and pass-through to all file-editor-tabs * file-editor-tab.h (file-editor::notice_settings): new notice settings method * file-editor-tab.c (file_editor_tab::file_editor_tab): removed all settings to file-editor::notice_settings (file-editor::update_lexer): fix in case settings is 0 (should never happen) (file-editor::notice_settings): all settings moved here
author Thorsten Liebig <thorsten.liebig@gmx.de>
date Tue, 11 Sep 2012 22:19:51 +0200
parents 842ab161c10a
children 501a9cc2c68f
line wrap: on
line diff
--- a/libgui/src/m-editor/file-editor.h
+++ b/libgui/src/m-editor/file-editor.h
@@ -93,6 +93,9 @@
   void handle_tab_close_request ();
   void active_tab_changed (int index);
   void handle_editor_state_changed ();
+  
+  /** Tells the editor to react on changed settings. */
+  void notice_settings ();
 
 private:
   void construct ();