Commit Graph

3542 Commits (f5ea4898cf16d9187f0e8a487c7dd5423da5983f)

Author SHA1 Message Date
mere-human 3cf65ade81
Fix typo in ScitillaComponent directory name
Rename ScitillaComponent -> ScintillaComponent.
Git history should be kept because `git mv` was used.
Also change paths in source code.

This was noted in scope of #9403

Close #9450
2021-01-27 05:39:55 +01:00
mere-human aca37f150b
Remove localization of "Use new style dialog" with id="6430"
The option isn't available since FileDialog was removed.

For more context, see discussion in #9403 and #9374

Close #9449
2021-01-27 02:48:16 +01:00
mere-human e7079d57c6
Enhance FileDialog for allowing UNIX stile file path
And use modern CustomFileDialog istead of old FileDialog in Notepad++.

In the file dialog, override window procedure for "OK" button and
file name edit box to check for input.
Transform forward slash file name to a Window path after input.

Fix #9374, close #9403
2021-01-26 18:52:15 +01:00
Don HO ab5c1d3e2a
Upgrade Notepad++ License
Update GPL version from v2 to v3.

Fix #9425, close #9441
2021-01-24 01:51:19 +01:00
Udo Hoffmann fed1803c78
Fix Switch-To keyboard shortcuts cannot be used in context menu
Fix #943, close #9436
2021-01-22 14:08:36 +01:00
Don HO ca1bcb1ec0
Drop XP in installer 2021-01-22 04:35:56 +01:00
Udo Hoffmann 0004981ff7
Improve size calculation of value dialog
Fix #8443, close #9432
2021-01-21 16:17:43 +01:00
Pavel Nedev ce0012ab5c
Fix possible empty snapshot session on Windows reboot/shutdown
Save snapshot session immediately when needed (without incuring delay by using ::PostMessage).

Fix #7839 and latest user reported problems in #6133.
Close #9427
2021-01-20 19:25:16 +01:00
Don HO 3bf17ec697
Fix build error in MinGW
and fix a misuse of CopyFileEx function.
2021-01-20 04:55:42 +01:00
Don HO 051b17ca44
Enhance copy/move file Win32API functions to avoid system cach
Suggestion from:
https://github.com/d0vgan/nppexec/issues/29#issuecomment-761830889
2021-01-19 04:05:54 +01:00
Don HO 45912a3321
Drop Windows XP support for IFileDialogCustomize
https://github.com/notepad-plus-plus/notepad-plus-plus/pull/9378
2021-01-19 03:03:56 +01:00
Scott Sumner b5ec511c38
Add ability to delete from Find combobox history
When any of the Find window comboboxes are dropped and an entry is highlighted, pressing the Delete key will remove the highlighted entry from the following comboboxes:

1. Find what combobox
2. Replace with combobox
3. Directory combobox
4. Filters combobox

No method is provided for clearing all entries at once, but as the "depth" of the comboboxes is limited to a small amount, clearing one entry at a time (when one wants to clear all) is not overly burdensome.

Fix #9366, close #9396
2021-01-18 02:52:00 +01:00
Scott Sumner 5003a45306
Make split-lines work with multi-edge rightmost specified edge
Implements a fix whereby the RIGHTMOST user specified value in the vertical edge box is the column to split by, e.g. 60 in the following example: [15, 40, 60]

If the contents of the box were instead [15, 60, 40], the split-by column would be 40, as that is the RIGHTMOST value.

