From f151ecb87b8ecfca4bfcd352ff7590edf425666a Mon Sep 17 00:00:00 2001 From: Matthias Melcher Date: Mon, 19 Aug 2024 12:27:18 +0200 Subject: Changing test/editor Shortcut Key Ctrl-i. The original choice for split screen editing, Ctrl-2, did not work well on some platforms. --- documentation/src/editor.dox | 2 +- test/editor.cxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/documentation/src/editor.dox b/documentation/src/editor.dox index 299af9ff6..fb93e63b7 100644 --- a/documentation/src/editor.dox +++ b/documentation/src/editor.dox @@ -979,7 +979,7 @@ set correctly. Lastly, we add a menu item with a callback. app_window->end(); app_window->resizable(app_tile); app_tile->resizable(app_editor); - app_menu_bar->add("Window/Split", FL_COMMAND+'2', menu_split_callback, NULL, FL_MENU_TOGGLE); + app_menu_bar->add("Window/Split", FL_COMMAND+'i', menu_split_callback, NULL, FL_MENU_TOGGLE); } \endcode diff --git a/test/editor.cxx b/test/editor.cxx index 360e3eed7..043066108 100644 --- a/test/editor.cxx +++ b/test/editor.cxx @@ -658,7 +658,7 @@ void tut9_split_editor() { app_window->end(); app_window->resizable(app_tile); app_tile->resizable(app_editor); - app_menu_bar->add("Window/Split", FL_COMMAND+'2', menu_split_callback, NULL, FL_MENU_TOGGLE); + app_menu_bar->add("Window/Split", FL_COMMAND+'i', menu_split_callback, NULL, FL_MENU_TOGGLE); } #endif -- cgit v1.2.3