Commit Graph

3099 Commits

Author SHA1 Message Date
Scott Sumner
77d4606967
Add ability to remove any duplicate lines in a document, keeping the first occurrence
Fix #8965, close #9033
2020-10-23 16:04:34 +02:00
Don HO
6db7b94dfb
Fix a regression: not exit after saving a modified file
Fix regression due to 469fa62c0e
469fa62c0e

Fix #9045
2020-10-22 20:22:56 +02:00
Don HO
62b8d0fc8b
Fix build warning error 2020-10-22 16:02:35 +02:00
Don HO
71ae2cfce6
Fix dialogs remain issue after minimizing to systemtray
Fix #9044
2020-10-22 04:35:07 +02:00
Udo Hoffmann
41d619d9b7
Fix Floating dockable panels don't minimize to system tray issue
Fixes #8928, close #8953
2020-10-22 00:45:50 +02:00
Don HO
c0c070abaf
Split functionList.xml into multifile in "functionList" Folder
New "functionList" will be added beside of notepad++.exe or "%APPDATA%\Notepad++\", according the installation mode. If the portable package is used, after removing "doLocalConf.xml", the "functionList" folder should be copied manually from Notepad++ installed directory to "%APPDATA%\Notepad++\" to make function list work again.

All splited files are localized in this folder with the explicit language name.

"overrideMap.xml" is optional for overriding the default functionList parse rule files, and for adding UDL parse rule files.

Close #4896
2020-10-21 18:05:08 +02:00
Vladimír Kubala
c2ebb1459e
Fix missing quotation mark 2020-10-21 12:48:29 +02:00
Udo Hoffmann
0a20939334
Fix URLs losing the underlines occasionally issue
Improve URL update on resize

The reason for the effect is, that the addHotSpot calls for resizing are in the WM_SIZE of the application. This works, as long as the size of the whole application changes, but not, when the application size remains constant and only the size of the document window inside the application changes.

The solution for this is, to remove the addHotSpot calls from the WM_SIZE of the application and add them to the DocTabView::reSizeTo function instead. Since addHotSpot cannot be called directly from this function, I took the detour over NPPM_INTERNAL_UPDATECLICKABLELINKS.

Fix #9032, close #9034
2020-10-21 03:06:32 +02:00
Don HO
8c219896c5
Add Hongkonger localization into installer 2020-10-21 00:28:32 +02:00
Edditoria
875a397c14
Add Hong Kong Cantonese localization
You may see that there are some English words in it, but don't worry.
This is Hong Kong culture. Please see the README in dev repo for details:
https://github.com/Edditoria/notepad-plus-plus-localization-hong-kong

Close #9037
2020-10-20 21:47:48 +02:00
Scott Sumner
fa0ded9fed
Widen length/lines part of status bar
Fix #4157, close #8998
2020-10-18 13:30:51 +02:00
Udo Hoffmann
ecab99b600
Fix double clicking on find result line not working
"wstring::length()" returns less needed byte number because this methode consider 2 bytes character as 1 character, whereas "strlen(char*)" returns the total byte number in the char*.
Since SCI_ADDTEXT uses UTF8 char* as argument, it'll be more accurate to count the length (total byte number) with char* directly.

Fix #9009, fix #8525, close #9014
2020-10-18 02:20:08 +02:00
Vladimír Kubala
edea323333
Update Slovak translation 2020-10-17 10:39:36 +02:00
Don HO
814ecd20df
Add some explanations for showing the messages in english.xml
Add some explanations for some non-obvious items.
2020-10-17 02:16:54 +02:00
Don HO
9eecb1da13
Remove an obsolete command and its translation 2020-10-16 23:42:32 +02:00
Scott Sumner
013305f306
Add copy styled text to clipboard commands to menu
Close #8943, close #8964
2020-10-15 02:23:37 +02:00
Udo Hoffmann
e32462188d
URL parser improvements
- Removed special handling for file scheme.
- Improved handling of curly brackets.

