5879 Commits

Author SHA1 Message Date
Jiri Hruska
5b36e097c2 Fix status bar and tab bar flicker when updated
Add double buffering for status bar and tab bar to avoid flickering.

Fix #15260, close #15296
2024-06-16 04:51:42 +02:00
Don Ho
6102687faf Fix crash of "Next Search Result" cmd on the empty search result (2nd)
Fix #15247, close #15293
2024-06-15 23:42:21 +02:00
Don Ho
e6a1735236 Fix Find Replace size is not remembered through the sessions issue
Fix #15294
2024-06-15 20:45:58 +02:00
Don Ho
fa2fce2b41 Fix crash of "Next Search Result" cmd on the empty search result
Fix #15247
2024-06-15 05:00:32 +02:00
ozone10
c7ee70cf32 Make panel tabbar icons using BMP use transparency
- modify standard ico files to use transparency

ref #14959

Close #15289
2024-06-15 03:15:35 +02:00
WildByDesign
eb82aac284 Fluent Icons Alignment Fix
- improve the alignment of the Document List, Undo and Redo icons

Close #15288
2024-06-14 15:47:05 +02:00
Alan Kilborn
2e116251e2 Fix the Begin/End Select after deletion problem
Fix #15221, close #15278
2024-06-14 15:38:55 +02:00
WildByDesign
720f5f8a8e Fluent Icons - Tab Bar
- Adding the remaining Fluent icons for the tab bar
- 16x16, 20x20, 24x24, 32x32 and 48x48

Close #15287
2024-06-14 00:38:36 +02:00
Don Ho
638b5a2043 Make install/update easy & quiet
Add command line parameter "/runNppAfterSilentInstall" for Notepad++ installer.
This parameter launches installed Notepad++ after silent installation.
Of course, the parameter takes effect only when "/S" (silent installation) is used.

Fix partially #8514, follow up #15230

Close #15280
2024-06-13 11:41:02 +02:00
ozone10
dbdeca5b28 Add dark mode search results panel tab bar icon
ref #14959

Close #15286
2024-06-13 17:59:57 +02:00
WildByDesign
7f7dd1df01 Fluent Icons - Panels Toolbar & Tab bar
- Update Fluent Icons for Panels Toolbar and tabbar for better scaling.
- 16x16, 20x20, 24x24, 32x32 and 48x48

Close #15285
2024-06-13 16:02:40 +02:00
ozone10
f2fbeadfea Refactor docking panel tab bar to improve dpi compatibility
- reduce flickering when resizing panels

Ref #14959

Close #15282
2024-06-13 15:36:38 +02:00
Alan Kilborn
7a6768b029 Add Backspace unident option
Fix #15180, close #15277
2024-06-13 15:12:22 +02:00
ozone10
6cbb1273a3 Tweak Find in File Progress hits text position
- increase width for Find dialog In selection checkbox
- increase width for Preference Autocompletion html/xml close tag checkbox

According the community's decision:
https://community.notepad-plus-plus.org/topic/25874/poll-find-in-files-hits-position

ref https://github.com/notepad-plus-plus/notepad-plus-plus/pull/15187#issuecomment-2159602146

Fix #15244, fix #13426, close #15268
2024-06-13 14:47:06 +02:00
Coises
f2e5739d4d Fix rectangular selection copy-paste bug
Restore old paste into rectangular selection behavior: only call pasteIntoMultiSelection for multiple stream selections and not for rectangular selections.

Fix #15139, fix #15151, close #15261
2024-06-12 15:56:23 +02:00
ozone10
dc53d1b7a7 Add F13-F24 keys to Shortcut Mapper
Fix #11975, close #15269
2024-06-12 02:19:13 +02:00
Alan Kilborn
721a845bec Fix unsaved tab containing tab character display glitch
Disallow tab character via pasting when renaming a file tab.

Fix #15202, close #15211
2024-06-12 01:24:42 +02:00
ozone10
f37f2d0ffe Use new dpi scaled size for docking panel tab icons
Ref #14959

Close #15267
2024-06-11 03:26:30 +02:00
xomx
83f1195bc1 Add installer new option '/closeRunningNpp'
New Notepad++ NSIS installer cmdline option.

If specified on the cmdline, it first tries to use the usual app-closing by sending the WM_CLOSE message to the running Notepad++.
If that standard closing fails, it uses consequently the forceful TerminateProcess WINAPI way.

Partially fix the #8514, followup of the #14251.

Close #15230
2024-06-09 21:19:42 +02:00
WildByDesign
aea78d71e2 Show All Characters Icon Fix
- fixes the All Characters Icon which was blurry at 16x16

Close #15259
2024-06-09 03:22:32 +02:00
WildByDesign
7291823e1a Update Fluent toolbar icons
Updated icons for 16x16, 20x20, 24x24, 32x32, 40x40, 48x48, 64x64 and 96x96

Close #15253
2024-06-08 17:06:19 +02:00
xomx
8beda66cb8 Fixed the "lost" panels issue
Implement some size limits for the Notepad++ docked and floating panels, as the users often "lost" its panels (e.g. when they minimized them to zero width or height).

This also fixes the config.xml possible previous "out-of-the-allowed-range" data.

