Commit Graph

3542 Commits (f5ea4898cf16d9187f0e8a487c7dd5423da5983f)

Author SHA1 Message Date
Vince f91246e312 Fix regression of auto-Indent
The regression is introduced by 073f0bc8c6

Fix #9113, close #9114
2020-11-06 20:42:34 +01:00
Juan Cuartas 776fa414ba
Update spanish.xml
Close #9099
2020-11-05 23:13:41 +01:00
Don HO 3657df7ebd
Fix a wrong translation 2020-11-05 21:49:13 +01:00
Don HO 8640fd6693
Move 'Normal Text' to top in Languages Menu
Fix #7746, fix #8277
2020-11-05 20:17:26 +01:00
Don HO 8207084111
Fix several bugs of PHP parser rule for function list
1. Fix the function name gets truncated issue if function starts with reserved words (ie. if, while, for, switch...).
2. Fix abstact function and classes not recognized by parser rule.
3. Fix function detection fails on string containing asterisk issue.

Contributed by @MAPJe71 & @TutoInformatik :
https://community.notepad-plus-plus.org/topic/15124/php-function-list-and-abstract-functions/18?_=1604532045222

Fix #3321, fix #5045, fix #4627, fix #4606, fix #8855, fix #4208, fix #981, fix #2522, fix #1103, fix  #4712, fix #3560, fix #5150, fix #4606, close #9102
2020-11-05 14:53:41 +01:00
Scott Sumner f5dcfc196a
Make UI text consistent regarding search results
Fix #9053, close #9061
2020-11-04 01:56:10 +01:00
Delhove Erwan 2e39525782
Fix tab close button remain pushed issue
Fix #7750, close #9062
2020-11-04 01:07:02 +01:00
Don HO 6284680e30
Update Spanish localization to v7.9.1 2020-11-03 00:39:36 +01:00
Don HO cfe3f3b64c
Make "Clipboard History" and "Character Panel" togglable
Make "Clipboard History" and "Character Panel" have the same behaviour of the other dockable panels.

Fix #9094, fix #9078, close #9096, close #9079
2020-11-02 23:38:28 +01:00
Udo Hoffmann 2aac88e3b1
Improve URL parser: fix apostrophe in an URL issue
Improve also test tool.

Fix #9031, close #9090
2020-11-02 16:00:11 +01:00
Udo Hoffmann 47419910f6
Fix crash while exit command issued by plugin
Fix #9082, close #9084
2020-11-02 15:48:26 +01:00
Scott Sumner c28116a04f
Add color samples on menu items for styling features
Fix #8983, close #9089
2020-11-02 15:15:37 +01:00
Don HO c189cc7571 Notepad++ v7.9.1 release
pour Samuel Paty
2020-11-02 01:40:33 +01:00
Scott Sumner 5965b3d352 Project structure improvement: Move TreeView files in the right place
Close #9083
2020-10-31 19:15:11 +01:00
Scott Sumner 91e3594836 Remove some unused files from project
Close #9075
2020-10-29 19:13:22 +01:00
Scott Sumner 7bcb34b848 Add some missing items to Visual Studio project
Fix #9063, close #9073
2020-10-29 14:51:13 +01:00
ekopalypse 2ff50ec9bc
Update themes to v7.9.1
Fix #9071, close #9070
2020-10-29 13:47:36 +01:00
Don HO 13d2fdadb0
Add "Bookmark margin" into GlobalStyles for all themes 2020-10-29 05:40:37 +01:00
Artem Polivanchuk 3c68f0ae26
Update ukrainian.xml
Close #8970
2020-10-28 15:05:43 +01:00
scootergrisen 5d6e5c6e9c
Update Danish translation to 7.9.1 2020-10-28 15:01:42 +01:00
Don HO 21e66936e5
Update Uzbek localization 2020-10-28 14:26:06 +01:00
Don HO 3c9d58176b
Fix the regression of mark margin colour for dark theme 2020-10-27 16:01:48 +01:00
Vince 0689a94453
Fix user set SCI_SETYCARETPOLICY erase by find result
Use SCI_SETVISIBLEPOLICY and SCI_ENSUREVISIBLEENFORCEPOLICY to replace SCI_SETYCARETPOLICY.
X and Y caret policy should be user-configurable for document navigation and the VISIBLE / ENSUREVISIBLE could be used for application / auto navigation (like re-centering a search result).

Fix #8961, close #8962
2020-10-26 19:50:47 +01:00
Delhove Erwan a2233b105d
Fix incorrect icon for monitoring status in Document list panel and in Document switcher
Fix #8783, close #9046
2020-10-26 15:28:38 +01:00
Udo Hoffmann 9cd6e6513f
Test tool to verify URL parser
Close #9059
2020-10-26 14:38:47 +01:00
Scott Sumner 210ae7e1d3
Fix Find-result rclick-Copy incomplete data bug
Fix #8801, close #8808
2020-10-26 00:11:17 +01:00
Udo Hoffmann 08190bbe96
Fix RegEx look behind operations and \A and and \b and \z
Fix #713, fix #1870, fix #2216, fix #2360, fix #9004, fix #4855, close #8926, close #9008
2020-10-25 21:23:19 +01:00
Patriccollu d62221fd7f
Update Corsican translation for Notepad++ 7.9.1
Close #8864
2020-10-24 22:36:08 +02:00
Don HO 63e10f1169
Merge branch 'patch-5' of https://github.com/kubalav/notepad-plus-plus into kubalav-patch-5 2020-10-24 22:18:59 +02:00
conky77 027ccfd8b1
Update venetian.xml
Close #8933
2020-10-24 22:16:53 +02:00
conky77 4b738ba91c
Update italian.xml
Close #8935
2020-10-24 22:08:09 +02:00
~GOLEM~ b01e3071f7
Update russian.xml to v7.9.1
- added missing lines
- fixed description of options
- fixed line length

Close #8950
2020-10-24 21:57:03 +02:00
xomx 84b81f3982
Update czech.xml to v7.9.1
Close #8967
2020-10-24 21:51:07 +02:00
Tmp341 620ee0f298
Update Turkish Localization
According to 55d6717, 320aca7, 61bf9bd, 79cf60f, 285172e, 9ab554a and bbde64c commits.

Close #9001
2020-10-24 21:46:50 +02:00
ArkadiuszMichalski b1880cde63
Update polish.xml to 7.9.1
Update polish.xml to 7.9.1 and some corrects.

Close #9057
2020-10-24 21:40:50 +02:00
schnurlos bd3e8214b9
Update german.xml to v7.9.1
Close #9022
2020-10-24 21:32:34 +02:00
Don HO e97ee70c02
Remove old markdown UDL 2020-10-24 21:12:19 +02:00
Edditoria c2159afa9d
Update markdown UDL XML file
The XML file is updated from v2.x to v3.2.0
in the commit: Edditoria/markdown-plus-plus@c137918

Also rename it shorter and starting with "m".
So users can sort their UDL file-list in tidy.

Close #9058
2020-10-24 19:47:50 +02:00
Vladimír Kubala 9bf08ce30a
Update Slovak translation 2020-10-24 08:24:44 +02:00
rddim b93f49a677
Update Bulgarian localization
Close #8946
2020-10-24 03:21:13 +02:00
yasmise a9783b741f
Update japanese.xml to v7.9.1
Close #8978

Follow up for these commits:
* Fix a shortcut causing a bug in Column editor dialog (55d671719c)
* Add "Open Containing Folder as Workspace" command (320aca73be)
* Add case insensitive lines sorting (61bf9bd3c4)
* Add alternative icon set for tab bar (79cf60f498)
* Make alternate icons of Tab bar changing dynamically (285172e36b)
* Add ability to copy marked text to the clipboard (9ab554a129)
* Add preference for save type of normal text files (bbde64c308)
* Add copy styled text to clipboard commands to menu (013305f306)
* Remove an obsolete command and its translation (9eecb1da13)
* Add ability to remove any duplicate lines... (77d4606967)
2020-10-24 03:18:56 +02:00
Vince 073f0bc8c6
Enable auto-Indent for PowerShell
Fix #9049, close #9051
2020-10-23 20:44:08 +02:00
Don HO dcc7ac5512
Update 3 localization files 2020-10-23 20:30:35 +02:00
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
Don HO 509c46b8f7 Make expected result corrected for C++ parser unit test 2020-09-01 02:36:16 +02:00
Don HO 56e4290501 Add the ability to have more than 1 unit-test per language
For function list, each language can have 2 or mor unit-test files.
The 2nd added unit-test file should be added in a sub-directory, the 3rd added unit-test file should be added into anather sub-directory, and so on.
2020-08-31 04:21:32 +02:00
Baptiste Thémine e72d4855de Update functionList.xml C++ parser
Improvements :
- add templated classes (and template-nested templated classes)
- add namespaced classes
- add classes which inherits another class without the accessibility keyword (private is optional for example)
- add classes with virtual inheritance
- add functions defined with the following keywords
  - (left) consteval|constexpr|friend|inline|static|virtual
  - (right) const|final|noexcept|override