Fix #8262, close #9387
2021-01-18 02:30:13 +01:00
Don HO a2ee3e6254
Fix a memory leak issue in NppParameters::writeSession
Solution: simplify the method NppParameters::getSessionFromXmlTree by removing unecessary variable member NppParameters::_pXmlSessionDoc.
2021-01-17 19:47:45 +01:00
Don HO 67234d2269
Fix dockable panels 0 width/height in multi-instance mode regression
Fix #9341, fix #9363
2021-01-15 22:19:02 +01:00
mere-human 41c4180b2e
Make "Save Folder as Workspace" in Save Session dialog translatable
Fix #9375, close #9383
2021-01-12 00:36:15 +01:00
Scott Sumner 1364b199b4
Improve high-dpi display
Fix #8115, close #9381
2021-01-11 23:26:18 +01:00
Don HO e26199ab51
Make 1 section name of Preferences more explicit. 2021-01-11 12:16:34 +01:00
Christian Grasser a55d46d170
Fix incompatible plugin not being deleted issue
Unload incompatible plugin before deleting it.

Fix #9377, close #9382
2021-01-11 04:58:15 +01:00
mere-human b58a5cc227
Use the mordern browse folder dialog to get folder path
Add new methods to CustomFileDialog:
- setTitle() sets the dialog title
- setFolder() sets an initial directory
- pickFolder() shows a file open dialog to select a folder

Use CustomFileDialog in folderBrowser().

Affected areas:
- Search > Find in Files
- File > Open Folder as Workspace
- Preferences > Default Directory
- Preferences > Backup > Custom Backup
- Preferences > Cloud & Link

Fix #8513, close #9378
2021-01-11 03:56:46 +01:00
Don HO 38f6319f4e
Fix "Print Line Number" preference is ignored for printing regression
Fix #9379
2021-01-10 04:07:13 +01:00
Scott Sumner d5ad02521e
Improve option for setting save dialog filter to All Types
Fix #9325, close #9328
2021-01-08 04:34:23 +01:00
mere-human b9f498f041
Add "save Folder as Workspace in session" option in save session dialog
Save FileBrowser root folders if it is visible.
When loading a session file (from menu or via the command line),
launch a FileBrowser from scratch and add folders from the file to it.
When loading an auto-saved session, ignore saved FileBrowser folders.

Store roots and selected item of FileBrowser in a Session class.

Add "FileBrowser" node to session XML.
It containts "latestSelectedItem" attribute and "root" child nodes.
This structure corresponds to the one from "config.xml".

Current save session behavior for Folder as Workspace (FaW) is like this:
1. FaW isn't opened, checkbox is greyed-out -> FaW info is not saved in session
2. FaW is opened, checkbox isn't checked -> FaW info isn't saved in session
3. FaW is opened, checkbox is checked -> FaW info is saved in session

Load session behavior:
1. FaW isn't open, session without FaW info -> FaW isn't shown after loading
2. FaW isn't open, session with FaW info -> FaW is shown after loading
3. FaW is open, session without FaW info -> FaW is kept as is without changes
4. FaW is open, session with FaW info -> FaW is shown with new directories from session

Fix #9165, close #9286
2021-01-08 00:02:52 +01:00
Scott Sumner d6c941034d
Make find/replace in files progress translatable
Fix #9319, close #9356
2021-01-07 04:08:24 +01:00
Don HO 9f635b22af
Fix invalid XML file 2021-01-04 23:33:42 +01:00
Don HO cb3d328666
Fix invalid UTF-8 XML files 2021-01-04 20:02:23 +01:00
Don HO 52e8c68f90
Change XML encoding from Windows-1252 to UTF-8 (config.xml and others)
and add XML declaration for session.xml, shortcuts.xml & userDefineLang.xml for conforming to XML standard specs.

Regarding the suggestions from #9339
2021-01-04 15:02:09 +01:00
Christian Grasser e24ad94ddd
Move script validator_xml.py to "Test" folder
Fix #9330 part 2
Close #9345
2021-01-04 01:42:57 +01:00
Christian Grasser d17fa02a6f
Check XML validation in Notepad++ build system
1. Added xml syntax check via python script just for the win32 debug build because there already the functionlist check happens.
2. Fixed an issue found for perl.

