Commit Graph

5278 Commits (8250a81d6e512bc46510fee8d9098c0bec99df3d)

Author SHA1 Message Date
Coises 5719558588 Fix sorting not stable issue
Use std::stable_sort instead of std::sort for column selection sorts.

Fix #12678, close #12680
2022-12-26 02:53:13 +01:00
ArkadiuszMichalski 3f0f6a2295 Fix trim operations for selection lines not working issue
Fix #12602, fix #12658, close #12655
2022-12-25 23:37:55 +01:00
ArkadiuszMichalski ad6b9085dd Fix XML tag-matching not be case-sensitive
Make XML and XHTML tag matching case-sensitive.

Fix #10011, close #12688
2022-12-25 22:49:11 +01:00
Don Ho 3d1aa408dd Enlarge items window in Preferences dialog for better translation display 2022-12-25 18:57:34 +01:00
Don Ho ac8782db13 Notepad++ 8.4.8 release 2022-12-24 20:58:03 +01:00
Don Ho 13ddc1a339 Fix changing INI styles not working regression
Fix #12696
2022-12-24 17:46:23 +01:00
Don Ho 11f7ba2e0a Fix a typo 2022-12-22 00:12:19 +01:00
Don Ho 529693a559 Add forgotten files into the binary packages 2022-12-21 23:52:53 +01:00
ozone10 caa4827e18 Fix search result not applying new theme
Fix #12588, close #12672
2022-12-20 17:51:34 +01:00
ccuser44 4ae6736c99 Update lua.xml
Remove API which doesn't belong to official LUA, add new LUA API.

Close #12657
2022-12-20 17:15:10 +01:00
ozone10 f10753d2da Make theme portable
Fix 6518f3e4b8 (commitcomment-93601484)

Close #12671
2022-12-20 15:12:53 +01:00
Don Ho 58416114da Add tabContextMenu_example.xml into binary packages 2022-12-19 03:34:24 +01:00
ozone10 3bd262c7ce Add dark autocompletion icons for dark themes
Fix #12549, close #12667
2022-12-19 00:56:57 +01:00
ozone10 be98609801 Fix autocomplete/calltip colors not applied when changing themes
Fix #12514, close #12666
2022-12-19 00:25:45 +01:00
Karlo-F 3012cb192a [xml] Update croatian.xml
Updated croatian.xml to 8.4.8.

Close #12660
2022-12-18 22:26:47 +01:00
ozone10 6518f3e4b8 Fix theme not changed issue after switching dark/light mode in some cases
1. Fix custom theme (in %APPDATA%) not changing if it is not in default theme dir (in the installation location).
2. Fix default dark theme not applied in dark mode if config is missing (For example, the 1st launch of Notepad++ after its installation).
3. Fix theme not working in cloud issue and portable mode.

Fix #6092, fix #10801, fix #12296, close #12662
2022-12-18 22:15:53 +01:00
Don Ho a0c41cc5a5 Revert "Fix Trim Operations not working on selection"
This reverts commit bf34ef0dd5 due to bug https://github.com/notepad-plus-plus/notepad-plus-plus/issues/12658
2022-12-18 21:24:24 +01:00
Edditoria 4f7f48a6af Update localization: Hong Kong Cantonese
As at commit 3fcad98 of this repo.

Close #12567
2022-12-16 17:41:21 +01:00
rddim 6a853d7f47 Update Bulgarian localization
Close #12596
2022-12-16 17:38:27 +01:00
Marcello-mco ef1cbbc7d6 [xml] Update brazilian_portuguese.xml
Close #12516
2022-12-16 14:16:48 +01:00
Don Ho 0fe063605e [xml] Add comment to help reorganizing Macro & Run menu 2022-12-16 14:11:29 +01:00
vlakoff 1a5bd265e5 [xml] Fix some enties in PHP autocompletion
Close #12641
2022-12-16 12:07:59 +01:00
yasmise 264082145a [xml] update japanese.xml to v8.4.8
Add translations for these commits:
* Add localization for Length label in the Customize Maximum Length popup (bc1487881a)
* Update localization files (11ccc415e7)
* Fix localization files (3fcad98883)
* Fix inconsistencies at OS-forced Notepad++ (v8.4.7) exit (bd4c323d75)
* Make tab context menu customizable (aa8ae48b99)

Close #12542

Also some fix to remove useless space characters.
2022-12-16 11:56:04 +01:00
ArkadiuszMichalski 901f62f948 [xml] Update polish.xml to 8.4.8
Close #12653
2022-12-16 02:50:58 +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
Hugo Carvalho 4f7ae29bfa [xml] Update portuguese.xml
Close #12599
2022-12-16 00:44:06 +01:00
ArkadiuszMichalski e45c1fc322 [xml] Fix disabled options activated in themes issue
Don't use non-working attributes for WidgetStyle in themes.

Fix #12508, close #12635
2022-12-16 00:24:27 +01:00
xomx 166b9b5c45 [xml] Update czech.xml to v848
Close #12652
2022-12-16 00:06:20 +01:00
Artem Polivanchuk 83dcf5d575 [xml] Update ukrainian.xml
Close #12276
2022-12-16 00:05:12 +01:00
schnurlos d89f338953 [xml] Update german.xml to v8.4.8
Close #12543
2022-12-16 00:02:05 +01:00
Patriccollu 1b22df5391 [xml] Update Corsican translation for Notepad++ 8.4.8
Close #12561
2022-12-15 23:59:08 +01:00
Christophe Mateos df911511ac [xml] Update french.xml
Close #12590
2022-12-15 23:56:16 +01:00
~GOLEM~ b97305517a [xml] Update russian.xml to v 8.4.8
Close #12601
2022-12-15 23:52:58 +01:00
ArkadiuszMichalski 4276165bbd Fix themes' inconsistent behaviour after saving
Don't write the fontStyle attribute in the theme if it doesn't exist.