Close #8975, close #8994
2020-10-14 23:19:21 +02:00
Don HO
469fa62c0e
Improve FileManager::saveBuffer() 2020-10-14 03:01:49 +02:00
Vince
ae2479efd3
Add Delete key to remove selected root from Folder as Workspace
Fix #8960, close #8981
2020-10-12 23:17:52 +02:00
ArkadiuszMichalski
2770539dea
Restore complex variables in strings for PHP
Bring back complex variables in strings for PHP, was removed by mistake.

Fix #5065, close #8995
2020-10-12 15:53:00 +02:00
ArkadiuszMichalski
9151d0a7dc
Add "KEY" for ini and properties files in stylers.model.xml
Lexer https://github.com/notepad-plus-plus/notepad-plus-plus/blob/master/scintilla/lexers/LexProps.cxx support style for KEY so expose it in `stylers.model.xml`.

Fix #8230, close #8968
2020-10-12 04:16:28 +02:00
Udo Hoffmann
e2a650ec10
Fix blue link-type number input boxes cut off issue
Fix blue link-type number input boxes in Preferences  cut off issue by setting sub system version numbers.

Fix #8985, fix #8144, close #8985
2020-10-12 03:49:51 +02:00
Vladimír Kubala
9d5b4182a3
Update Slovak translation 2020-10-11 10:30:20 +02:00
Pavel Nedev
a103151774
Fix NUL file-corruption bug after Windows shutdown brutally
Bypass Windows caching when flushing files after write.

According Microsoft documentation this fixes the issues with saved file corruption (all NULs)
on sudden power loss or restart.

Microsoft documentation for reference:
https://docs.microsoft.com/en-us/cpp/c-runtime-library/reference/fopen-wfopen?view=vs-2019
https://docs.microsoft.com/en-us/cpp/c-runtime-library/stream-i-o?view=vs-2019

Fix #6133, close #8952
2020-10-06 15:55:41 +02:00
Scott Sumner
8426c9ccd9
Enhance Sel info provided in main status bar
Fix #8524, close #8876
2020-10-06 04:00:25 +02:00
Vladimír Kubala
dedaac8a21
Update Slovak translation 2020-10-05 10:01:09 +02:00
Scott Sumner
bbde64c308
Add preference for save type of normal text files
Fix #8866, close #8948
2020-10-05 00:26:48 +02:00
eljefe7000
c306555db4
Fix file path truncated issue in save confirmation dialog
Fix #8812, close #8945
2020-10-04 23:00:10 +02:00
Udo Hoffmann
401bfcb0cd
Add new URL parser to replace inaccurate regex detection
Fix inaccurate URL detection and enhance URL detection for non-English character.

Fix #3912, fix #3353, fix #4643, fix #5029, fix #6155, fix #7791, fix #8634, close #8921
2020-10-04 18:42:10 +02:00
Udo Hoffmann
5aab1ddbf1
Make tray icon work again in administrator mode
Fix #8528, close #8944
2020-10-04 16:51:23 +02:00
Scott Sumner
5e632dfbef
Fix find-all-open-docs not finding all matches in ANSI files
Fix #8901, close #8914
2020-10-03 21:16:43 +02:00
Vladimír Kubala
1c9c4afe5f
Update Slovak translation 2020-10-03 09:45:51 +02:00
Scott Sumner
a08784fa43
Fix bug with smart highlight of data and end-of-file
Fix #8908, close #8911
2020-10-03 04:07:32 +02:00
Scott Sumner
9ab554a129
Add ability to copy marked text to the clipboard
Fix #6095, close #8867
2020-10-02 21:57:57 +02:00
Scott Sumner
5da0817ecb
Allow setting of background color for bookmark margin
Fix #8833, close #8874
2020-10-02 21:49:08 +02:00
jofon
139e4d4925
Fix smart-highlighting not applying to cloned view
Fixed smart-highlighting not applying to cloned view while "Highlight another view" is enabled.