- add functions defined with templated types (and template-nested templated types)
- add operator definitions

Close #5175
2020-08-30 18:13:23 +02:00
Don HO f3370ad46e Make Notepad++ invisible on startup while printing and unit-testing
The both flags -export=functionList & -quickPrint don't need Notepad++ GUI, so Notepad++ will start up invisiblely while one of these 2 flags is given. It doesn't prevent Notepad++ from being visible in the case of -export=functionList but this PR make unit-tests more bearable.
2020-08-29 20:20:54 +02:00
Don HO 38037035e4 Fix some Perl functions not being recognized in function list issue
Fix Perl functions without parentheses / with attributes are not recognized in function list issue.

Fix #4265, close #4266
2020-08-29 02:06:06 +02:00
Don HO f9fa72b9db Fix unit tests problem for Python 2020-08-28 23:47:29 +02:00
Don HO 71b532710f Fix Python the variable "def" not working correctly in Function List
Fix #3645, close #3672
2020-08-28 14:36:23 +02:00
Don HO fad747300a Update python unit-tests files 2020-08-28 00:18:19 +02:00
Nippur de Lagash 303874fee0 Fix Function list Python parser bad function name detection
Fix #3706, close #3790
2020-08-27 23:54:54 +02:00
Don HO 95a924f4f3 Make valid perl unit tests for function list 2020-08-27 21:17:08 +02:00
Don HO 34357a46cf Unit-tests for function-list
Close #8757, close #8762
2020-08-26 14:01:05 +02:00
Don HO a1a8b1354f Add a new easter egg. 2020-08-26 11:37:45 +02:00
Simon Buhrow ffd6bb0889 Add VHDL to functionList.xml
Add VHDL to functionList.xml supporting ENTITY, BLOCK, PROCESS, COMPONENT, ARCHITECTURE.

Close #8480, close #8509
2020-08-25 12:28:46 +02:00
Udo Hoffmann 84430809df Add back hovered blue underlined URLs
Fix #8654, close #8713
2020-08-23 12:28:14 +02:00
Don HO 30d4516d23 Fix an empty hole in Preference dialog if there's no GUP.exe
Fix #8749
2020-08-21 01:34:47 +02:00
Udo Hoffmann 0fe971ca88 Add keyboard shortcuts for switching to panels
Close #8719, close #8720
2020-08-19 02:22:43 +02:00
Scott Sumner b072479bb8 Fix column key sort with col block starting in col1 bug
Fix #8716, close #8717
2020-08-18 18:31:27 +02:00
Scott Sumner 209ccb97ec Add confirmation preference for Replace All in All Opened Documents operation
Close #8527, close #8708
2020-08-16 16:15:21 +02:00
Don HO 47bb08ee6c Add Irish localization 2020-08-16 15:23:33 +02:00
Udo Hoffmann ddd2e5fd23 Improve some ambiguous commands naming in Shortcut Mapper
Separate command shortcut names and menu names.

Fix #8689, close #8690
2020-08-15 18:44:12 +02:00
Scott Sumner 03eebf8496 Add RTL capability to localized msgbox function
Fix #8699, close #8701
2020-08-14 11:17:39 +02:00
Scott Sumner 394f762d6b Add SCI_SETCARETLINEBACKALPHA to the list of macroable commands in isMacroable function
Fix #8614, fix #5619, close #8684
2020-08-13 19:47:27 +02:00
Scott Sumner 3a2edb99c4 Add word-wrap option to find-results context menu
Close #8624, close #8681
2020-08-13 17:17:22 +02:00
Scott Sumner 7c28a120d9 Improve single-line indentation and dedentation functionality
Fix #5721, close #8623
2020-08-13 13:08:43 +02:00
Scott Sumner e0f0dc14da Update post-search tracking column for future caret offline movement
Fix #8670, close #8676
2020-08-13 00:40:06 +02:00
Scott Sumner 33f042932f Make (Find) dlgAlwaysVisible a true Preference setting
Close #7908, close #8651
2020-08-12 23:50:47 +02:00
Udo Hoffmann 783798e1ab Enable project panels toggle from menu
Close #8533
2020-08-11 00:04:16 +02:00
Udo Hoffmann a74877f262 Fix false hit result in Find-in-Finder
Fix #8435, close #8437
2020-08-10 15:54:26 +02:00
Udo Hoffmann f74e4ae159 Fix URLs not underlined immediately after copy/paste
Close #8685
2020-08-10 15:03:47 +02:00
Udo Hoffmann 6e5a2d5be2 Fix URL detecting issue
... while URL is in first line of document.

Fix #8668, close Fixes #8669
2020-08-10 04:15:33 +02:00
Don HO 1eb7d2bef5 Fix "Close all BUT this" regression
Due to commit a82819972a
2020-08-09 18:18:42 +02:00
Scott Sumner 5271b88fc3 Fix sorting by column key using incorrect key values
Fix #8674, close #8675
2020-08-09 13:44:25 +02:00
Scott Sumner ca3d514722 Add ability to sort lines randomly
Close #8682, close #8683
2020-08-09 04:19:08 +02:00
Don HO 1efac7dacb
Add a new easter egg
and tune up other easter eggs.
2020-08-07 17:38:16 +02:00
Don HO b8ee9fcc82
Add SQL keyword (ACTION) 2020-08-07 02:38:49 +02:00
Scott Sumner f1b059414b
Add an option to prevent right-click from canceling selection
Fix #8563, close  #8564
2020-08-06 20:11:10 +02:00
Scott Sumner 5ba7f99590
Add search scope to Find window status bar output
Close #8632, close #8639
2020-08-06 18:04:05 +02:00
Don HO a82819972a
Fix "Close All BUT this" looses current document data issue
If a non-existing file is open as the 1st tab (opened then file is deleted outside of Notepad++), and "Close All BUT this" is run, then current document will be closed.

Fix #8617
2020-08-05 04:49:30 +02:00
SciresM 64ba8d7855
Add some c++20 keywords to language model.
This enables syntax highlighting for keywords "concept", "consteval", "constinit", "requires".

Close #8638
2020-08-02 20:08:58 +02:00
Scott Sumner 5adb75dc89
Prevent redundant line-data copy when using Finder's rclick-Copy
Fix #8580, close #8620
2020-08-02 03:50:07 +02:00
Don HO c119dd41a2
Update French & Taiwanese Madarin translation for 84ea510b67 2020-07-30 18:24:32 +02:00
Scott Sumner 84ea510b67
Add 'Searching' subpage to Preferences for Find-Replace-Mark settings
Fix #8131, close #8541
2020-07-30 02:35:26 +02:00
Scott Sumner 7d289139e8
Add keyboard navigation ability to Column Editor
Fix #8488, close #8569
2020-07-28 19:31:05 +02:00
Scott Sumner 1182371e07
Allow user to start making a stream selection and then change to column block
Allow user to start making a stream selection and then change to column block by pressing ALT key during mouse or keyboard selection.

Fix #8555, close #8557
2020-07-28 12:03:44 +02:00
Scott Sumner 202f6de4e1
Allow 'Remove Consecutive Duplicate Lines' command to be mapped via Shortcut Mapper
Fix #8546, close #8547
2020-07-21 18:38:41 +02:00
Scott Sumner d42f13071d
Do not modify doc if sort when doc is already sorted
Fix #8558, close #8559
2020-07-20 17:13:34 +02:00
Udo Hoffmann b724a04eeb
Fix URL is opened inadvertently when clicking white space outside document
Fix #8581, close #8584
2020-07-20 14:49:06 +02:00
Don HO efd7b56af9 Make label length fit better on About box 2020-07-17 19:24:39 +02:00
Don HO 3b2d2bb300 Notepad++ v7.8.9 release
Notepad++ Stand with Hong Kong edition
2020-07-16 12:09:10 +02:00
Scott Sumner acb4e5ae18
Add ability to limit removal of consecutive duplicate lines to selected text
Fix #8459, close #8535
2020-07-08 03:52:28 +02:00
conky77 8f1b4aa6cc
Update italian.xml 7.8.7
Close #8385
2020-07-08 00:04:19 +02:00
Hiro5 e02a0c12b9
Update catalan.xml
Close #8396
2020-07-08 00:01:29 +02:00
schnurlos 745d30030f
Update german.xml to 7.8.7
Following 07b2a11 & c655a60

Close #8458
2020-07-07 23:58:53 +02:00
yasmise b538db08ae
Update japanese.xml to v7.8.8
* find-all in selected text (71b98a7a28)
* zero-length-match calltip (95c6d1ea1e)
* confirmation to Replace-in-all-opened-docs (19bdbd093c)
* Use DirectWrite (07b2a11e0a)

