ozone10
62b985b19a
Use modern subclass for URLCtrl
...
- delegate HFONT object management to the object instead of the parent, including dpi handling
- clean header includes
Fix #17149 , close #17150
2025-11-06 03:35:04 +01:00
ozone10
5996ed7171
Add basic text scale support
...
Fix #16427 , close #17091
2025-10-27 22:59:42 +01:00
Don Ho
76c3e30fe3
Fix JavaScript indent settings incorrect behaviour
...
1. More understandable naming: "javascript.js" to "JavaScript".
2. Disassociate the value of Embedded JS & JavaScript, and remove Embedded JS from the list.
3. Prevent from eventual crash due to null pointer.
Fix #16884 , close #16885
2025-07-31 18:30:31 +02:00
Don Ho
f5a34dcc9f
Enhance "Go to settings": guide users to the related setting explicitly
...
Fix #16846 , close #16847
2025-07-21 23:45:01 +02:00
xomx
8bc77857a7
Fix "Go To Settings" links in Style Configurator regression (from v8.8)
...
Regression is introduced by commit:
e45f72ae39
Fix #16592 , close #16593
2025-05-27 13:05:30 +02:00
ozone10
f127ba02d0
Rename darkmode functions, variables
...
Rename darkmode functions, variables with name 'softer', 'pure' to 'ctrl', 'dlg'.
- remove unneeded `WM_ERASEBKGND` and check in some `WM_CTLCOLORSTATIC`
- fix wrongly used colors
ref https://github.com/notepad-plus-plus/notepad-plus-plus/pull/16350#issuecomment-2779111617
Close #16387
2025-04-08 00:02:36 +02:00
Don Ho
dba2a9890e
Add "Make the selected text foreground a single color" option on GUI
...
and remove the usage of zero length enableSelectFgColor.xml file.
Close #16391
2025-04-07 23:35:18 +02:00
ozone10
8537f022b1
Improve slider control's look in dark mode when it's disabled
...
Fix #16379 , close #16380
2025-04-05 15:58:05 +02:00
ozone10
df74c19269
Make combobox in dark mode similar to standard visual style
...
Fix #16349 , close #16350
2025-04-04 18:23:50 +02:00
PeterCJ
c2f84143d9
Enhance Style Configurator: reorganize Language and Styles
...
Change Language to a COMBO and stack them so they can be wide rather than narrow.
Fix #15939 , close #16212
2025-02-21 21:42:01 +01:00
Alan Kilborn
2c1212cba5
Rename an option in Preferences dialog to fit other settings
...
Rename 'Darken inactive tabs' to 'Change inactive tab color' and add "Go to Settings" for "inactive tab" in Style Configurator.
Fix #15800 , close #15840
2024-11-27 18:46:04 +01:00
Don Ho
c24444acfe
Fix Ctrl-C not doing copy from Search result issue
...
Solution from: https://github.com/notepad-plus-plus/notepad-plus-plus/issues/15739#issuecomment-2479671245
Fix #15739 , close #15810
2024-11-16 22:09:10 +01:00
Don Ho
1890ea65f9
Avoid user confusion between Global override & Default Styles
...
Fix #15640 , close #15706
2024-10-16 00:49:44 +02:00
Don Ho
a866900c8d
Make find dlg status msgs color customizable via Style Configurator
...
Fix #5087 , close #15597
2024-09-02 18:51:59 +02:00
Don Ho
43ebe796af
Add comments for Style Configurator's parameters
2024-09-01 16:56:06 +02:00
Don Ho
d84f9b2048
Fix Styler Configurator performance issue considerably
...
Improve Styler Configurator modification application performance considerably.
While one of dockable Panels (Folder as Workspace, for example) is loaded heavily, any action (checkboxes & comboboxes) on Styler Configurator reacts very slowly - for example, check "Bold" in "Font Style".
This commit makes difference among the operations, and optimizes each action in Styler Configurator.
Fix #12436 , close #15560
2024-08-21 23:24:29 +02:00
Don Ho
bf72b5ec4a
Several enhancements for code - part II
2024-08-05 21:22:45 +02:00
Don Ho
a16261caaa
Add customizable option for individual tab color
...
Fix #12156 , close #15509
2024-08-03 00:12:23 +02:00
Don Ho
29ff2da823
Fix Style Configurator regression: "URL hovered"'s "Go to Settings" not working
...
Fix #15493
2024-07-28 21:46:33 +02:00
Don Ho
4cde33048f
Use std::wstring instead of generic_string
2024-07-19 04:35:14 +02:00
Don Ho
d13c9bb943
Use wchar_t instead of TCHAR
...
For making Unicode application status more explicit.
Close #15459
2024-07-19 01:04:42 +02:00
Don Ho
a427ace34c
Use explicite L to replace TEXT - part 2
2024-07-18 21:39:08 +02:00
Don Ho
3bca7bf278
Use L"" instead of TEXT("") - Part 1
2024-07-18 05:26:20 +02:00
ozone10
912c5ee300
Make english language text with colon (':') consistent
...
Fix #4628 , close #15165
2024-05-21 14:31:40 +02:00
Don Ho
2d076b645a
Refactoring for new DPI management: avoiod the multiple inherence
...
Using the composition instead of the multiple inherence
1. For preventing from the diamond problem.
2. To fix the semantic problem by using DPIManagerV2 as class ancestor of class StaticDialog.
Remove also unecessary scaleX, unscaleX, scaleY & unscaleY methods.
2024-05-02 18:26:20 +02:00
Don Ho
188375e2ee
Adapt TabBar to new DPI management
...
ref #14959
Close #15054
2024-05-01 03:23:47 +02:00
ozone10
560f29fc8c
Add dpi support to Style Configurator dialog
...
- reorder controls for consistent tab switch
- make spacing and position more consistent
- use system aware or gdi scaling for Color dialog and Color popup
ref #14959
Close #15029
2024-04-23 05:07:28 +02:00
Don Ho
e6558a3618
Enhance source code
2024-04-20 02:54:38 +02:00
ozone10
fc52cd3f4f
Use dpi scaled fonts for some controls
...
- prepare static dialog for hiDPI
ref: #14959
Close #14947
2024-04-11 11:09:09 +02:00
ozone10
b31e7a31e0
Change History GUI enhancement and tweaks
...
- add 'Go to setting' for other Change History styles
- make spacing consistent in preference
- minor warning fix
Close #14883
2024-03-27 17:08:13 +01:00
Don Ho
12c6777bc1
Fix some "Go to settings" in Style Configurator go to wrong section
...
Fix #14882 , close #14903
2024-03-24 14:06:17 +01:00
Don Ho
aa0be9973b
Add support for Change History in the text
...
This commit follows the commit:
fd1f785b89
Close #14838
2024-03-10 05:17:08 +01:00
Don Ho
12548b6abb
Reorganize "Editing" sections in Preferences dialog
2024-02-26 05:40:42 +01:00
Don Ho
e08c547167
Fix customized extesion in Style Configurator not saved regression
...
This regression is due to commit:
950236bb8f
Fix #14437
2023-12-03 03:48:05 +01:00
Don Ho
dc6bfedb90
Fix Incomplete styler.xml crashes Notepad++ issue
...
And do some refactoring.
Fix #12101
2023-11-06 00:40:38 +01:00
Don Ho
950236bb8f
Fix 2 performance issue in Style Configurator
...
Fix #14321
2023-11-05 20:48:10 +01:00
ozone10
776a3fb945
GUI Enhancement: StylerDlg & URLCtrl
...
- prefer SystemParametersInfo fonts over DEFAULT_GUI_FONT
- optimize dark mode
- fix override warnings
Fix #13705 , close #13706
2023-05-30 18:42:51 +02:00
ozone10
278f694f3a
Code enhancement: fix GCC implicit-fallthrough warnings
...
Fix #13142 , close #13143
2023-02-17 15:00:53 +01:00
ArkadiuszMichalski
0c704fd66b
Make theme warning message translatable (switching unsaved theme to another)
...
Fix report from comment: #8972 (comment).
Close #13112
2023-02-14 04:37:01 +01:00
ozone10
aaab190763
Add show non-printable characters command
...
| Name | Codepoint | Abbreviation |
|------------------------------|-----------|--------------|
| No-Break Space | U+00A0 | NBSP |
| Ogham Space Mark | U+1680 | OSPM |
| Mongolian Vowel Separator | U+180E | MVS |
| En Quad | U+2000 | NQSP |
| Em Quad | U+2001 | MQSP |
| En Space | U+2002 | ENSP |
| Em Space | U+2003 | EMSP |
| Three-Per-Em Space | U+2004 | 3/MSP |
| Four-Per-Em Space | U+2005 | 4/MSP |
| Six-Per-Em Space | U+2006 | 6/MSP |
| Figure Space | U+2007 | FSP |
| Punctation Space | U+2008 | PSP |
| Thin Space | U+2009 | THSP |
| Hair Space | U+200A | HSP |
| Zero-Width Space | U+200B | ZWSP |
| Zero-Width Non-Joiner | U+200C | ZWNJ |
| Zero-Width Joiner | U+200D | ZWJ |
| Left-To-Right Mark | U+200E | LRM |
| Right-To-Left Mark | U+200F | RLM |
| Line Separator | U+2028 | LS |
| Paragraph Separator | U+2029 | PS |
| Left-To-Right Embedding | U+202A | LRE |
| Right-To-Left Embedding | U+202B | RLE |
| Pop Directional Formatting | U+202C | PDF |
| Left-To-Right Override | U+202D | LRO |
| Right-To-Left Override | U+202E | RLO |
| Narrow No-Break Space | U+202F | NNBSP |
| Medium Mathematical Space | U+205F | MMSP |
| Word Joiner | U+2060 | WJ |
| Left-To-Right Isolate | U+2066 | LRI |
| Right-To-Left Isolate | U+2067 | RLI |
| First Strong Isolate | U+2068 | FSI |
| Pop Directional Isolate | U+2069 | PDI |
| Inhibit Symmetric Swapping | U+206A | ISS |
| Activate Symmetric Swapping | U+206B | ASS |
| Inhibit Arabic Form Shaping | U+206C | IAFS |
| Activate Arabic Form Shaping | U+206D | AAFS |
| National Digit Shapes | U+206E | NADS |
| Nominal Digit Shapes | U+206F | NODS |
| Ideographic Space | U+3000 | IDSP |
| Zero-Width No-Break Space | U+FEFF | ZWNBSP |
Fix also issue with tooltips in preference dialog, when changing between dark/light mode.
Fix #827 , fix #4731 , fix #8284 , close #13020
2023-02-05 04:20:25 +01:00
Don Ho
432dcb7f15
Use wide char version's function directely (part1)
...
ref: https://github.com/notepad-plus-plus/notepad-plus-plus/pull/12613#discussion_r1045153278
2023-01-19 02:52:23 +01:00
ozone10
2fb7da73d7
Remove "stylerTheme" attribute in config.xml
...
Fix #12685 , close #12691
2022-12-26 15:20:16 +01:00
ArkadiuszMichalski
cf158689f7
Add Go to settings for "Change History margin" style in Style Configurator
...
Close #12650
2022-12-16 01:01:38 +01:00
ArkadiuszMichalski
e75bd80693
Fix Go to settings for URL hovered style
...
Close #12634
2022-12-15 17:13:31 +01:00
Don Ho
4c188c3019
Fix style.xml not remember by light mode
2022-11-22 16:59:50 +01:00
ozone10
e2a1234384
Dark mode enhancement
...
1. Add "Follow Windows dark/light mode".
2. Remember user's toolbar, tabbar and theme choices for dark mode and light mode separately.
3. Add 2 hidden options for applying tab background color from themes (for both dark mode and light mode).
Fix #9183 , fix #9992 , fix #10153 , fix #10239 , fix #10544 , fix #10644 , fix #11867 , fix #10239 , close #12466
2022-11-22 01:54:05 +01:00
Don Ho
67ab4d5527
Add some shortcuts in Styler Configurator to preferences dialog
...
Shortcuts to Preferences dialog are added only for the following styles (Global Styles):
1. "Current line background colour"
2. "Caret colour"
3. "Edge colour"
4. "Line number margin"
5. "Bookmark margin"
6. "Fold"
7. "Fold active"
8. "Fold margin"
9. "Smart Highlighting"
10. "Tags match highlighting"
11. "Tags attribute"
12. "Mark Style 1"
13. "Mark Style 2"
14. "Mark Style 3"
15. "Mark Style 4"
16. "Mark Style 5"
17. "URL hovered"
18. "EOL custom color"
Fix #11890 , close #11904
2022-07-12 18:57:20 +02:00
Don Ho
2d7b2093a1
Fix font definition for languages regression in Style Configurator
...
Defining font for languages is no more possible in Style Configurator.
This regression is due to commit 1567847 (PR #10483 ).
Fix #11786 , close #11787
2022-06-13 18:41:17 +02:00
Don Ho
79e766755d
Make EOL (CRLF) display customizable
...
Fix #11413 , close #11773
2022-06-12 19:41:09 +02:00
ozone10
d65967deab
Use edge colors in dark mode for listbox border
...
1. use edge colors in darkmode for edit control border.
2. tweaks to properly drawn listbox scrollbar, when using custom border.
3. disabled edge color to dark mode preference dialog.
4. use disabled edge color for disabled combobox.
Fix #11207 , fix #11376 , close #11756
2022-06-06 20:25:17 +02:00