Fix #7910, close #8905
2020-10-02 15:38:11 +02:00
Don HO
c94f84000b
Remove beep while ESC & TAB keystroke in Function list 2020-10-02 02:08:57 +02:00
Udo Hoffmann
fc470152e1
Remove TreeView Beep when pressing return key
Fix #8938, close #8940
2020-10-02 00:49:32 +02:00
Scott Sumner
8c1e15377f
Add missing SCI_VCHOMExxx to Shortcut Mapper
Fix #8932, close #8936
2020-10-01 22:10:41 +02:00
Vince
80d98f05b2
Add tab stops in Function List
Add tab stops in Function List to switch between search field and list.

Fix 8665, close #8924
2020-10-01 04:10:35 +02:00
Don HO
8516c7b48e
Update Spanish localization file 2020-09-30 16:05:02 +02:00
Vladimír Kubala
522b0b6b4d
Update Slovak translation 2020-09-30 09:31:07 +02:00
Don HO
bb175082d2
Fix the build error 2020-09-30 04:47:32 +02:00
Don HO
285172e36b
Make alternate icons of Tab bar changing dynamically 2020-09-30 03:33:37 +02:00
Scott Sumner
79cf60f498
Add alternative icon set for tab bar
Close #8068, close #8871
2020-09-30 03:04:06 +02:00
Vladimír Kubala
aabba6845e
Update Slovak translation 2020-09-29 11:59:17 +02:00
Vladimír Kubala
79a4183eaf
Update Slovak translation 2020-09-29 11:50:57 +02:00
Vince
aaa93025f0
Add ESC key in Function List to switch to edit window
Fix #8886, close #8890
2020-09-29 03:01:22 +02:00
Youssef Victor
de202d9a14
Add C# 9.0 keywords for auto-completion
Close #8872
2020-09-29 02:32:51 +02:00
Roshni-P
861f863ef7
Fix closing file in 2nd view not removed from Doc Switcher
Fix #8800, close #8862
2020-09-29 02:02:40 +02:00
Simon Buhrow
98c4990175
Add new VHDL-2019 keywords into langs.model.xml
Fix #8511, close #8863
2020-09-29 00:14:47 +02:00
Scott Sumner
61bf9bd3c4
Add case insensitive lines sorting
Close #4479, close #8869
2020-09-28 23:29:33 +02:00
Udo Hoffmann
1a37b64fe6
Avoid unnecessary notifications
This is an enhancement of PR #8475 which fixed (and still fixes) #8466.

It takes into account, that `WM_ACTIVATE` is not called only, when the window is being activated, but also, when the window is being **de**activated. In the latter case it is not necessary to do the activation actions.

This was pointed out to me by @Predelnik, who had a problem with the additional `SCN_UPDATEUI/SC_UPDATE_H_SCROLL` notification occurring when the window is being deactivated, see https://github.com/Predelnik/DSpellCheck/issues/221#issuecomment-696652074 for details.
2020-09-28 23:16:28 +02:00
Don HO
2f90a0de18
Update Slovenian localization file 2020-09-28 18:51:41 +02:00
Jack Tolfree
174ae29f18
Add ESC keystroke shortcut to close Search Results Window
Closes the focused Search Results Window by hitting ESC.

Close #2946, close #8898
2020-09-28 18:43:04 +02:00
Don HO
320aca73be
Add "Open Containing Folder as Workspace" command
and add this command in context menu of tabs.

Close #3028, close #8880
2020-09-28 17:57:57 +02:00
ArkadiuszMichalski
b0b119411b
Add ^data- to langs.model.xml to support data-prefixed attributes in HTML
Tip from https://sourceforge.net/p/scintilla/feature-requests/1278/.