Close #8465
2020-07-07 23:56:16 +02:00
popcorner c9c900db5b
Update chineseSimplified.xml
Close #8491
2020-07-07 23:54:06 +02:00
conky77 3961cbc2ed
Update venetian.xml to 7.8.8
Close #8523
2020-07-07 23:27:34 +02:00
Don HO 4b8d83a8f8
Fix the regression of jump line failure via command line (-n)
This regression is due to 9387dcdaef
Fixed by using the provided solution:
https://github.com/notepad-plus-plus/notepad-plus-plus/issues/8476#issuecomment-653826008

Fix #8476, fix #8477
2020-07-07 13:00:30 +02:00
Udo Hoffmann 8920dc40be
Fix Flickering cursor after double-clicking a found line
Fix #8487, fix #8522
2020-07-04 14:14:31 +02:00
Udo Hoffmann d18faf13fc
Fix Found line may not be centered if word wrap is on
Fix #8489, close #8516
2020-07-04 03:04:14 +02:00
Scott Sumner 8b93240c59
Fix condition where Join Lines does one too many lines
Fix #8503, close #8506
2020-07-02 18:10:53 +02:00
Scott Sumner 4bf662d031
Fix condition where Split Lines does one too many lines
Fix #8504, close #8507
2020-07-02 18:05:27 +02:00
Udo Hoffmann b935bc6bf3
Fix URL is not clickable in certain stuation while wrapped is enabled
Fix #5503, close #8467
2020-07-01 01:04:12 +02:00
Scott Sumner 5a2cabf14e
Fix stream sort of selected text doing one too many lines
Fix #8447, close #8453
2020-06-30 21:33:55 +02:00
Udo Hoffmann 267da64d33
Fix wrong horizontal scroll bar position after restoring Window position
Fix #8466, close #8475
2020-06-30 20:58:15 +02:00
Scott Sumner 53b03cc5c5
Fix Find-result window output tab-width incoherent issue
Hard-set tab-width in Find-result window to 4.

Fix #8406, close #8499
2020-06-30 19:52:32 +02:00
Simon Buhrow 7bdb3706f9
Add "COMMENT LINE BANG" for VHDL
Close #8500
2020-06-30 19:46:22 +02:00
Udo Hoffmann 5e2e167d3e
Fix Save function in Windows dialog
Fix #8455, close #8478
2020-06-30 19:39:33 +02:00
Don HO 930873a957
Update Spanish localization 2020-06-30 13:38:59 +02:00
Udo Hoffmann 3315303050
Fix URL Hovered colour disappears after modifying any Clickable Link Settings regression
Fix #8493, close #8496
2020-06-30 03:13:16 +02:00
Don HO 26d360dd9e Notepad++ 7.8.8 release 2020-06-28 17:17:49 +02:00
~GOLEM~ 1314af7d6f
Fix russian.xml for v7.8.7
Little fix
Added future line 6349

Close #8390
2020-06-23 20:40:33 +02:00
rddim 8e73a728b6
Update Bulgarian localization
Close #8411
2020-06-23 20:36:25 +02:00
Don HO 584b3fead4
Add "URL Hovered" style for themes 2020-06-23 12:18:44 +02:00
Don HO 07b2a11e0a
Add a new translation unit 2020-06-23 03:25:02 +02:00
Don HO c655a605a7
Update French and Taiwanese Mandarin localization files
According 19bdbd093c and 95c6d1ea1e
2020-06-23 02:52:18 +02:00
Scott Sumner 4e4e40c338
Allow scope of Remove Empty Lines to be limited by an active selection
Close #8428, close #8429
2020-06-22 23:34:43 +02:00
Scott Sumner d13795a37a
Fix wrong treatment of backslashes as escape sequences in autocompletion
Change autocomplete to not use regex mode replacement.

Fix #8397, close #8440
2020-06-22 22:37:14 +02:00
Scott Sumner 19bdbd093c
Add confirmation prompt to Replace-in-all-opened-docs command
Fix #5253, fix #8432, close #8438
2020-06-21 21:35:58 +02:00
Don HO 68d66a560c
Fix compiling warning 2020-06-21 05:15:41 +02:00
Don HO c5a0ed7c1a
Fix accented characters not found in "find in files" issues
Fix accented characters in ANSI files not found in "find in files" and "replace in files" commands issues.
This regression (in v7.7 from v7.6.6) is due to the upgrade of Scintilla from v3.56 to v4.14.

Fix #5825, fix #5830, fix #7668, fix #7773
2020-06-21 02:14:44 +02:00
Udo Hoffmann f7efc2abc0
Fix the focus not on the opening new file issue
Move focus to edit window when opening a new file.

Fix #8426, close #8442
2020-06-20 16:28:53 +02:00
Udo Hoffmann 6f09695c2d
Fix three small focus issues
Fix #8419, close #8420
2020-06-19 01:16:19 +02:00
Scott Sumner 95c6d1ea1e
Make regex zero-length-match calltip transatable
Close #8393, close #8414
2020-06-17 20:21:54 +02:00
Don HO abadbc6b21
Remove outdated comment 2020-06-17 03:00:24 +02:00
Udo Hoffmann f657618887
Fix URL underline always black, invisible in dark themes
Fix #8405, close #8409
2020-06-16 21:02:52 +02:00
Stefan Lederer fb5c30002f
Add Ctrl+Backspace ability to delete word for comboboxes in Find dialog
Close #8363, close #3809, close #8383
2020-06-16 03:01:37 +02:00
Scott Sumner 71b98a7a28
Add ability to find-all in selected text
Fix #7927, close #8133, close #8213, close #5089, close #8413
2020-06-16 01:39:19 +02:00
Udo Hoffmann 87dc9cc5d2
Fix Load project file by dragging doesn't work
Make workspace (project) & session xml setting files consistent while their file extensions are defined in Preferences dialog:
1. If I specify a session file in the command line (, or if I double-click a session file in the Explorer), not the session file itself is opened, but the session stored in it.
2. If I specify a workspace file in the command line (, or if I double-click a workspace file in the Explorer), not the workspace file itself is opened, but the Project Panel 1 switches to the specified workspace file.
3. If I specify a session file in the `File` menu `Open Ctrl-O`, not the session file itself is opened, but the session stored in it.
4. If I specify a workspace file in the `File` menu `Open Ctrl-O`, not the workspace file itself is opened, but the Project Panel 1 switches to the specified workspace file.
5. If I drag a session file to Npp, not the session file itself is opened, but the session stored in it.
6. If I drag a workspace file to Npp, not the workspace file itself is opened, but the Project Panel 1 switches to the specified workspace file.

That means that once an user extension is defined for these 2 types of file, Notepad++ stores only the session or the workspace but not opens the file itself. The session and workspace setting files are not supposed to be edited manually.

If a defined conflict happens (for example, a non session or workspace setting file with the defined extension), user can always remove the defined extension from Preferences dialog temporarily to open it.

cherry picked from commit 70e746b7a8fe44c9a1e724581ceb3b457138a474

Close #8374, fix #8324
2020-06-15 16:45:39 +02:00
Udo Hoffmann 58ded005bd
Fix Folder As Workspace double clicking issue
Fix input focus not in edit window after double click in Project or Folder As Workspace.

Fix #4656, fix #8361, close #8369
2020-06-14 01:59:09 +02:00
Udo Hoffmann 5e76ba238e
Fix function list focus problem on double clicking
Change focus to edit window after activating function in function list

Fix #4356, close #8370
2020-06-13 17:40:07 +02:00
Don HO 8bbe8c571f
Update Slovenian localization 2020-06-13 04:58:21 +02:00
Udo Hoffmann 0a821b60e2
Add an option to improve rendering special Unicode characters
... by using Scintilla's DirectWrite technology.
It allows ligature support if the font needed (for exemple "Fira Code") is installed.

Fix #2287, close #8326
Fix #442, fix #675, fix #813, fix #870, fix #1621, fix #3458, fix #4056, fix #4086, fix #4490, fix #8305
2020-06-12 19:16:39 +02:00
Don HO 723a555884
Update Spanish localization 2020-06-12 04:54:25 +02:00
Don HO 97a6862d82
Remove outdated quotes 2020-06-11 02:40:14 +02:00
Udo Hoffmann 6602840117
Fix block selection cursor position after TAB
Fix #8400, close #8402
2020-06-11 02:27:36 +02:00
Don HO b9c526dfcb Notepad++ 7.8.7 release 2020-06-09 00:02:00 +02:00
Don HO 5e262c8122
Add an non-UI option to allow regEx backward search
Set "regexBackward4PowerUser" to "yes" in config.xml to eanable this option.
2020-06-05 00:56:25 +02:00
ArkadiuszMichalski 766a380325
Update polish.xml to 7.8.7
Add missing translations from the latest version 7.8.7, some cleanup and fix https://github.com/notepad-plus-plus/notepad-plus-plus/issues/7903.

Close #8367
2020-06-04 17:50:28 +02:00
PeterCJ 18105aa882
Make cpp the first extension for C++
Since save-as appends the first extension from the list to all files, the first extension for C++ should be cpp, not h

