From 7b1e6546a1353023b86c546b2bdc305493d73d15 Mon Sep 17 00:00:00 2001 From: Ashfaaq18 Date: Wed, 21 Jul 2021 04:00:10 +0530 Subject: [PATCH] Make Document List Panel togglable and shortcutable via View menu 1. Toggle toolbar item and view menu item for Document List Panel. 2. Added standard, filledFluent, darkmode->toolbar->(fluent and filledfluent) icons for the Document List Panel toggle. 3. Working shortcut for the Document List Panel under shortcut mapper. 4. Removed show document panel from the preference menu, kept the extension option. 5. Rename "Doc Switcher" to "Document list". Fix #3526, fix #9015, close #10214 --- PowerEditor/installer/nativeLang/english.xml | 9 ++++---- .../MISC/PluginsManager/Notepad_plus_msgs.h | 20 +++++++++--------- PowerEditor/src/Notepad_plus.cpp | 7 +++--- PowerEditor/src/Notepad_plus.rc | 7 ++++++ PowerEditor/src/NppBigSwitch.cpp | 6 +++--- PowerEditor/src/NppCommands.cpp | 20 ++++++++++++++++-- PowerEditor/src/Parameters.cpp | 1 + .../src/WinControls/Preference/preference.rc | 7 +++--- .../WinControls/Preference/preferenceDlg.cpp | 17 ++++----------- .../WinControls/Preference/preference_rc.h | 5 ++--- .../VerticalFileSwitcher.cpp | 6 ++++++ .../VerticalFileSwitcher.h | 4 ++-- .../VerticalFileSwitcher.rc | 6 +++--- .../VerticalFileSwitcherListView.cpp | 2 +- .../VerticalFileSwitcher_rc.h | 4 ++-- .../darkMode/toolbar/FluentUI/docList_off.ico | Bin 0 -> 3638 bytes .../toolbar/filledFluentUI/docList_off.ico | Bin 0 -> 3638 bytes PowerEditor/src/icons/docList.bmp | Bin 0 -> 1334 bytes PowerEditor/src/icons/docList.ico | Bin 0 -> 5686 bytes PowerEditor/src/icons/docList_off.ico | Bin 0 -> 3638 bytes .../src/icons/filledFluentUI/docList_off.ico | Bin 0 -> 3638 bytes PowerEditor/src/menuCmdID.h | 2 +- PowerEditor/src/resource.h | 8 ++++++- 23 files changed, 79 insertions(+), 52 deletions(-) create mode 100644 PowerEditor/src/icons/darkMode/toolbar/FluentUI/docList_off.ico create mode 100644 PowerEditor/src/icons/darkMode/toolbar/filledFluentUI/docList_off.ico create mode 100644 PowerEditor/src/icons/docList.bmp create mode 100644 PowerEditor/src/icons/docList.ico create mode 100644 PowerEditor/src/icons/docList_off.ico create mode 100644 PowerEditor/src/icons/filledFluentUI/docList_off.ico diff --git a/PowerEditor/installer/nativeLang/english.xml b/PowerEditor/installer/nativeLang/english.xml index 56eb6979d..c7de27081 100644 --- a/PowerEditor/installer/nativeLang/english.xml +++ b/PowerEditor/installer/nativeLang/english.xml @@ -260,6 +260,7 @@ The comments are here for explanation, it's not necessary to translate them. + @@ -608,6 +609,7 @@ The comments are here for explanation, it's not necessary to translate them. + @@ -826,7 +828,6 @@ The comments are here for explanation, it's not necessary to translate them. - @@ -1258,11 +1259,11 @@ You can re-activate this dialog in Preferences dialog later." />