Fix #6200, close #8895
2020-09-28 17:53:18 +02:00
Don HO
30ab547198 Notepad++ v7.9 release
Notepad++ Stand with Hong Kong edition
2020-09-28 00:48:14 +02:00
Don HO
a66e8a2646 Fix release binary name format 2020-09-24 01:36:45 +02:00
Don HO
85914b3c66
Change the package name for the future releases
Fix #5415
2020-09-23 19:32:12 +02:00
Don HO
e4d45436b4
Change the comment symbol of properties file to the standard one
Fix #8464
2020-09-23 15:58:53 +02:00
Don HO
95dec01e27
Fix 2 typos in all stylers files
Fix #3578
2020-09-20 01:54:44 +02:00
Don HO
a2264e5b36
Restore Folder as Workspace's latest selected item of last session on start up
Fix #8353
2020-09-19 00:36:03 +02:00
Don HO
f3fce2de4a
Fix Escape key on FunctionList's text field causing bell sound
https://community.notepad-plus-plus.org/topic/19995/notepad-7-9-rc?_=1600343113189
2020-09-17 13:34:18 +02:00
Scott Sumner
93ae69e92d Scroll visible area horizontally so a FindNext match is fully viewable
Fix #8804, close #8818
2020-09-14 19:33:04 +02:00
Don HO
d82aba7b0c Improve the computing of number of digit in line number margin display 2020-09-14 14:33:51 +02:00
Don HO
8e73f5d116 Simplify the logic and improve the performance 2020-09-14 14:02:07 +02:00
Don HO
fe18e41d5d Fix inaccurate line margin update with word wrap enabled
And improve the performance of line margin update.
2020-09-14 02:31:44 +02:00
Don HO
00841d5a22 Fix build warning issue by using v140_xp 2020-09-12 16:32:53 +02:00
jofon
c5e594e3ea Fix Monitoring not scrolling to the last line with word wrap enabled
Fix #8850, close #8851
2020-09-12 15:52:10 +02:00
Don HO
c607e427fc Fix auto scroll to last line after update not working
This fix comes from the suggestion of this thread:
https://github.com/notepad-plus-plus/notepad-plus-plus/pull/8782#issuecomment-690752536

Fix #8477, fix #8214
2020-09-11 16:05:06 +02:00
Don HO
009563f52d Update 2 localization files 2020-09-10 19:50:37 +02:00
schnurlos
ee3555b968 Update german.xml to v7.9
Following last commit 55d671719c

Close #8835
2020-09-10 16:02:57 +02:00
xomx
2f3594da2b Update czech.xml to v7.8.9
Close #8836
2020-09-10 16:00:25 +02:00
Bruce Yoon
f853d306e2 Update korean 7.9
Close #8837
2020-09-10 15:54:47 +02:00
Don HO
6d939d3e79 Add some languages for -L flag of command line
irish.xml, aranese.xml, extremaduran.xml, kabyle.xml, ligurian.xml and samogitian.xml are added for -L flag.

Fix #8347
2020-09-09 23:14:59 +02:00
conky77
97f5cb364f Update Venetian.xml to 7.8.10
Close #8817
2020-09-09 22:32:52 +02:00
Vladimír Kubala
8bfe6c2d58 Update slovak.xml
Close #8646
2020-09-09 18:48:19 +02:00
popcorner
736bf89f57 Update chineseSimplified.xml
Close #8766
2020-09-09 18:40:32 +02:00
~GOLEM~
87467d41f1 Update russian.xml to v7.9.0
Close #8656
2020-09-09 15:33:13 +02:00
Luca
0432e1d155 Update italian.xml
Correct some typos and position of entry 6237

Close #8543
2020-09-09 15:30:56 +02:00
Don HO
423bfcf289 Fix miss-placed Alt-F shortcut for Polish & German 2020-09-09 15:24:09 +02:00
Don HO
55d671719c Fix a shortcut causing a bug in Column editor dialog
The shortcut "&Format" in Column editor dialog is unecessary.
Furthermore, some characters 'o' are inserted in colomn mode when Alt-F is triggered (and Column editor dialog is closed).
2020-09-09 14:43:57 +02:00
ArkadiuszMichalski
d42e3c7dda Update polish.xml to 7.8.9
Update polish.xml to 7.8.9 + one small correct.

Close #8552
2020-09-09 04:48:42 +02:00
yasmise
058f7ca7de Update japanese.xml to v7.8.9
Close #8649