Fix #9330, close #9339
2021-01-03 01:52:23 +01:00
Scott Sumner aca736b766
Fix logic bug in NPPM_SETLINENUMBERWIDTHMODE
Fix #9338, close #9340
2021-01-03 00:04:54 +01:00
Don HO edfd2b8a95
Fix the regression of copying line data from search results
Fix #9334
2021-01-02 12:21:47 +01:00
Don HO 3373756afb
Fix a regression in Chinese Simplified localization
Fix #9329
2021-01-01 16:00:28 +01:00
Don HO 0762af5ce2 Notepad++ 7.9.2 release
Notepad++ Stand with Hong Kong edition.
2021-01-01 00:01:37 +01:00
Don HO a68805b7ff
Make user defined overrideMap.xml not overridable during installation
Fix https://community.notepad-plus-plus.org/topic/20534/notepad-v7-9-2-release-candidate-2/4?_=1609416552124
2020-12-31 20:16:00 +01:00
Don HO 0472052f8e
Make installer override all the function list files on the installation 2020-12-31 03:50:56 +01:00
Don HO 9c8497a99d
Fix regression of URL double click issue
Fix #9320
2020-12-31 03:38:16 +01:00
Don HO 413762c393
Add "Toggle" for Character Panel & History Clipboard in Shortcut mapper 2020-12-27 15:59:39 +01:00
Artem Polivanchuk 1a9c28dacb
Update ukrainian.xml
Close #9105
2020-12-23 16:00:05 +01:00
conky77 916bbfc7fd
Update venetian.xml
Close #9253
2020-12-23 15:57:54 +01:00
popcorner 528712f050
Update chineseSimplified.xml
Close #9295
2020-12-23 15:55:10 +01:00
schnurlos f77b03f82d
New Update for german.xml v7.9.1
Close #9122
2020-12-22 19:39:26 +01:00
rddim 18f482619a
Update Bulgarian localization
Close #9147
2020-12-22 19:36:40 +01:00
ArkadiuszMichalski 8cd4d9d066
Update polish.xml
Close #9297
2020-12-22 19:08:16 +01:00
Sapziller 2c872b0fa8
Update korean.xml (7.9.2)
Close #9294
2020-12-22 16:35:40 +01:00
Vladimír Kubala 34c54c9442
Update Slovak translation
Close #9126
2020-12-22 16:29:45 +01:00
yasmise 7408f34364
update japanese.xml to v7.9.2
Follow-up for these commits:
* Make UI text consistent regarding search results (f5dcfc196a)
Note: Diff of this PR is smaller than the commit above, but it's OK. Japanese translation was already translated correctly.
* Add ellipsis to Rename and Print on tab bar context menu (1961f708c1)
* Add tooltips for Folderas Workspace 3 commands (070630a243)
* Prevent names of untitled tabs from duplication (f75f8b8d40)
* Update English file with missing strings (a7f866b89e)
* Add context menu with "Copy link" ability (d155f0326a)
* Add GUI in preferences dialog for adding URI customized schemes (4b29971168)
* Create new Margin/Border/Edge sub-page in Preferences (053266c706)
* Add an option for displying constant line number width (c9c2d1e376)
* Make "Line" preceding each line number on Search Results translatable (e3455a0f7e)
* Make "total documents number" feature in Window dialog translatable (0546f75a71)

Close #9111
2020-12-22 16:26:35 +01:00
Tmp341 141e893af5
Update Turkish localization
Close #9112
2020-12-22 16:23:07 +01:00
~GOLEM~ 62e131105a
Update russian.xml to v7.9.2
Close #9176
2020-12-22 16:17:55 +01:00
Patriccollu 10b5302fc9
Update Corsican translation for Notepad++ 7.9.2
Close #9186
2020-12-22 16:13:45 +01:00
Don HO f617325006
Enhance ghost typing command line argument feature
Enhance ghost typing command line argument feature by changing its format:
With it's new format -qX="string contains white space" (where X is 't', 'n' or 'f'), the white spaces can be contained between double quote, so no need to use %20 anymore for substituting white spacees.
2020-12-21 17:54:10 +01:00
Don HO b6a66ba2b1
Add "-settingsDir" argument for overriding default settings path
Currently the settings directory could be:

