Don Ho
a561cd37d4
Notepad++ 8.5.3 release
2023-05-15 07:01:31 +02:00
Don Ho
50b81eadef
Backup session file in case of its corruption
...
It could be, in certain unknown circumstances, the session file (session.xml) is saved with the incorrect characters (for example NUL characters) which leads session file corrupted and empty session loaded on the next launch. This commit makes a backup of session file before rewritting it, then check the session file after it having been writting - if written session file is corrupted, the backup session file will be restored, otherwise the backup file will be removed.
Ref:
1. https://github.com/notepad-plus-plus/notepad-plus-plus/issues/6133#issuecomment-1121781830
2. https://github.com/notepad-plus-plus/notepad-plus-plus/issues/6133#issuecomment-1544703701
Fix #13514 , close #13648
2023-05-15 05:59:14 +02:00
Don Ho
34186d2e85
Fix menu strings cut off regression for some localication
...
ref: https://github.com/notepad-plus-plus/notepad-plus-plus/issues/13556#issuecomment-1518197329
Fix #13556 , close #13645
2023-05-15 05:51:05 +02:00
ozone10
052626ca99
GUI Enhancement: User Define dlgs
...
- main dlg shared part - tab focus reorder
- string dlg (User language name, New tab name) - make edit ctrl larger
- remove obsolete style
- add initializer
- fix override warnings
- optimize dark mode
- make translation consistent between source code and english lang xml files
Fix #13615 , close #13616
2023-05-07 05:50:58 +02:00
ozone10
2a21a042d1
Fix GCC warnings & add initializers
...
Fix #13603 , close #13604
2023-05-06 05:58:58 +02:00
ozone10
2d5c241e2b
Fix Change history margin in black color issue
...
Use Line number margin style color for Change history margin, if not defined in 'theme.xml'.
Fix #12764 , fix #13593 , close #13594
2023-05-04 05:03:49 +02:00
ozone10
6b194453b8
GUI Enhancement: Preference Print sub-dialog
...
- add initializers
- reorder controls for tab focus
- add accelerators
- make comboboxes larger
- replace variable static text with edit control
- fix override warnings
Fix #13601 , fix #12812 , close #13602
2023-05-04 04:25:57 +02:00
Don Ho
23a0cfb3aa
Enhance shortcuts backup & warning
...
Commit 5b5c30b0d33f1aade36f7a270e60d52a1ff38613 backup current shortcuts file before rewritting it, and gives a warning to users.
However, when a PC installs v8.5.3 (or later version) from scratch (ie. no v8.5.2 or previous version installed), there should be no warning and no backup.
This commit remove unnecessary cases for warning user (and backup shortcuts file).
Enhance #13589 & #13599
Close #13609
2023-05-04 04:11:54 +02:00
ozone10
7e6c4b3c6b
GUI enhancement: MD5 and SHA256 Hash dialogs
...
- add accelerators
- add initializers
- optimize dark mod
Fix #13579 , close #13580
2023-05-02 16:58:08 +02:00
ozone10
997ef821d1
GUI enhancement: Find Characters in Range dialog
...
- add accelerators
- add initializers
Fix #13577 , close #13578
2023-05-02 04:58:52 +02:00
ozone10
61d2d36821
Make focus on edit field in Project panel File relocalizer dialog
...
- tab focus reorder
- optimize dark mod
- fix override warnings
- add initializer
Fix #13575 , close #13576
2023-05-02 04:18:44 +02:00
Don Ho
5b5c30b0d3
Backup old version of shortcuts.xml
...
An enhancement (fff5f9b - it will be in v8.5.3) makes Macro & Run menu completely localizable. However, it will bring a regression and critical bug for all macro recorded by v8.5.2 and previous versions.
In order to remedy this issue, shortcuts.xml will be copied to shortcuts.xml.v8.5.2.backup before being written. So user can recover backup file if they want to back to v8.5.2 or previous version with the old data.
Fix #13589 , close #13599
2023-05-01 19:26:28 +02:00
ArkadiuszMichalski
ecb10712c1
Improve "Remove consecutive duplicate lines" command performance
...
Rewrite "Remove consecutive duplicate lines" without using regex.
Fix #5538 , fix #12548 , close #13558
2023-05-01 12:58:26 +02:00
ozone10
c585a1ab08
Fix incosistent key accelerator cue for groupbox in dark mode
...
Fix #13597 , close #13598
2023-04-29 19:47:14 +02:00
ozone10
80b34f0adf
Fix regression Run Macro Multiple Times cmd
...
Not changing times immediately from edit control.
Fix #13561 , close #13563
2023-04-25 04:48:51 +02:00
Don Ho
c76f178534
Fix regression of macro recording
...
Fix #13565 , close #13570
2023-04-23 15:16:52 +02:00
doug1234
2c6c556a3a
Project Workspace "Save a Copy As" confusion issue
...
Fix #13135 , close #13303
2023-04-22 15:39:51 +02:00
Don Ho
0457a112c7
Fix regression: Key-Combos in Shortcuts Mapper displayed incorrectly
...
Fix #13554
2023-04-21 20:36:29 +02:00
Alan Kilborn
bc7d6b26a4
Make input focus right in Shortcut dialog
...
Fix #13524 , close #13526
2023-04-21 08:02:46 +02:00
ozone10
3cf45ec3a8
Reorder tab focus in Run dlg
...
Plus:
- add key accelerators.
- remove unneeded library.
- add initializers.
Fix #13540 , close #13541
2023-04-21 07:55:57 +02:00
ArkadiuszMichalski
15decdb3d9
Make 'Remove consecutive duplicate lines' support more line break
...
Fix #13474 , close #13519
2023-04-20 10:22:42 +02:00
ozone10
87e34c1f7b
Enhance Run Macro dialog
...
- reorder tab focus.
- add key accelerators.
- optimize dark mode.
fix #13544 , close #13545
2023-04-19 21:09:21 +02:00
Don Ho
1a1ce04caa
Fix regression about empty combobox of Run macro dialog
2023-04-19 20:55:52 +02:00
ozone10
59c8689ff4
Fix warnings in WindowsDlg.cpp, .h files
...
And add initializers.
Fix #13542 , close #13543
2023-04-19 19:26:15 +02:00
Don Ho
fff5f9b24c
Add the UTF8 character ability for Run & Macro menu
...
Ref: https://github.com/notepad-plus-plus/notepad-plus-plus/issues/13221#issuecomment-1457325172
Fix #12670 , fix #13221 , fix #13488 , close #13538
2023-04-19 02:06:40 +02:00
Mathias Berchtold
ac5657d826
Add comment line symbol for gui4cli
...
gui4cli uses // to comment a line.
Close #13501
2023-04-13 08:17:43 +02:00
Don Ho
96b56f61f9
Fix saving wrong macro/run menu UTF8 folder name after commands modification
...
The macro/run commands menu folder (submenu entry) can be UTF8 characters.
After modification of macro/run shortcut commands, the macro/run menu UTF8 folder names can be saved correctly by this commit, but in Unicode character number form instead of human readible characters.
Fix #12670 , close #13516
2023-04-13 05:14:26 +02:00
Don Ho
4934b46bd7
Fix UDL deletion issue
...
While there are the UDL in the userDefineLangs folder (new system) and a (or some) UDL in "userDefineLang.xml" (old system). The complete UDL deletion in "userDefineLang.xml" not remove "userDefineLang.xml" file.
This PR fixes the problem.
Fix #8101 , close #13513
2023-04-13 05:10:03 +02:00
Alan Kilborn
cca3eccea1
Fix RTL not working on FindInFiles progress window
...
Fix #13458 , close #13490
2023-04-11 23:47:27 +02:00
ozone10
0cad36d636
Add hide/show ability of Control Characters (C0 & C1) and Unicode EOL
...
Fix #8111 , close #13324
2023-04-11 15:35:35 +02:00
doug1234
81802e7d77
Fix search results output alignment for large file searches
...
Fix #13481 , close #13482
2023-04-10 15:18:43 +02:00
Don Ho
81db72afb3
Fix Column Editor OK button not disabled if Text-to-Insert is empty
...
Fix #13315
2023-04-06 23:43:08 +02:00
Don Ho
6326340ccb
Remove unecessary file
2023-04-06 14:36:00 +02:00
Don Ho
28b45ccee4
Notepad++ v8.5.2 release
2023-04-06 14:12:52 +02:00
Don Ho
9ee9046be4
Add the definition of "DEBUGGING"
2023-04-04 17:11:00 +02:00
ozone10
810ceacb49
Add dark mode to new column editor feature
...
Fix #13467 , close #13468
2023-04-04 01:15:26 +02:00
Alan Kilborn
c7e9440179
Turn off "Match Case" and "Whole Word" options by default in Find In Finder
...
Fix #13415 , close #13427
2023-04-02 15:51:12 +02:00
ozone10
37a18bf3b8
Fix dock panels visual glitch
...
The visual glitch is caused by 'Find in Search Results'.
Fix #13402 , fix #13459
2023-04-02 02:35:55 +02:00
Don Ho
e28db05754
Fix "Edit with Notepad++" context menu needs restarting OS issue
...
Fix context menu disappears issue while update.
It works with https://github.com/notepad-plus-plus/nppShell/pull/14 to fix
https://github.com/notepad-plus-plus/nppShell/issues/13
It fixes also the added dependency of the service "Application Information".
Fix #13446 , fix #13457
2023-04-01 23:59:38 +02:00
Alan Kilborn
508b3fabd6
Add hits in-progress increased number to Search Progress dialog
...
Fix #13364 , close #13404
2023-03-31 00:12:24 +02:00
ozone10
7b4e700d49
Use the right size of icon in system tray
...
Fix #8971 , close #13419
2023-03-30 15:29:22 +02:00
Bjarke Istrup Pedersen
2bcc32cb99
Cleanup old NppShell & adapt the new one in installer
...
Close #13411
2023-03-30 15:10:32 +02:00
Alan Kilborn
b54b9c49ce
Remember "Bookmark Line" and "Purge" options in Mark dlg through the session
...
Fix #13277 , close #13443
2023-03-30 02:36:59 +02:00
Alan Kilborn
a67a5f7170
Fix unexpected column jump post brace match
...
Fix #13433 , close #13441
2023-03-30 02:31:10 +02:00
ozone10
24d3a69f0f
Dark mode enhancement: make combobox focus more visible
...
Use focus rectangle for list combobox with focus.
Fix #13420 , close #13421
2023-03-30 02:21:05 +02:00
doug1234
5e23a86179
Fix Mark dialog's Copy Marked Text button is not macroable issue
...
Fix #13405 , close #13407
2023-03-30 02:13:48 +02:00
ozone10
7e4b281b8a
GUI enhancement: use split button for find dlg swap/copy button
...
- Reorder controls for consistent tab switching.
- Fix visual glitch for checkbox button focus rectangles.
Fix #13368 , fix #13021close #13372
2023-03-30 01:00:11 +02:00
Don Ho
d37c7c396a
Fix value in config.xml does not match user's preference in Column Editor
...
Fix #13370
2023-03-28 18:09:02 +02:00
Don Ho
a049009ba9
Add a philosophy quote
2023-03-27 03:21:41 +02:00
afalkenhahn
d21f7cbf5c
Added Hollywood support
...
Close #13417
2023-03-26 23:39:47 +02:00