Mercurial > octave
view .dir-locals.el @ 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 | df203b20cfc6 |
children |
line wrap: on
line source
((nil . ((c-file-style . "gnu") (indent-tabs-mode . nil) (fill-column . 72))) (change-log-mode . ((indent-tabs-mode . t))) (makefile-mode . ((indent-tabs-mode . t))))