1. Notepad++ installation dir if doLocalConf.xml is present.
2. %APPDATA%\Notepad++ if doLocalConf.xml is absent.
3. The path defined in \cloud\choice in Notepad++ installation or in %APPDATA%\Notepad++, it depends on the existence of doLocalConf.xml.

In this PR "-settingsDir" argument is added for overriding above settings paths:
4. Overrided by command line argument -settingsDir="E:\my NppSettings\" : All the above configurations will be ignored, Notepad++ will load (and write) config.xml and the other configuration xml files from (into) "E:\my NppSettings\". Note that double quotes is not necessary if there's no white space in the given path.

The priorities are: 1. -settingsDir 2. Cloud 3. %APPDATA%\Notepad++ or Notepad++ installation dir.
If the given path "E:\my NppSettings\" is not a valid directory (it doesn't exist or it's a file), this argument is ignored and the settings dir will fall back to Cloud (or to %APPDATA%\Notepad++ or Notepad++ installation dir, if settings on Cloud is not defined).

Close #4696, close #9287
2020-12-21 16:03:05 +01:00
Scott Sumner 8f38707d33
Improve text selection after Replace All In Selection operation
Fix #9270, close #9273
2020-12-18 01:49:58 +01:00
Don HO 0546f75a71
Make "total documents number" feature in Window dialog translatable 2020-12-16 18:49:06 +01:00
X1ngyuL1u 435834651b
Add the number of total documents on windows dialog's title bar
Close #8338, close #9245
2020-12-16 16:43:01 +01:00
Scott Sumner 7aafa2e8fe
Fix scroll to last line problem after main window resize
Fix #9123, close #9265
2020-12-16 12:58:39 +01:00
Don HO 5e0e7a7f73
Update nlohmann's json.hpp from v2.2.1 to v3.9.1
Close #9272
2020-12-16 00:22:01 +01:00
Christian Grasser a0ffb6b6ff
Fix Plugin admin display UTF-8 issue in its description
Allow UTF-8 input for plugin autor and description.

Fix #9266, close #9267
2020-12-15 19:25:01 +01:00
Don HO 21e9239203
Make find in finder result's text direction follows the search results' one 2020-12-15 04:07:05 +01:00
Don HO bf62bda851
Fix a typo
Fix #9259
2020-12-14 16:34:01 +01:00
Don HO 241393407c
Fix Search result's text direction not always synchronized with main edit zone's one issue 2020-12-13 15:29:56 +01:00
Don HO 5e96dd0166
Make the text direction of finder's search result follow the main edit zone's one 2020-12-12 13:03:31 +01:00
Don HO edaa67db28
Make the text direction of search result window follow the direction of main edit zone
and the text direction of function list always LTR.
2020-12-12 04:05:22 +01:00
Don HO db4a6f5ec6
Fix dockable panels display issue in RTL direction
Fix #9241
2020-12-11 20:09:55 +01:00
Don HO 4768fec82d
Remove obsolete code 2020-12-10 14:56:47 +01:00
Don HO 6c3ecacdb7
Enhance localization of "Line" of Search result
This enhancement translates "Line" prefix of Search resulton when user change each time the localization.

Inspired from #9233
2020-12-09 16:25:35 +01:00
Don HO 2f6454a085
Fix Search result line number highlighting inaccurate issue 2020-12-09 03:34:18 +01:00
Don HO e3455a0f7e
Make "Line" preceding each line number on Search Results translatable
Fix #9224
2020-12-08 18:50:23 +01:00
Coin a0221c4832
Update taiwaneseMandarin.xml
Close #9236
2020-12-08 16:07:46 +01:00
Don HO 59a0c7c3d8
Fix menu check marks not being removed after closing the panels
For both "Clipboard History" and "Character Panel" panels.