Close #8368
2020-06-04 17:42:01 +02:00
Artem Polivanchuk a28dcb56ec
Update belarusian.xml (7.8.7)
Close #8360
2020-06-03 15:03:29 +02:00
conky77 aec68999b2
Update venetian.xml
Close #8365
2020-06-03 14:57:36 +02:00
Don HO 69ef27b654
Improve new style save file dialog
The right file extension (which correspond to document type) is selected while saving a new file in the new style save file dialog.
2020-06-03 14:32:43 +02:00
Don HO fa51c2af6e
Make URL hover foreground colour work again 2020-06-03 01:57:12 +02:00
Don HO c1d7898c24
Update belarusian.xml 2020-06-01 17:20:15 +02:00
Artem Polivanchuk 42c89df517
Update belarusian.xml
Close #8163
2020-06-01 16:57:24 +02:00
Udo Hoffmann c891c593d3
Fix clickable link regression
Fix #8354, close #8355
2020-06-01 14:03:25 +02:00
Don HO fce153a5fe Fix x86 build error 2020-05-31 12:21:59 +02:00
Don HO a49f027195
Mutual Recursion
The creation of Notepad++ is due to my need for a decent editor to edit the source code of Notepad++
2020-05-30 23:37:01 +02:00
Don HO d4124108bc
Enhance Save file dialog
Make file extensions shorter in the file extension list for Save file dialog, so it displays more nicely while user clicking the drop down commbobox.
2020-05-30 18:40:57 +02:00
schnurlos a8bde7fdaf
Update german.xml to 7.8.6
Close #8113
2020-05-29 22:51:16 +02:00
Udo Hoffmann f821f73110
Fix Document Map regression under Windows 7
Fix #8335, close #8336
2020-05-29 19:54:39 +02:00
Udo Hoffmann b73721f0b4
Add sub-menu bullets for cascaded Encoding and Language menus
Fix #8327, close #8328
2020-05-29 02:56:41 +02:00
yasmise 9b36ba102a
Update japanese.xml to v7.8.7
Close #8194
2020-05-29 00:05:58 +02:00
Scott Sumner 7cf43795ac
Add right-click context menu to bookmark margin
Close #8319, close #8320
2020-05-28 19:18:08 +02:00
Patriccollu 24252c02e1
Update Corsican translation for Notepad++ 7.8.7
Close #8334
2020-05-28 18:15:31 +02:00
Vladimír Kubala 9f1455a5ae
Update slovak.xml
Close #8332
2020-05-28 17:11:03 +02:00
xomx dbf14b80ad
Update Czech translation to v7.8.6
Close #8164
2020-05-28 00:42:05 +02:00
rddim e8873823e1
Update Bulgarian localization
Close #8192
2020-05-28 00:38:27 +02:00
Waldi Ravens f938bcbb43
Update dutch.xml to 7.8.7
Close #8205
2020-05-27 20:44:00 +02:00
Tmp341 4fbdaa256a
Update Turkish Localization
Updated according to 924e4b2, 2b345c8, f637901, 2b713fb and 5a95153 commits. Hope nothing missed.

Close #8272

Btw, ``<replace-in-files-confirm-filetype value="For file type :"/>`` is that file type means like ``txt`` or ``type this``?
2020-05-27 20:36:25 +02:00
~GOLEM~ 64229ee003
Update russian.xml
Close #8259
2020-05-27 20:26:43 +02:00
Artem Polivanchuk 51518aeca9
Update ukrainian.xml
Close #8135
2020-05-27 20:22:18 +02:00
Udo Hoffmann aba75b5643
Automatic file extensions for session/workspace while opening
Close #8317
2020-05-27 19:19:20 +02:00
Don HO e9e9e8daa9
Remove Irish translation due to its bad quality
Please check:
https://github.com/notepad-plus-plus/notepad-plus-plus/pull/8273
2020-05-26 18:53:30 +02:00
Udo Hoffmann 3f0627b75f
Display file name as root of workspace instead of "Workspace"
Close #8314, close #8315
2020-05-26 17:52:38 +02:00
Don HO b037bb5c95
Update Slovenian localization file 2020-05-26 17:20:15 +02:00
Don HO 93f7853333
Update a checkbox label and its translations 2020-05-26 05:12:42 +02:00
Udo Hoffmann edd746d310
Improve save (new style) dialog by adding file extension automatically
1. Add file extension automatically while changing file type via combobox in new style dialog.
2. Add file extension automatically for session files and workspace files while saving in new style dialog.

Fix #4876, close #8311, close #8312
2020-05-26 02:45:41 +02:00
Udo Hoffmann bb6b24ce50
Improve Document Map precision
Fix #8294, close #8295
2020-05-24 21:36:13 +02:00
Udo Hoffmann cf2175e479
Fix wrong project panel at start by openning a project via command line
Fix #8126, close #8161
2020-05-23 20:04:23 +02:00
Udo Hoffmann 3a9a31afb4
Include current ANSI codepage into debug information
Close #8303, close #8306
2020-05-23 19:38:22 +02:00
Udo Hoffmann e27d1a94c9
Prevent suggestion of autocompletion while word modifying
Fix #330, close #8297
2020-05-21 19:57:04 +02:00
Udo Hoffmann 80c8ee59c9
Fix current range of the Document Map sticking on mouse pointer after resizing Document Map window issue
Fix Mouse remains in clicked state after resizing docked windows:

The reason for the effect is the mouse hook procedure, which seems to be quite obsolete in contemporary systems: it catches the mouse messages and posts them a second time to the same window. I assume, that was ment to speed up the shifting of the splitters on "prehistoric systems" (That's what you call every system not supporting transparent windows). I see no regression without this hook.

What happens is, the hook catches the WM_LBUTTONUP message and posts it to DockingSplitter::runProc. Here, the hook is released and ReleaseCapture() is called. All fine.

But Windows fails to update its internal key state, when the WM_LBUTTONUP comes as an posted-by-a-hook message. So, if you call GetKeyState(VK_LBUTTON) after ReleaseCapture() in the original code, then it is still in a pressed state. Which confuses the Document Map later.

Fix #8285, close #8286
2020-05-19 16:36:40 +02:00
Udo Hoffmann 7bfaa042b9
Fix Document map overlay stuck to first monitor
This PR fixes the following effects:
1. Document map overlay remains visible after minimize to tray.
2. Document map overlay is left behind on current monitor after moving Npp with Windows+Shift+Arrow to another monitor.
3. Document map overlay escapes to another monitor without Npp, when Windows+Shift+Arrow is pressed while the input focus is at the document map.

Fix #1317, close #8280
2020-05-18 19:55:29 +02:00
Udo Hoffmann 08c11816ce
Fix Document Map shows on all virtual desktops issue
Fix #1247, close #8271
2020-05-18 04:43:33 +02:00
dimon4eg a42c1674e9
Fix file reading failure (network problem) not detected issue
The current bug: the unconnected network or USB drive while loading a file from it is not detected. As a result Notepad++ opens an empty or uncomplete document.
This commit fix it by not opening anything and showing error box, if file reading fails.

Fix #3381, close #8267
2020-05-17 17:40:58 +02:00
Scott Sumner 4003d6d923
Disallow backward regex searches due to sometimes surprising results
The full story, debated before, is that regular expression searching in a backward direction from the caret position causes matches that the user does not expect. The best thing that was decided to do (group decision) is to fully disable upward searching.

Fix #3640, close #8269
2020-05-15 20:35:54 +02:00
Udo Hoffmann 4738c96318
Fix clickable links break syntax highlighting issue
By using indicators instead of stylers to make code shorter and cleaner.

Fix #999, close #8263
2020-05-15 17:49:23 +02:00
Scott Sumner 9f29015a71
Allow user to skip *.* when adding only excluding Filters for Find/Replace In Files
Close #8169, close #8255
2020-05-15 01:27:11 +02:00
Don HO 920fc5c3d3
Add a new theme in installer 2020-05-14 01:06:14 +02:00
Franck ALBARET bdb9b28429
Add new DansLeRuSH dark theme
Close #8252
2020-05-14 00:24:18 +02:00
Don HO 5a951531ad
Disable RegExpr up direction search 2020-05-12 04:40:40 +02:00
Don HO 2b713fb75b
Reword some labels in Find & Replace Dialog
Close #4283
2020-05-11 18:28:28 +02:00
Don HO c4851a49ab
Fix a grammatical error 2020-05-11 05:40:09 +02:00
Don HO 0768047941
Fix a typo
Close #8250
2020-05-11 05:26:26 +02:00
PeterCJ 801a3f5845
Update perl keywords & auto-completion API
Update list through Perl v5.30

Close #8198
2020-05-11 05:00:29 +02:00
Waldi Ravens 6b51bb464a
Fix incorrect macro name
Close #8246
2020-05-11 04:54:57 +02:00
Don HO ade01204c8
Fix minor coding error & remove unused variables 2020-05-10 05:19:08 +02:00
Udo Hoffmann c80a5c13f1
Fix Doc switcher icon state update issue for cloned documents
Fix #8067, close #8231
2020-05-09 18:17:17 +02:00
Don HO 8917d42e65
Merge branch 'ctrlm_invokes_mark_dialog_6022' of https://github.com/sasumner/notepad-plus-plus into sasumner-ctrlm_invokes_mark_dialog_6022 2020-05-08 18:47:00 +02:00
Don HO de6eb92c5a
Found out the author of security advice of the previous commit 2020-05-07 20:51:21 +02:00
Don HO 8a60000936
Add a security advice. 2020-05-07 19:38:57 +02:00
Don HO f637901db5
Fix a typo error in english.xml 2020-05-06 03:48:54 +02:00
Scott Sumner ef2b5880d3 Assign ctrlm as default shortcut for invoking mark dialog 2020-05-05 15:19:52 -04:00
Don HO 2b345c8f39
Make Find result panel translatable
Fix also a folding visual glitchy in Find result.
2020-05-05 01:37:47 +02:00
Scott Sumner 9f23e1aadb
Add count of files searched to 'Find result' output
Close #3980, close #8154
2020-05-02 18:40:44 +02:00
Don HO 85c0b3d692
Update French & Taiwanese Mandarin translation
according 924e4b23fe
2020-04-30 07:56:49 +02:00
Scott Sumner 924e4b23fe
Make ReplaceInFiles confirmation prompt translation capable
Close #8139, close #8165
2020-04-30 07:17:51 +02:00
Scott Sumner fbf6668a80
Fix Find/Replace history lost issue
Retain find history if config file value set too large

Fix #323, close #8168
2020-04-30 06:39:36 +02:00
Scott Sumner 4be846e7ea
Fix bug of Mark clearing in selection mode
Fix bug of Mark clearing nothing or too much when clearing marking in selected text.

Fix #8150, close #8151
2020-04-29 19:37:00 +02:00
Simon Buhrow d20e11b93a
Update langs.model.xml to support VHDL-2008
Added the new keywords and standard functions introduced in VHDL-2008.
https://www.doulos.com/knowhow/vhdl_designers_guide/vhdl_2008/vhdl_200x_small/#env

Fix #8098, close #8157
2020-04-29 18:58:57 +02:00
Don HO d05bf63840
Add Nepali localization 2020-04-29 02:34:27 +02:00
Don HO 66c882a6d5
Add 2 funny quotes 2020-04-28 17:41:35 +02:00
Don HO 9ec6b58bd1 Notepad++ 7.8.6 release 2020-04-21 18:14:58 +02:00
Don HO 0323ed3425 Revert "Change the icon in About box"
Due to the mysterious reason, change the icon in About box makes application icon display incorrectly (in explorer & on taskbar).

This reverts commit 3a46a6c23d.
2020-04-21 14:49:58 +02:00
Don HO 126b55b064
Fix a minor bug for vertical edge 2020-04-18 20:59:45 +02:00
Don HO 3a46a6c23d
Change the icon in About box 2020-04-17 23:56:27 +02:00
rddim 01d82bf57c
Update Bulgarian localization
Close #8118
2020-04-17 23:26:44 +02:00
Don HO 78d42fbd2d
Update localization files 2020-04-17 22:23:36 +02:00
Don HO 40b8666392
Update localization files
Update localization files due to c3ec0cbf6e
2020-04-17 22:11:47 +02:00
Don HO 3474b8b11e
Update localization for fixing the incorrect removal 2020-04-17 21:03:45 +02:00
Scott Sumner 73f5492d04
Fix strncmp return type and first parameter
Fix #8117, close #8119
2020-04-17 19:29:58 +02:00
Don HO ffda03c41c
Update localization files 2020-04-17 16:51:02 +02:00
Don HO c3ec0cbf6e
Make vertical edge (column marker) usage easier
Simplify the UI to make vertical edge easy to use.
2020-04-17 16:20:34 +02:00
Don HO 905feb8dd8
Fix vertical edge mode problem
Fix the problem that edge is still displayed after disabling edge mode.
2020-04-16 03:25:57 +02:00
Don HO 8a37faa704 Fix typos 2020-04-14 22:28:16 +02:00
Tmp341 4dbe7b78ff
Update Turkish localization
Close #8014
2020-04-14 17:58:44 +02:00
yasmise ce964e5550
Update japanese.xml to v7.8.6
Close #8016
2020-04-14 17:56:21 +02:00
Waldi Ravens f09a5fd0c3
Update dutch.xml to 7.8.6
Close #8018
2020-04-14 17:53:40 +02:00
Vladimír Kubala bc2afd8fca
Update slovak.xml
Translated new strings, fixed typos, made some little changes.

Close #8029
2020-04-14 17:51:07 +02:00
~GOLEM~ f1ebf8c404
Update russian.xml to v7.8.6
Close #8044
2020-04-14 17:34:34 +02:00
conky77 6ac1a24f21
Update venetian.xml
Close #8003
2020-04-14 13:26:52 +02:00
popcorner edfd1f687f
Update chineseSimplified.xml
Close #8039
2020-04-14 13:22:35 +02:00
appelgran b693be75ac
Added powershell styles for Monokai theme
Close #8041
2020-04-14 04:57:33 +02:00
b9a1 bbb5798569
Add C language keywords
Close #8024
2020-04-14 04:50:24 +02:00
Gitoffthelawn 8862042bfb
Updated CSS Keywords
I recently went through a bunch of my own source code as well as about half of Mozilla's source code for Firefox.  As I found CSS keywords that were not included in Notepad++, I added them locally.
I then merged them with existing keywords, and sorted the combined list alphabetically.
The result is reflected in this pull request.
I hope it helps you and others.

Close #8028
2020-04-14 04:40:37 +02:00
Don HO 5483ad13d0
Update Englsh, French and Taiwanese Mandarin localization
For new feature "Multi-line edge".

Close #8107
2020-04-13 18:34:03 +02:00
Don HO cc2c9b7740
Implement multi-line edge feature
Close #3128
2020-04-13 04:15:32 +02:00
Don HO bf2cd8e05a
Changes localization file name "chinese.xml" to "taiwaneseMandarin.xml"
Saying Taiwan is part of China is like saying Java is part of JavaScript.
2020-04-09 00:11:11 +02:00
Don HO a09c0a17db
Fix folding state lost on the next starup issue
Any setting other than the default setting "for new opened document - UTF8 apply to opened ansi files" will cause C/C++ and other some languages (not for xml though) folding lost on startup.

Fix #4103
2020-04-08 17:22:44 +02:00
Don HO 3de506bf48
Update copyright
Close #5919
2020-04-04 23:03:18 +02:00
Don HO fc371a1ffe
Remove invald shortcut in Find dialog
"&R" keyboard shortcut for "Replace in Files" is in conflict with one for "Replace", and there's no more available shorcut for "Replace in Files". So let's just remove this useless shortcut.

Fix #3539
2020-04-01 05:11:57 +02:00
Don HO ae6765372f
Change shortcut key of "Save All" to prevent from the duplication
Fix #3336
2020-04-01 04:04:57 +02:00
Don HO 3a8b744dfe
Folder as Workspace: Add dynamical sorting feature
Fix #1541
2020-03-28 04:54:21 +01:00
Don HO cb8fd0c438
TreeView refactoring
Shift the allocation of TreeView item's "lParam" member from TreeView class to the derived class, so "lParam" could be the pointer of anything, not necessary anymore the string pointer.
2020-03-27 13:05:54 +01:00
Scott Sumner 13f0717a1b
Improve compatibility for IDC_FINDNEXT and IDC_FINDPREV macros
Close #8064, close #8065
2020-03-26 15:10:15 +01:00
Don HO 585cc27b1f
Make TreeView sorting unrecursivable
And update coding style.
2020-03-26 14:54:04 +01:00
Don HO 0c80bf8cb9
Apply the better style on previous commit 2020-03-22 05:21:31 +01:00
Scott Sumner d36ea6124a
Editing tab closure activates MRU tab instead of rightmost tab, if MRU behaviour enabled
MRU = Most Recently Used/Active
Thanks to gstavi's patch:
https://github.com/gstavi/npp/blob/master/patch/0005-Use-MRU-when-choosing-new-file-to-activate-after-clo.patch

Close #885, close #8059
2020-03-22 04:54:30 +01:00
Don HO 3ca82bebf1
Make retro-compatible to 7.8.4 and older versions for recorded macro
In the following commit (521ff86665) IDC_FINDNEXT & IDC_FINDPREV are removed from macro record and play. This change broke old macro playing if IDC_FINDNEXT or IDC_FINDPREV was recorded in the macro:
https://community.notepad-plus-plus.org/topic/19011/notepad-v7-8-5-released

Adding IDC_FINDNEXT or IDC_FINDPREV & making them treated as IDOK make fix this broken issue.
2020-03-17 02:52:00 +01:00
Don HO 2f9f395eff
Fix Chinese translation order issue 2020-03-10 04:59:15 +01:00
Don HO c6fdb89f88
Add support of smart-indenting for Perl and Rust
Close #7980, fix #7958, fix #7961
2020-03-10 03:49:51 +01:00
Scott Sumner b5bd5bb026
Make Replace-in-Files confirmation dialog modal
In order to prevent from crashing

Fix #7995, close #8022
2020-03-09 21:03:04 +01:00
Don HO 32fc08c7e8 Notepad++ 7.8.5 release 2020-03-06 01:18:44 +01:00
Don HO 5c7660b7b9
Fix inaccurate sorting result in Windows dialog
Both sorting results of size & type columns in Windows dialog were incorrect.
Now they are fixed.
2020-03-04 10:45:34 +01:00
schnurlos b645875196 Update german.xml
Following eb6da8195b

Close #7993
2020-03-03 03:25:58 +01:00
conky77 ae96df5f9f Update Venetian translation
Close #7994
2020-03-03 03:23:10 +01:00
rddim f98667d5ee Update Bulgarian localization
Close #8001
2020-03-03 03:20:26 +01:00
Don HO eb6da8195b
Fix new added size info translation issue in Windows dialog 2020-03-01 03:01:42 +01:00
Don HO 5f34579008 Enlarge 2 last columns in Windows Select dialog 2020-02-28 18:52:56 +01:00
eljefe7000 b9af79f86c Add the document size column to the Windows Selection dialog
Close #7905, close #7971
2020-02-28 18:48:12 +01:00
nulLeeKH e9b0cfedfd
Update Korean translation
[FIX] Apply opinions of issue #7979 in korean.xml - 1

Close #7982
2020-02-27 18:53:01 +01:00
Scott Sumner 521ff86665
Remove unneeded IDC_FINDPREV and IDC_FINDNEXT from macros
Fix #7928, close #7976
2020-02-26 22:26:20 +01:00
Don HO 40b49d0b66
Make better variable names & coding style 2020-02-26 01:37:00 +01:00
Jorge Rocha Gualtieri 66893f980f
Fix "Monitoring" not detecting all file changes issue
This patch adds an active monitor to detect changes on files since Windows isn't honoring FILE_NOTIFY_CHANGE_SIZE or FILE_NOTIFY_CHANGE_LAST_WRITE on ReadDirectoryChangesW correctly if the file writer keep it opened.
This solution is based on GNU tail for Windows does. It does it at
static void tail_forever (struct File_spec *f, int nfiles, double sleep_interval) on tail.c.

Fix #3142, fix #4955, fix #4527, close #7969
2020-02-25 22:16:57 +01:00
Don HO e309ec23ec
Fix duplicate names in stylers.model.xml
Fix #7965
2020-02-25 02:28:43 +01:00
Scott Sumner 8de226dca7
Make view-in-browser commands macro recordable
Fix #7851, close #7975
2020-02-24 23:33:40 +01:00
Don HO 62efa463b0 Fix Notepad++ doesn't exit correctly while Windows 10 update restart
If Windows 10 update needs to restart, and Notepad++ has one (some) dirty document(s), and "Enable session snapshot and periodic backup" is not enabled, then WM_ENDSESSION is send with wParam == FALSE, not waiting for WM_QUERYENDSESSION's treatment finish. In this case Notepad++ should quit after saving its current session.

Fix #6086, fix #5831, fix #7854
2020-02-24 03:57:15 +01:00
pan93412 4d5abdf1c8 Make some Chinese translation more accurate
Close #7954
2020-02-20 16:54:53 +01:00
Hen Ry 7c40030a10 Fix an entry in german.xml
Close #7953
2020-02-20 15:46:55 +01:00
Don HO cfa3041c4d
Enhancement of preventing from null pointer exception of localtime
Fix #7952
2020-02-18 05:14:21 +01:00
Scott Sumner d3cb2ceb36
Add external sound control capability for unsuccessful search bell
Fix #7950, close #7951
2020-02-17 03:37:18 +01:00
Don HO 1c55e0daa7
Fix loading localization file (-L) not working regression 2020-02-15 04:52:46 +01:00
Don HO f3261f8620
Fix auto-updater disabling not working
Fix #5375
2020-02-14 01:33:16 +01:00
Scott Sumner 4eac7d8e94
Make Count command respect Backward-direction and Wrap-around options
Fix #7876, close #7917
2020-02-09 19:19:33 +01:00
Scott Sumner 4cc6215e63
Implement issue 905 to make Find window remember its position across runs
Close #905, close #7898
2020-02-07 23:31:29 +01:00
gnodarse fcf00c7f53
Fix broken link
Close #7919
2020-02-06 13:14:01 +01:00
conky77 3491d3f3ed
Fix Venetian translation
Close #7912
2020-02-06 13:08:20 +01:00
Byungjo 33a8fc86a0
Update korean
Close #7846
2020-02-06 02:06:45 +01:00
Timmy Almroth 5512b90dad
Update Swedish localization
Close #7893
2020-02-06 01:47:23 +01:00
György Bata bfa9eb69a4
Hungarian translation update for 7.8.4
Close #7907
2020-02-05 14:45:22 +01:00
Don HO a6b02b5803
Add a quote from Alexandria Ocasio-Cortez
"No one ever makes a billion dollars.
You TAKE a billion dollars."
2020-02-01 09:56:22 +01:00
Don HO 401360912b
Update irish.xml 2020-01-31 10:21:07 +01:00
Don HO 5c069cfa24
Add Irish localization file 2020-01-31 03:13:36 +01:00
Don HO c2c94b9855
Update Slovenian and Spanish localization files 2020-01-31 02:35:40 +01:00
Don HO 1eb5f43886 Notepad++ release 7.8.4 2020-01-30 02:07:41 +01:00
Don HO 6e6341cc61
Make some codes conform to the defined coding style 2020-01-28 02:20:44 +01:00
Don HO 230cd415dd Merge branch 'master' of https://github.com/notepad-plus-plus/notepad-plus-plus 2020-01-27 10:45:25 +01:00
Waldi Ravens 0db5b6d3d8 Fix HashFromDlg title bar localization issue
Fix #7884, close #7885
2020-01-27 10:36:07 +01:00
conky77 1c786b6ccc
Update Venetian translation 7.8.3
Close #7842
2020-01-26 02:28:44 +01:00
Hélio de Souza c8e51af305 Update brazilian_portuguese.xml
Close #7891
2020-01-24 18:28:34 +01:00
Tmp341 d9dbe08ef1 Update Turkish localization
* According to 6c591cb commit.

Close #7848
2020-01-24 13:44:02 +01:00
Cezariusz Marek 3b0fcb96c3 Update polish.xml
Add missing translations from the latest version.

Close #7840
2020-01-24 13:41:34 +01:00
schnurlos 331d2f7d22 Update german.xml
Close #7847
2020-01-24 13:27:02 +01:00
Martin Darebný 21fba0f742 Update czech.xml translation
Close #7881
2020-01-24 13:20:08 +01:00
Don HO 87c4bb348b Update english_customizable.xml 2020-01-24 10:07:00 +01:00
Christophe Meriaux 5d1dcc1253 Fix regression of double clicking a found in files result while Word-Wrap is on
Regression: Double click a found in files result while Word-Wrap is on, if file hasn't been opened, then file will be opened but Notepad++ doesn't go to the found word position.

Fix #7865, close #7872
2020-01-23 13:40:32 +01:00
Don HO 8fdfc4c2ac Notepad++ release 7.8.3 2020-01-15 22:56:55 +01:00
Don HO 648889dcb7 Remove a warning of compiling 2020-01-12 19:35:38 +01:00
Waldi Ravens 2d35273f34
Update localization files (move Item 6115)
Completes commit a1d048fdd9

Close #7785
2020-01-11 12:04:06 +01:00
knowyourway 222b30a694
Update polish.xml
Fixed some typos and add new entries.

Close #7815
2020-01-10 23:35:40 +01:00
Cezariusz Marek cce217acbb
Update polish.xml
Add key shortcuts in Polish translation of Save or not dialog

Close #7804
2020-01-10 23:28:44 +01:00
Bruce Yoon 0732fa8f76
Update korean
Close #7797
2020-01-10 23:21:04 +01:00
Hiro5 ac2fb5c035
Update catalan.xml
Close #7710
2020-01-10 23:05:01 +01:00
schnurlos 430efb3747
Update german.xml to v7.8.3
Close #7799
2020-01-10 22:35:31 +01:00
Don HO 638ff65ba1
Reformat some codes 2020-01-10 20:11:36 +01:00
Don HO 87d6cd1d04 Adapt VS2019 2020-01-09 10:36:44 +01:00
Patriccollu 1cb54aa4ef Update corsican.xml
Close #7700
2020-01-08 23:23:52 +01:00
conky77 30bf629858 Add Venetian localization
Close #7770
2020-01-08 10:08:16 +01:00
dvdandroid 6eeb755a73 Update italian.xml to v7.8.3
Close #7826
2020-01-08 10:01:55 +01:00
popcorner 78d0a4feec Update chineseSimplified.xml
Close #7829, close #7727
2020-01-08 09:54:35 +01:00
Artem Polivanchuk 767fcb420f Update ukrainian.xml
Close #7787
2020-01-08 09:47:39 +01:00
yasmise 4fb2cffa28 Update Japanese translation to v7.8.3
Close #7800
2020-01-08 09:44:02 +01:00
~GOLEM~ f2b4078e2d Update russian.xml to v7.8.3
Close #7803
2020-01-08 09:39:54 +01:00
Waldi Ravens e2150e2f55 Update spanish.xml to v7.8.3
Close #7757
2020-01-08 01:34:08 +01:00
Tmp341 6b6ce475dd Update Turkish Localization
Close #7734

* Updated according to 50a4fc8, e5d83db, 3b77016, 461aabb, 3220eaa, f780e22 and f44c357 commits.
2020-01-08 00:33:53 +01:00
Waldi Ravens 02972ecbf4 Update dutch.xml to 7.8.3
Close #7784
2020-01-08 00:28:48 +01:00
Waldi Ravens 6c591cb26c Add "Encoding > Character Set" localization items
For english & french

Close #7689
2020-01-08 00:21:53 +01:00
Hélio de Souza e345919f6b Update brazilian_portuguese.xml
Close #7786
2020-01-08 00:17:36 +01:00
xomx 005df921b5 Update czech.xml to v7.8.3
Close #7809
2020-01-08 00:09:05 +01:00
Wanibzh29 c91b2a88a4 Update breton.xml to v7.8.3
Close #7816, close #7817
2020-01-08 00:02:38 +01:00
rddim 4b587fe6c5
Update Bulgarian localization
Close #7765
2020-01-07 00:35:31 +01:00
Don HO b338282f91
Add Visual Studio project file extension as xml file
Fix #7822
2020-01-06 20:07:48 +01:00
Don HO 062ec3e726
Simplefy the commit 9387dcdaef 2020-01-06 13:40:49 +01:00
Don HO 563530379f
Better comment 2020-01-06 13:27:56 +01:00
Christophe Meriaux 9387dcdaef
Fix restoring line position issue while document is wrapped
If you switch between tabs while wrap mode is enable, text jump to another lines.
It's an old bug, fixed in v7.5.9, but it had performance regression so it was reverted in v6.0.0.

It's been one year, and I'm back.
This works whatever the size of the file.
There isn't any performance regression because we don't use SCI_ENSUREVISIBLE scintilla command.

In case wrap option on, The restore position function is done in **twice** steps.

- First step: set selection, set anchor, set xoffset...
- Second step: once Scintilla has send the notification SCN_PAINTED, we can scroll several lines to set the first visible line to the correct wrapped line.

Keep in mind that Line wrapping is a background activity that takes time, specially for huge file.

Fix #2078, fix #2576, fix #3570, fix #4825, fix #4881, close #7781
2020-01-06 10:18:46 +01:00
Christophe Meriaux 12bb0efc7a
Fix incremental search bar option bug
Keep 'highlight all' option state in incremental search bar.

Fix #7753, fix #2750, close #7754
2020-01-01 15:57:59 +01:00
Don HO cbd1e83c02
Update localization files
... for f51ae85d38
2019-12-31 23:53:10 +01:00
Don HO f51ae85d38
Prevent from setting Updater's Proxyas Notepad++ is not in Admin mode
Updater's Proxy settings needs Administrator privilege. This enhancement prevents from launching Updater's Proxy settings and displays an explicite message to user if Notepad++ is not in Admin mode.

Close #7779
2019-12-31 22:56:54 +01:00
Don HO 326733ec72
Reformat langs.model.xml & add "mk" as file ext of makefile
Fix #2716
2019-12-28 20:22:16 +05:00
Don HO b0c5de10f9
Fix API comment error
Fix #7717
2019-12-28 18:56:43 +05:00
Don HO ab207db6f7
Update localization files
For the commit:
14074e1487
2019-12-27 09:52:25 +05:00
Don HO 14074e1487
Disable file association settings when Notepad++'s no admin right
File association feature under Windows 10 needs the Administrator's preivilege.
This commit add an explicit message to users who want to use this feature, and disable this feature if Notepad++ has no Administrator's preivilege.

Fix #4984, fix #5192, fix #4542
2019-12-27 00:35:16 +05:00
Don HO a1d048fdd9
Update localization files for a new option
Move an old entry to an another section and add a new one for added new option in:
7a1096de5b
2019-12-25 20:03:47 +05:00
Don HO 7a1096de5b
Make filling find field of Find dialog with selected word(s) optional
Close #3243
2019-12-25 13:32:40 +05:00
Don HO c2f84b4cc6
Coding style improvement: better indentation in Notepad_plus.rc 2019-12-25 12:56:22 +05:00
Don HO 934ded9ac9
Fix a minor cosmetic problem 2019-12-23 11:44:37 +05:00
Don HO 41ca5289bd
Improve langs.model.xml 2019-12-22 13:13:39 +05:00
Don HO be6f797e65
Improve Json syntax highlighting 2019-12-21 11:47:04 +05:00
Don HO b76bf9e4df
Make doSaveOrNot dialog simpler when there's a single file to save
When there are several files to save, the same doSaveOrNot dialog which cotains 5 buttons (Yes, No, Cancel, Yes to All and No to All) is shown. But if there is only one file to save, then it's better to not show Yes to All and No to All buttons to make a consistent user interface.

Fix #7762
2019-12-20 13:37:42 +05:00
Don HO 703a49b323
Add the Expand All capacity into Folder as Workspace 2019-12-18 22:12:36 +01:00
Don HO fbde7d2188
Add expand all capacity into TreeView class 2019-12-18 13:41:13 +01:00
Don HO 998ad2aa87
Optimize the recursive folding in TreeView 2019-12-18 10:37:20 +01:00
Don HO c8b70dacd7
Make for loop conform to C++11 style 2019-12-18 10:05:40 +01:00
Don HO e0d995c1a6
Add "Fold All" toolbar command in Folder As Workspace 2019-12-18 10:05:40 +01:00
Don HO ef4425a47f
Update Spanish translation 2019-12-17 23:16:22 +01:00
Don HO d5ec3a1c0e
Update localization files 2019-12-17 23:09:36 +01:00
Waldi Ravens 4228c315fd
Make cmd cli ("Open Containing Folder in cmd") customizable
Add "commandLineInterpreter" setting in config.xml
No UI to set it, user has to add the fowllowing line into config.xml:
<GUIConfig name="commandLineInterpreter">powershell</GUIConfig>

(Use your shell to replace powershell)

Close #7737, close #7738
2019-12-15 18:27:34 +01:00
Don HO 1929cce416
Fix auto-insert bug
Fix #6078, fix #7733, close #7742
2019-12-15 14:27:08 +01:00
Waldi Ravens 62622afaeb
Make MinGW gcc build work again
Fixes MinGW build error:
53452d96e0 (r36430299)
2019-12-15 10:53:34 +01:00
Waldi Ravens f02d166081
Enable two more SQL keyword list
KEYWORD2 – data types, highlighted in a different style.
USER1 – user-defined keywords, empty list by default.

Close #5937, close #7693
2019-12-14 23:51:04 +01:00
Don HO bc2b5ac2ce
Add feature to select/show current file in Folder As Workspace
A new button is added in Folder As Workspace to select and show the current editing file in Folder As Workspace.

To make Bitmap background transparent with alpha channel in photoshop:
https://www.youtube.com/watch?v=8hNEJ7kaw8g&feature=emb_logo

Close #7736
2019-12-14 22:51:50 +01:00
Scott Sumner 53452d96e0
Fix too small buffer issue during add text macro playback
Fix #7642, close #7730
2019-12-13 19:13:23 +01:00
Scott Sumner 1c4157109f
Eliminate garbage displaying in Find-result fold margin
Fix #6268, close #7721
2019-12-12 21:21:48 +01:00
Waldi Ravens 9729fa7490
Fix "Close All Unchanged" for sub-view
Fix #7708, close #7709
2019-12-12 20:58:06 +01:00
Don HO ff8e42ca1b
Update readme.txt 2019-12-08 23:33:30 +01:00
Dan Edens ec5b854bdd
Update dead Link.
"http://docs.notepad-plus-plus.org/index.php/Context_Menu" Is 404d.
Update to new documentation location:
"https://npp-user-manual.org/docs/config-files/#the-context-menu-contextmenu-xml"

Close #7701
2019-12-08 21:33:12 +01:00
Don HO 5a2147ef39 Notepad++ release 7.8.1 2019-12-05 13:04:43 +01:00
Don HO b3419ad00d
Fix a typo 2019-12-04 01:32:24 +01:00
Waldi Ravens 17872080a0
Fix mistyped Item id in slovenian.xml
Close #7687
2019-12-03 21:54:12 +01:00
Artem Polivanchuk 339f451e13
Update belarusian.xml
Close #7616
2019-12-02 22:46:59 +01:00
Artem Polivanchuk f184de7347
Update ukrainian.xml
Close #7617
2019-12-02 22:40:23 +01:00
Pavel_Blend 6f56b44118
Add python keywords
Close #7613
2019-12-01 22:45:00 +01:00
~GOLEM~ c5eb6f757d
Increased size the field for localizations.
Close #7640
2019-12-01 22:28:55 +01:00
Waldi Ravens ee1a0b4a07
Update dutch.xml
Close #7633
2019-12-01 21:53:07 +01:00
schnurlos eab9aae727
Update german.xml
Close #7649
2019-12-01 18:40:06 +01:00
~GOLEM~ c67cacf684
Update Russian lang for 7.8.2
Close #7643
2019-12-01 02:00:35 +01:00
Bruce Yoon 68088e6872
Update Korean translation
Close #7659
2019-11-30 23:21:42 +01:00
rddim e5e7b988e4
Update Bulgarian localization
Close #7639
2019-11-30 23:18:41 +01:00
scootergrisen 9d8abb7a06
Update danish translation to 7.8.1
Close #7661
2019-11-30 23:15:15 +01:00
Hélio de Souza 3baed7ffb8
Update brazilian_portuguese.xml 2019-11-30 23:07:07 +01:00
yasmise 87aa810853
Update Japanese translations for v7.8.2
Close #7675
2019-11-30 23:02:09 +01:00
Scott Sumner c858a2ab5d
Make 'Purge for each search' respect 'In selection' for 'Mark All' op
Fix #7663, close #7664
2019-11-30 16:34:03 +01:00
Don HO f44c357999
Add tooltip for filter usage in Find in Files dialog 2019-11-22 14:28:13 +01:00
Scott Sumner 90176b21ae
Make 'Clear all marks' respect 'In selection' choice
Fix #6271, close #7636
2019-11-22 01:21:28 +01:00
Ale dc48cee5f7
Add find in files filter excluding ability
Filter usage example:
*.* !*.exe !*.obj !*.log

Close #7618, close #7626
2019-11-21 13:34:01 +01:00
Don HO f780e22d61
Add shortcuts to Save dialog for translation files 2019-11-21 02:52:04 +01:00
Don HO 3220eaaa30
Refine "Open UDL folder" command & make it translatable 2019-11-21 02:24:57 +01:00
Don HO 302b88e0ea
Isolate UDL language application menu from UDL actions 2019-11-19 14:11:32 +01:00
Krzysztof Szewczyk 2458812a42
Add a submenu item in Languages menu to open UDL folder
Fix #5404, close #7540
2019-11-19 10:11:57 +01:00
vlakoff de64bef97d
Use https instead of http for shorcut www.php.net
Close #5488
2019-11-19 01:13:56 +01:00
Rajendra Singh b694ff23bb
Fix issue of showing save dialog twice
The issue:
While running "close all" command the 2nd save dialog is shown for a unsaved cloned doc, but user has repplyed "No" to the unsaved original doc.
This comit make save dialog show once if user's answer is No.

Fix #7523, close #7558
2019-11-18 13:36:16 +01:00
Rajendra Singh 9e37a167f9
Make open Explorer with expeacted path in Folder as workspace
Fix #5981, close #7562
2019-11-18 10:00:39 +01:00
Waldi Ravens 8cbf3c7e29
Update dutch.xml to 7.8.1
Close #7583
2019-11-18 02:27:01 +01:00
balagansky 8e361c5dca
Fix tab dragging issues
Fix tab dragging issues related to switching off TCS_BUTTONS under multi-line tabs mode (per AngryGamer's suggestions)

Fix #6274, fix #6273, fix #4339, close #6278
2019-11-18 02:05:27 +01:00
Don HO b5322b1043
Revert "Revert 'Fix multi-line tab button stay pushed issue while swiching off.'"
The commit fce74dd894 (which reverts 8342da3) does not solve dragging tab problem(#7509), and it made a regression (#3545 is reproduced again).

This reverts commit fce74dd894.
2019-11-18 01:28:27 +01:00
Don HO 4dc8717c4b
Fix a typo in easter eggs 2019-11-16 23:21:59 +01:00
Don HO 30e545a5f4
Code enhancement: Make Globallock and GlobalUnlock symetric 2019-11-16 16:54:21 +01:00
Don HO ebe0b1b189
Use "#pragma once" instead of "#ifndef" 2019-11-16 03:38:11 +01:00
Don HO 2b0f5dd6fd
Enhance "Close all but This" functionality
Old behaviour:
While "Close all but This" operation, if user answer Yes or No for some files to Save dialog, then cancel for a file to save dialog, all files will be kept.

New behaviour:
The files for which user has answered for saving will be close, even the cancel answer at the end.

Fix #7553
2019-11-15 19:54:05 +01:00
steven-bellock 5ac062e731
Update Verilog / SystemVerilog keywords
Update Verilog / SystemVerilog keywords and system functions to the latest IEEE 1800-2017 standards document.

Close #5466
2019-11-13 01:53:58 +01:00
Markus Heidelberg 98f4b1503e
Fix GCC compile errors under Linux due to case sensitivity in #include
Closse #7528
2019-11-13 01:46:05 +01:00
popcorner 3011612c70
Update chineseSimplified.xml
Close #7535
2019-11-12 14:02:13 +01:00
Waldi Ravens 36c90c609d
Fix XML syntax in korean.xml
Close #7541
2019-11-12 13:58:53 +01:00
Rajendra Singh 4d5c1b6564
Improve 'Close all to the left' and 'Close all to the right' user experience
Description of the Issue
Improve "Close all to the left/right" functionality.
This is an enhancement request. Similar request was made in past #2555, but has been closed during tracker cleanup process.

Steps to Reproduce the Issue
1. Create 4 tabs says (tab 1, tab 2, tab 3, tab 4)
2. Make all the tab dirty (I mean type, something in each tab, but don't save any).
3. Now right click on tab 1 and choose "Close All to the right"
4. Three popup for asking to save file will appear (For tab 4, tab 3 and tab 2)
5. Click "No" for tab 4 and tab 3. And click cancel for tab 2.

Expected Behavior:
After step 5, tab 4 and tab 3 should be closed. And for Remaining tabs, operation should be cancelled.

Actual Behavior:
Nothing happens after step 5.

Same defect reproduction steps are applicable for "Close all to the left".

Fix #7501, close #7502
2019-11-12 13:30:36 +01:00
Scott Sumner 485b5aa7c7
Add disable In-Selection when multiple selections active for Count, Replace-All and Mark-all commands
Fix #7532
2019-11-12 10:09:10 +01:00
Don HO f826c1180c
Fix Notepad++ blocked in notification zone issue
In the case of backup feature being disabled, if Notepad++ has a modified file, and it is reduced into the nofitication zone, closing Notepad++ via notification zone will trigger doSave dialog, then Notepad++ stuck after closing the dialog.

Fix #7508
2019-11-12 03:28:51 +01:00
Christian Grasser 9bba1291d4
Update of cmake config to reflect the vs proj changes since the last update
Close #3918
2019-11-08 12:54:50 +01:00
Scott Sumner bdd9acb0f5
Make end-of-line conversion operations macroable
Fix issue to make end-of-line conversion operations macroable

Fix #6258, close #7516
2019-11-07 22:29:21 +01:00
Patriccollu 19517944fe
Update corsican.xml for Notepad++ 7.8.1
Close #7519
2019-11-07 22:26:28 +01:00
Don HO 604d653193
Merge branch 'master' of https://github.com/yunbj/notepad-plus-plus into yunbj-master 2019-11-07 22:22:46 +01:00
Christian Grasser c741f83bde
Update makefile for mingw gcc builds
Close #4145
2019-11-07 22:13:47 +01:00
Bruce Yoon bbd5bae46f Update Korean 2019-11-07 20:04:20 +09:00
Don HO cf7e373dca
Add shortcuts to Save or not dialog
ALT-Y for Yes
ALT-N for No
ALT-C for Cancel
ALT-A for Yes to all
ALT-O for No to all
2019-11-06 23:43:08 +01:00
Paul van den Burg 1377cc6c04
Fix typo in spanish translation
Fix #7494, close #7505
2019-11-06 09:54:08 +01:00
Don HO fce74dd894
Revert "Fix multi-line tab button stay pushed issue while swiching off."
This reverts commit 8342da3df8 to fix a regression (#7509) which has been done to fix #3545.

Fix #7509
2019-11-06 00:55:03 +01:00
Don HO 6a334b1514
Update localization files 2019-11-02 13:47:09 +01:00