Fix #13084, close #15236
2024-06-08 03:58:43 +02:00
ozone10
e7e88a380a Add "Show All Character" context menu on toolbar button
Fix #14832, close #15235
2024-06-07 00:47:31 +02:00
Don Ho
7a401cface Enlarge the labels of indent settings 2024-06-06 19:58:35 +02:00
ozone10
07e95038cb Add message box with information about disabled backward regex searching
Fix #15239, close #15243
2024-06-06 18:05:13 +02:00
ozone10
ea71d5ea4e Fix small width for "Ignore case" checkbox in UDL for some languages
Fix #15233, close #15234
2024-06-05 18:16:41 +02:00
xomx
9f6e9c0cfc Update English translation for v8.6.8 (indentation setting)
Related to: #15203

Close #15237
2024-06-05 17:21:19 +02:00
Don Ho
df4e8f5b73 Fix integer overflow issue in Column Editor
Fix #15167, close #15222
2024-06-05 00:58:56 +02:00
Don Ho
61bcf3a2bc Notepad++ v8.6.8 - Support Taiwan's Sovereignty v8.6.8 2024-06-04 03:55:45 +02:00
popcorner
bc1436a5c0 Update chineseSimplified.xml
Close #15154
2024-06-04 00:41:16 +02:00
ozone10
6cd6aa3843 Make clang warnings flags in makefile and msvc consistent
PR #15189 added option to use clang with gcc makefile.
This PR makes clang warnings flags in makefile and msvc consistent.

Close #15227
2024-06-01 01:26:04 +02:00
ozone10
fedaabf0f8 Fix toolbar pressed button visual glitch in dark mode
Use custom draw for main toolbar in dark mode.

Fix #15225, close #15226
2024-06-01 00:58:08 +02:00
ozone10
cfcb0d73cf Fix file opening issue with control characters initial appearence
Fix #13988, close #15219
2024-05-31 03:56:10 +02:00
ozone10
6c660a71b3 Add missing monitoring icon for disabled state
Fix #15217, close #15218
2024-05-31 03:37:52 +02:00
Christian Grasser
b4b76ff770 Code enhancement: Nullpointer checks
- zero init LexSearchResult.cxx lineBuffer
- WindowsDlg::resetSelection() add nullpointer check as assert just triggers on debug builds
- added missing nullpointer checks in Utf8_16.cpp on allocated memory
- added missing nullpointer check on notifyView for case SCN_AUTOCSELECTION in NppNotification.cpp
- added missing nullpointer check on clipboardData in NppCommands.cpp

Close #15195
2024-05-31 02:57:39 +02:00
ozone10
c89033bd8a Replace bmp with ico for panels with toolbar
- use correct styles for toolbar
- change panel toolbar icons if dark/light mode has changed
- align panel toolbar icons
- add initialization

ref #14959

Close #15204
2024-05-29 00:04:55 +02:00
Don Ho
0019e20f82 Make naming correct for indent settings of Preferences dialog
Ref: https://github.com/notepad-plus-plus/notepad-plus-plus/issues/15180#issuecomment-2129892136

Close #15203
2024-05-28 18:41:56 +02:00
ozone10
cdf32d198b Reorganize icons folder
- remove unused delete icon and code related to it
- remove notepadPlus.Resource.targets
- fix dark mode edit control in preference file association subdialog

ref https://github.com/notepad-plus-plus/notepad-plus-plus/issues/14959#issuecomment-2131289263

Close #15192
2024-05-27 03:14:37 +02:00
Christian Grasser
2ed6c77dfe CI enhancement
- update CI link from appveyor to GH action
- add option to makefile build mingw build also with Clang++ instead of g++
- add option to makefile to enable clang analyzer

Close #15189
2024-05-25 16:19:47 +02:00
Alan Kilborn
b3b90a5dc0 Add auto-indent feature for Python
Fix #15122, close #15159
2024-05-25 15:56:55 +02:00
ozone10
9c1f972ee3 Add new dpi support to Find in Files Progress window
ref #14959

Fix #15027, close #15187
2024-05-25 03:42:17 +02:00
ozone10
6c5f0009b4 Use gdi dpi scaling for Windows dialog
- tweak dpi scaling for ColourPopup dialog.

ref #14959

Close #15186
2024-05-25 03:26:06 +02:00
ozone10
00ea1a9089 Handle new dpi message in Shortcut Mapper
ref #14959

Close #15173
2024-05-22 18:25:58 +02:00
cddiffz
0baac8af59 Fix extra space inserted issue with HEX mode in Column Editor
Fix extra space inserted when inserting hexadecimal numbers with Column Editor:
Remove rounding of odd number of digits.

Fix #15168, close #15176
2024-05-22 17:39:34 +02:00
ozone10
4ad57c1dd1 Replace GetSystemMetrics with new dpi manager's ones
- remove unneeded declarations in NppDarkMode.h
ref 5123016#r142224732

ref #14959

Close #15171
2024-05-22 05:02:22 +02:00
ozone10
49340a8707 Refactor ShortcutMapper resizing for new dpi compatibility
ref #14959

Close #15169
2024-05-22 04:51:06 +02:00
molsonkiko
106bdcc016 Fix negative repeat value in Column Editor causes hang issue
Fix #15153, close #15166
2024-05-21 16:35:49 +02:00
ozone10
912c5ee300 Make english language text with colon (':') consistent
Fix #4628, close #15165
2024-05-21 14:31:40 +02:00
ozone10
ef840de150 Make top bar indicate applied tab color for unfocused view
- use new dpi scaled metrics.
- replace c-casts.

Fix #15140, close #15160
2024-05-21 00:53:32 +02:00
Don Ho
382c33e99a Prevent the division by 0 in getNbDigits function
Ref: https://github.com/notepad-plus-plus/notepad-plus-plus/pull/15152#discussion_r1605845654

Close #15157
2024-05-20 20:26:04 +02:00