Mercurial > octave
view .editorconfig @ 29084:2a70a068c4ab
add option for using alt-modifer in command windows readline (bug #59478)
* gui-preferences-sc.h: key and default value for new pref for disabling
menu accelerators when command window has focus
* main-window.cc (main_window): initial new boolean class variable
storing the pref for disabling the menu accelerators;
(focus_changed): check for editor and command window getting or losing
focus and en-/disable menu accelerators accordingly;
(notice_settings): get new preference, disable menu accelerators if
desired and if command window has focus
(construct): remove connection of editor focus changed signal
with the slot in main window since the related slot is now directly
called from focus_changed if required
* main-window.h: new class variable m_prevent_readline_conflicts_menu
* settings-dialog.cc (settings_dialog) read new pref and initialize the
related check box;
(write_changed_settings): store state of the check box in pref file
* settings-dialog.ui: added check box for new preference
author | Torsten Lilge <ttl-octave@mailbox.org> |
---|---|
date | Fri, 20 Nov 2020 20:02:29 +0100 |
parents | 640ee0d531d0 |
children |
line wrap: on
line source
root = true [*] charset = utf-8 end_of_line = lf indent_size = 2 indent_style = space insert_final_newline = true [*.{am,mk}] indent_size = tab indent_style = tab