Fix #9216
2020-12-07 23:14:42 +01:00
Don HO c9c2d1e376
Add an option for displying constant line number width
1. Add an option for displying constant line number width in Preferences dialog.
   This option set the line number constant width according the total line number in the document (minimun 4 digits).
   It ensures no unexpected visual effect while scrolling content vertically.
   If the document content is modified and the total number of lines is increased or decreased, more digits will be added or removed according the number of digits in total number of lines.

2. Add new plugin messages NPPM_GETLINENUMBERWIDTHMODE & NPPM_SETLINENUMBERWIDTHMODE for getting or setting LINENUMWIDTH_DYNAMIC / LINENUMWIDTH_CONSTANT.
   So plugins may send NPPM_SETLINENUMBERWIDTHMODE message with LINENUMWIDTH_CONSTANT to Notepad++ for avoiding some unexpected visual effect (while scrolling).

Fix #5670
2020-12-06 16:38:53 +01:00
Don HO fefdbc9cad
Fix command line arguments -p, -n & -c negative value's undefined behaviour
The negative values of these 3 arguments won't be undefined anymore.
They will be rejected - so negative values are just ignored.

Fix #9146
2020-12-03 18:13:25 +01:00
Don HO 053266c706
Create new Margin/Border/Edge sub-page in Preferences
1. Add Margins/Border/Edge sub-page in Preferences dialog
2. Update Preferences dialog sub-page naming

Close #8896, close #9218
2020-12-02 23:28:39 +01:00
Scott Sumner b2387286b1
Fix find in files failure issue due to directory path with leading/trailing spaces
Trim spaces on Directory for FindInFiles to fix such issue.

Fix #9199, close #9208
2020-11-29 14:29:16 +01:00
mere-human ecf44bd085
Folder as Workspace: Change folder images after "Expand/Collapse All"
Folder images are changed in FileBrowser::notified() when TVN_ITEMEXPANDED
is recieved. This works fine when e.g. expand/collapse using "+" button.
However, when foldAll() or expandAll() are called on a TreeView,
the TVN_ITEMEXPANDED is not sent. The reason is that TVIS_EXPANDEDONCE flag
is set. To reset that flag, it would be needed to pass TVE_COLLAPSERESET
to TreeView_Expand that also removes all child items which is unwanted.

Resolve the problem by notifying TreeView parent manually when recieve
TVM_EXPAND and TVIS_EXPANDEDONCE is set.

Fix #8912
2020-11-27 15:26:01 +01:00
Don HO 814e6591b5
Fix function list is empty with new user profile issue
The new behaviour of loading function list will be:

1. For the installer package:
Try to load from %APPDATA%\Notepad++\functionList\, if it failed, then load from %PROGRAMFILES%\Notepad++\functionList\.
In this way, users can override function list in %APPDATA%\Notepad++\functionList\ manually. Otherwise, function list won't be empty.

2. For the portable package:
  - with doLocalConf.xml : Load always from <Notepad++ Dir>\functionList\
  - without doLocalConf.xml : Try to load from %APPDATA%\Notepad++\functionList\, if it failed, then load from <Notepad++ Dir>\functionList\

Fix #9134
2020-11-27 03:54:37 +01:00
Don HO 4b29971168
Add GUI in preferences dialog for adding URI customized schemes
And add default supported url schemes.
Related: 5168bdb and #9155