Follow-ups for these changes:
* Add keyboard navigation ability to Column Editor (7d289139e8)
* Add 'Searching' subpage to Preferences (84ea510b67)
2020-09-09 04:44:31 +02:00
Patriccollu
02658f1ab4 Update Corsican translation for Notepad++ 7.8.8
Close #8537
2020-09-08 23:27:19 +02:00
Tmp341
8a4f646d25 Update Turkish localization
* According to 71b98a7, 95c6d1e, 19bdbd0 and 07b2a11 commits.

Close #8590
2020-09-08 23:16:49 +02:00
rddim
56c218eb40 Update Bulgarian localization
Close #8643
2020-09-08 23:14:02 +02:00
schnurlos
281352b75d Update german.xml to 7.8.9
Close #8645
2020-09-08 23:06:35 +02:00
Christian Grasser
648e6eb891 Integrate unit-tests for function list into appveyor CI
- run unitTestLauncher.ps1 on win32 debug builds (release is not possible due to missing scintilla crypto signing)
- SciLexer.dll needs to be taken from an official build, because boost is required for functionlist to be functional
- slightly optimized test script, added timing traces

It's for #8762

Close #8816
2020-09-07 01:43:06 +02:00
Don HO
399452167f Revert "Enhance info provided in Sel portion of main status bar"
This reverts commit 4ca25503bc, due to the performance issue.
2020-09-06 03:55:10 +02:00
Scott Sumner
8f3d7c1026 Disable controls on unshown tabs of Find dialog
Fix #8696, close #8760
2020-09-05 23:16:32 +02:00
Scott Sumner
5bcbd9e5ab Add Escape keypress in functionlist searchbox clears its text
Fix #8667, close #8789
2020-09-05 18:20:25 +02:00
Scott Sumner
4ca25503bc Enhance info provided in Sel portion of main status bar
No selection:
Example: Pos : 1,234
Meaning: Single caret is at position 1233 in document (user position 1234)

Single stream selection (no change to existing behavior):
Example: Sel : 27 | 2
Meaning: 27 characters selected on 2 lines

Multiple stream selections (this PR behavior):
Example: Sel 3 : 72 | 6
Meaning: 3 selections of 72 characters on 6 lines

Rectangular selection with no virtual space in column block (this PR behavior):
Example: Sel : 2x4 = 8
Meaning: selection of 2 rows(lines) by 4 columns; 8 characters in that selection

Rectangular selection with some virtual space in column block (this PR behavior):
Example: Sel : 2x4 🡢 6
Meaning: selection of 2 rows(lines) by 4 columns; 6 real characters in that selection

Close #8524, close #8780
2020-09-05 04:04:10 +02:00
Scott Sumner
3fd3e85a54 Enable and disable controls correctly for reg exp search mode in find-in-finder
Fix #8768, close #8776
2020-09-04 19:19:23 +02:00
Roshni-P
e44ed31434
Add the ability to open the target file of a Shortcut (.lnk)
Fix #8483, close #8810
2020-09-04 14:29:39 +02:00
Udo Hoffmann
d9959c1a7c
Enhance side panels behaviour: close a single panel instead of the entire stack
Close #8471, close #8753
2020-09-03 19:36:00 +02:00
Scott Sumner
00d75495c9
Disable ClearAll in FindAllInTheseFoundResults context menu
Fix #8691, close #8742
2020-09-03 18:41:04 +02:00
eljefe7000
7c7dcd8fcc
Fix an issue in Window dialog
The bug: after closing last file opened in 2nd view in Window sialog, the last file opened in 2nd view in Notepad++ is closed, but remain in Window dialog.
This PR is a workaround solution to close Window dialog if the last document is closed.

Fix #8697, close #8721
2020-09-02 21:02:15 +02:00
Rodrigo Cesar
230c7ef235
Add "nameof" reserved word of C# in auto-completion
Close #8633
2020-09-02 01:36:48 +02:00