Fix #12642, close #12644
2022-12-15 23:50:11 +01:00
kubalav 109ad868b3 Update Slovak translation
Close #12515
2022-12-15 18:13:59 +01:00
Juan be2c1bfbce Update spanish.xml to v8.4.7
Close #12573
2022-12-15 18:10:08 +01:00
Juan 9752c9e103 Update galician.xml v 8.4.7
Close #12572
2022-12-15 18:05: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 c0e2073280 Enhance Properties file: add/improve the syntax folding/highlighting
And make the description more accurate on status bar.

Ref:
3fb9c7195f (r93126447)
2022-12-15 16:21:54 +01:00
Christian Grasser fc61868cf2 Update to Scintilla 5.3.2 and Lexilla 5.2.1
update to https://www.scintilla.org/scintilla532.zip with:

    Released 6 December 2022.
    Add SCI_REPLACETARGETMINIMAL to change text without causing unchanged prefix and suffix to be marked as modified in change history.
    Draw background colour for EOL annotations with standard and boxed visuals.
    Add SCI_GETSTYLEDTEXTFULL to support 64-bit document positions on Win32 replacing SCI_GETSTYLEDTEXT which is not safe for huge documents. Feature #1455.
    Send SCN_AUTOCCOMPLETED for SCI_AUTOCSHOW triggering insertion because of SCI_AUTOCSETCHOOSESINGLE mode. Feature #1459.
    Change 'paragraph up' commands SCI_PARAUP and SCI_PARAUPEXTEND to go to the start position of the paragraph containing the caret. Only if the caret is already at the start of the paragraph will it go to the start of the previous paragraph. Bug #2363.
    Change release compilation optimization option to favour speed over space. -O2 for MSVC and -O3 for gcc and clang.
    On Win32, avoid blurry display with DirectWrite in GDI scaling mode. Bug #2344.
    On Win32, use the top-level window to find the monitor for DirectWrite rendering parameters. Temporarily switch DPI awareness to find correct monitor in GDI scaling mode. Bug #2344.
    On Qt, implement SCI_SETRECTANGULARSELECTIONMODIFIER for all platforms.
    On Qt, allow string form XPM images for SCI_REGISTERIMAGE.

and https://www.scintilla.org/lexilla521.zip with

    Released 6 December 2022.
    Update to Unicode 14. Feature #1461.
    Change default compilation optimization option to favour speed over space. -O2 for MSVC and -O3 for gcc and clang.
    Batch: Fix comments starting inside strings. Issue #115.
    F#: Lex signed numeric literals more accurately. Issue #110, Issue #111.
    F#: Add specifiers for 64-bit integer and floating point literals. Issue #112.
    Markdown: Stop styling numbers at line start in PRECHAR style. Issue #117.
    PowerShell: Recognise numeric literals more accurately. Issue #118.

Close #12624
2022-12-15 13:11:17 +01:00
Don Ho 27e19089d2 [xml] Fix xml syntax error 2022-12-15 02:08:31 +01:00
Don Ho 3fb9c7195f Add more keywords and file extentions for languages 2022-12-15 00:56:29 +01:00
Biswapriyo Nath 41ebf9a2ba Make some git related files apply to ini syntax automatically
This .gitconfig file syntax is as similar as .ini file
as documented here[1]. gitmodules[2] and gitattributes[3]
also follow same syntax. The VSCode ini extension[4]
maintain the similarities.

[1]: https://git-scm.com/docs/git-config#_configuration_file
[2]: https://www.git-scm.com/docs/gitmodules
[3]: https://www.git-scm.com/docs/gitattributes
[4]: https://github.com/microsoft/vscode/blob/main/extensions/ini/package.json

Close #12629
2022-12-14 16:54:25 +01:00
ArkadiuszMichalski bbe70f55a6 [xml][force xml] Switch to Python311-x64 and use prebuild lxml for CI 2022-12-14 16:25:23 +01:00
xomx 4f1aa7b004 Fix crash on Win32 Namespace prefixed file name
Implement support for Win32 Namespace prefixed file name in Notepad++.
(Ref: https://learn.microsoft.com/en-us/windows/win32/fileio/naming-a-file#win32-file-namespaces)

Support the Win32-filenames escaped by \\?\ or \\?\UNC\, possible globbing in filenames (\\?\C:\fil?.txt) and shell links (\\?\C:\file.txt.lnk) included.

Unsupported (temporarily - it needs further patches for Notepad++):
- any raw filename with length exceeding the MAX_PATH.
- any nonstandard Windows OS filename: with 'dot' or 'space' char(s) at the name end, WinOS reserved ones: AUX, CON, PRN, NUL, COM1-9, LPT1-9 and the ones with invalid ASCII chars in it (0-31, <, >, | , ").

Fix #12453, close #12613
2022-12-14 15:02:04 +01:00
Don Ho ee336b24c1 [xml] Add SQL unit tests
And make unit test error message more explicit.

Close #12627
2022-12-13 15:58:37 +01:00
ArkadiuszMichalski e596baad11 [xml][force xml] Optimize AppVeyor for test files
Close #12628
2022-12-12 21:01:02 +01:00
Massimo Fidanza a755c56639 Enhance SQL function list
Close #12625
2022-12-11 18:50:22 +01:00
ArkadiuszMichalski bf34ef0dd5 Fix Trim Operations not working on selection
Trim Operations works for entire document only.
Now selection for Trim Operations is supported.

Fix #12602, close #12626
2022-12-11 14:27:10 +01:00
Don Ho 4e4d9d95ce Fix delimiter selection crash issue
Fix #12384, close #12621
2022-12-10 13:15:40 +01:00