Close #9195
2020-11-25 03:19:30 +01:00
Udo Hoffmann 5168bdb7c5
Allow custom URL schemes
Fix #9155, close #9190
2020-11-22 18:06:37 +01:00
chomdoo a7f8056c29
Fix Wrap Around shortcut in Korean.xml
Close #9133
2020-11-20 22:27:47 +01:00
Patriccollu a7f866b89e
Update English file with missing strings
Close #9187
2020-11-20 22:19:52 +01:00
Don HO cabf726778
Fix single-quoted string being badly recongnized as attribute value in XML
Fix #3403
2020-11-19 16:09:59 +01:00
Don HO 7874f8dab3
Add new API NPPM_GETSETTINGSONCLOUDPATH for plugins
#define NPPM_GETSETTINGSONCLOUDPATH (NPPMSG + 98)
	// INT NPPM_GETSETTINGSCLOUDPATH(size_t strLen, TCHAR *settingsOnCloudPath)
	// Get settings on cloud path. It's useful if plugins want to store its settings on Cloud, if this path is set.
	// Returns the number of TCHAR copied/to copy. If the return value is 0, then this path is not set, or the "strLen" is not enough to copy the path.
	// Users should call it with settingsCloudPath be NULL to get the required number of TCHAR (not including the terminating nul character),
	// allocate settingsCloudPath buffer with the return value + 1, then call it again to get the path.

Close #9168
2020-11-19 04:29:50 +01:00
Don HO 1d75c06305
Update localization files 2020-11-17 03:53:49 +01:00
Udo Hoffmann d155f0326a
Add context menu with "Copy link" ability
Close #2435, close #9154
2020-11-17 03:47:09 +01:00
Udo Hoffmann b7d148f493
Fix Find in found results dialog launch failure after macro execution
The solution is to find a new better parent for Finder dockable panel.

Fix #8199, close #9158
2020-11-17 00:02:56 +01:00
Scott Sumner bfa44f5db3
Fix bug where -p0 cmd line arg causes wrong positioning
Fixes small bug introduced by #9143.

Close #9150
2020-11-14 17:33:03 +01:00
Don HO 9f8932b375
Add "Copy selected text" and rename "Copy" cmd in Search Results Pane
"Copy selected text" is named "Copy" and old "Copy" command is renamed to "Copy Selected Line(s)".

Close #9151
2020-11-14 15:24:06 +01:00
Don HO daa31c1a9a
Fix "Go to..." dialog wrong Offset value in empty files
Fix #9145
2020-11-14 11:34:19 +01:00
Scott Sumner 26428bd2ba
Prevent corruption possibility when using -p command line parameter
Fix #9142, close #9143
2020-11-13 04:00:05 +01:00
Don HO b54b8ee54f
Improve indent guidelines on non-brace control block languages
Fix #9137
2020-11-12 15:14:51 +01:00
Scott Sumner f027e9271d Disallow Goto dlg offset option from moving to position inside multibyte char or between CR and LF
Fix #9101, fix #9125, close #9129
2020-11-12 02:37:01 +01:00
Scott Sumner f75f8b8d40
Prevent names of untitled tabs from duplication
Fix #9119, close #9127
2020-11-12 00:02:23 +01:00
Don HO c58f3f7cb3
Fix an exception with -export=functionList while absence of config.xml 2020-11-11 03:33:39 +01:00
Don HO bbeb66aa56
Fix crash issue while passing argument "-export=functionList"
This regression is due to commit 7399257f56
(7399257f56)
2020-11-11 02:23:24 +01:00
Don HO 5813e4d8e6
Clean up 2020-11-10 14:08:33 +01:00
Don HO 070630a243
Add tooltips for Folderas Workspace 3 commands
Fix #8325
2020-11-10 05:06:25 +01:00
Don HO 79d7521f07
Add -L argument for hongKongCantonese.xml
875a397c14 (commitcomment-43992197)
2020-11-09 14:02:34 +01:00
Don HO 7399257f56 Fix docked panels appear with "-nosession" cmd line parameters
Fix #8005
2020-11-09 04:19:37 +01:00
Scott Sumner 1961f708c1 Add ellipsis to Rename and Print on tab bar context menu
Close #9124
2020-11-08 03:57:37 +01:00
Don HO d17c303665 Fix "SCI_NEWLINE" inside a macro not working issue
Fix #5571
2020-11-08 03:34:45 +01:00
Scott Sumner d80816f930 Fix bug where search-results won't open 'new 1' file
Fix #8461, fix #9098, close #9115
2020-11-07 02:57:10 +01:00
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