Commit Graph

3805 Commits (f3b11d16d4351803c93ce1d2dc54bd50f37c6fc7)

Author SHA1 Message Date
Ashfaaq18 c2534ee8f2 Make the Search Results Window locked (grayed) until the first search
The search result window option will only enable after the first Find All search

Fix #9655, close #9967
2021-06-20 03:24:10 +02:00
mere-human 263910a9a9 Fix compiler warnings when building Notepad++ solution
Remove unsupported option /arch:IA32 from x64 & ARM64 Release for Notepad++ project.
Define _SILENCE_CXX17_ITERATOR_BASE_CLASS_DEPRECATION_WARNING for
SciLexer project to ignore a specific warning in third-party code.
Now the solution builds without warnings in all configurations.

Fix #10033, close #10034
2021-06-19 18:52:43 +02:00
Don Ho fd5bfe4252 Update slovenian.xml 2021-06-17 14:31:51 +02:00
Don Ho 1db798fb11 Update finnish.xml 2021-06-17 14:25:20 +02:00
Don HO 33d7712337 Notepad++ 8.1 release 2021-06-17 02:25:09 +02:00
Adam D. Walling acf91fc2c2 Make multiline and vertical tabs work in dark mode
Dark mode tab drawing should work for multiline and vertical tabs

Close #10017
2021-06-17 01:23:10 +02:00
Don Ho fc94015bff Fix plugin icons not displayed regression 2021-06-16 02:57:06 +02:00
Don Ho 9c13d657c9 Better look & feel in dark mode
Fix #9982
2021-06-15 17:48:21 +02:00
Thomas De Rocker 94c6d24081 Update dutch.xml
Close #9938
2021-06-15 17:05:14 +02:00
Hugo Carvalho d113531345 Update portuguese.xml
Close #9940
2021-06-15 17:03:03 +02:00
György Bata 47d780b861 Hungarian translation update for 8.0
Close #9949
2021-06-15 16:59:17 +02:00
Sapziller b09190c76e Update Korean localization file
1. add missing items since 7.9.2
2. remove blank at end of line

Close #10003
2021-06-15 16:54:07 +02:00
rddim 52dbd52251 Update Bulgarian localization
Close #9944
2021-06-15 16:51:33 +02:00
xomx ac7a7af0cf Update czech.xml to v8.0.0
mainly keyboard access keys corrections

Close #9943
2021-06-15 16:47:27 +02:00
Tmp341 4bf1fd1fb2 Update Turkish localization
* According to e623e76, f9d6fb9 commits.

Close #9947
2021-06-15 15:42:45 +02:00
conky77 c5ba7320cc Update venetian.xml to 8.00
Close #9952
2021-06-15 15:38:37 +02:00
Patriccollu fee55b06d3 Update Corsican translation for Notepad++ 8.0.0
Close #10005
2021-06-15 15:28:52 +02:00
conky77 b8398b18e7 Update italian.xml to 8.0.0
Close #9953
2021-06-15 15:25:44 +02:00
schnurlos bfd9c2d325 Update german.xml
Following f9d6fb9e31

Close #9955
2021-06-15 15:23:52 +02:00
ozone10 467870d66e Add DarkMode Tooltips
Fix #9962, close #9963
2021-06-13 00:35:12 +02:00
Don Ho 2f51902e9c Fix Notepad++ crash on dark mode while starting up
Fix #9961
2021-06-12 01:49:05 +02:00
Adam D. Walling 7e139e1ba2 Remove menubar white line under dark mode
Fix #9984, close #9985
2021-06-11 20:15:09 +02:00
mere-human aa17a4bc7a Fix Open dialog with "Save" label for OK button
Now Open dialog shows Open label on the button instead of Save.
Don't change any button labels.
Instead, get the leftmost button when overriding the window procedure.

Fix #9966, close #9973
2021-06-11 19:56:47 +02:00
Don HO c6d14e9245 Notepad++ v8 release 2021-06-07 01:18:21 +02:00
Don Ho 06657c82b3 Remove Microsoft Bing from search engines for Search on Internet command
Ref: https://www.reuters.com/technology/microsoft-bing-raises-concerns-over-lack-image-results-tiananmen-tank-man-2021-06-04/

When a search engin does the censorship instead of its job, the search result loses its quality and it's not reliable anymore.
Hence, Microsoft Bing is removed from Notepad++ for "Search on Internet" command.
2021-06-06 16:42:45 +02:00
mere-human 0e1a4663d9 Fix append extension feature not working in save dialog
In some cases, checkbox was found instead of OK button and window procedure was overriden for it. Now, the OK button is identified using style and label checks.
Also, in some cases IFileDialog::GetFileTypeIndex() returns the old value. To fix that, always remember the file type selected.

Fix #9939, close #9945
2021-06-06 14:32:18 +02:00
Udo Hoffmann f9d6fb9e31 Close all tabs in stack with single action
Shift-click closes the whole stack.

Fix #8922, close #9930
2021-06-03 02:21:08 +02:00
Thomas De Rocker 511893680b Update dutch.xml
Close #9877
2021-06-03 01:38:17 +02:00
rddim e211cbaa28 Update Bulgarian localization
Close #9878
2021-06-03 01:35:34 +02:00
Patriccollu 2ce57b88ce Update Corsican translation
Close #9893
2021-06-03 01:32:50 +02:00
Sergio Flor 3ef5f11aa2 Updating spanish.xml
Resolves issue #4401 "Spanish translation: Search dialog items do not fit (translated texts too long)". Now the text fits the search dialog

Before:
<Item id="1703" name="&amp;. se ajusta a línea nueva"/>

Now:
<Item id="1703" name="&amp;. para nueva línea"/>

Fix #4401, close #9898
2021-06-03 01:23:46 +02:00
spkprs 17b7a0eaf4 Update greek.xml
Updated (partially till 80%) whole file from eng.xml.

Close #9899
2021-06-03 01:20:24 +02:00
~GOLEM~ e524a64b3a Update russian.xml
Close #9917
2021-06-03 01:13:12 +02:00
Edditoria 0221639cc9 Update Hong Kong Cantonese: Update access keys on menu
As at commit f7a04ca of this repo.

View of shortcuts:

Original: Display all shortcuts in form of `Example(X)`
Now: Display the shortcuts in English word, if any.
i.e. `E&amp;xample`

Originally it is to follow the pattern of Taiwan translation.
However, the previous commit had added a lot of shortcuts.
It is better to adapt new strategy for the UI.

Close #9920
2021-06-03 01:09:14 +02:00
yasmise 2c1b01f7c6 update japanese.xml
Close #9927

Update translation according this commits:
* Add access keys to non-keyboard-accessible menu items (32dce9b54e)
2021-06-03 01:06:26 +02:00
kubalav 60cd6c463f Update Slovak translation
Close #9934
2021-06-03 00:44:24 +02:00
Don HO 066b694d56 Remove unecessary codes 2021-06-03 00:13:38 +02:00
Adam D. Walling 5908166a63 Invert lightness of toolbar icon for dark mode
Close #9935
2021-06-02 23:38:25 +02:00
Don HO 8a898bae3f Add new API NPPM_ADDTOOLBARICON_FORDARKMODE for darkmode
Usage:
void NPPM_ADDTOOLBARICON_FORDARKMODE(UINT funcItem[X]._cmdID, toolbarIconsWithDarkMode iconHandles)

This new API NPPM_ADDTOOLBARICON_FORDARKMODE is for replacing obsolete NPPM_ADDTOOLBARICON which doesn't support the dark mode.
2 formats / 3 icons are needed:  1 * BMP + 2 * ICO
All 3 handles below should be set so the icon will be displayed correctly if toolbar icon sets are changed by users, also in dark mode.
	struct toolbarIconsWithDarkMode {
		HBITMAP	hToolbarBmp;
		HICON	hToolbarIcon;
		HICON	hToolbarIconDarkMode;
	};

Close #9928
2021-06-01 01:36:07 +02:00
Don HO 219dfda6b3 Remove HexEdit via installer due to its crash
Ref: https://github.com/chcg/NPP_HexEdit/issues/51
2021-05-30 11:51:25 +02:00
Adam D. Walling ceca91557b Fix disabled checkboxes in dark mode
Fix the following issue:
https://community.notepad-plus-plus.org/topic/21228/notepad-v8-release-candidate-2?_=1622335986466

Close #9919
2021-05-30 07:52:48 +02:00
Don HO 46b3e3c7b2 Fix wrong plugin toolbar icon display if the ICO format is absent
An empty icon will be displayed after this fix.
2021-05-29 16:56:02 +02:00
Don HO f7a04caca7 Update uzbek.xml 2021-05-29 13:26:36 +02:00
Don HO 5758b99b3e Fix crash on Dark mode under Windows 8
Fix #9911
2021-05-27 19:32:28 +02:00
Don HO 51207a4fe5 Refactoring some code of Dark mode 2021-05-27 03:56:22 +02:00
Don HO 9a2dcaa5f8 Fix plugin icons added on toolbar not taking effect for Fluent UI icon sets
NPPM_ADDTOOLBARICON take structure
		struct toolbarIcons {
			HBITMAP	hToolbarBmp;
			HICON	hToolbarIcon;
		};
as argument, both hToolbarBmp & hToolbarIcon should not be null to take effect.
2021-05-22 01:49:50 +02:00
Don HO 156bde258f Fix the tabbar incoherent alternate icons settings while switching in dark mode 2021-05-20 19:08:32 +02:00
Don HO 585608b456 Update english_customizable.xml 2021-05-18 22:09:11 +02:00
debiedowner 32dce9b54e Add access keys to non-keyboard-accessible menu items
Fix #9875, close #9876
2021-05-18 20:41:18 +02:00
Don HO 6d25b8b908 Add DarkModeDefault.xml into installation package 2021-05-18 19:09:04 +02:00
Don HO 19c3035d5a Fix Dark mode default theme not being applied bug 2021-05-18 17:06:42 +02:00
Don HO 6c19e88242 Fix "Match Whole Word" option being enabled in RegEx Search
Fix #9766
2021-05-16 03:23:10 +02:00
Don HO 0faa139234 Revert "Fix for 'Match Whole Word' option being enabled in Regular Expression Search"
This reverts commit f249fc5902 due to a regression.
To reproduce the regression:
1. Ctrl+f and set to "Regular expression" as Search mode.
2. Press Shift+Ctrl+f to bring up "Find in Files".
3. Note that "Match whole word only" checkbox is missing, and cannot be made to appear.

Ref: #9766 & #9792
2021-05-16 02:03:30 +02:00
rddim da352ef5ad Fix duplicated words in Auto-Completion pop-up window
Fix #9711, close #9867
2021-05-15 23:32:29 +02:00
Scott Sumner e623e76d0b Rename sort randomly menu item, move it and reverse lines out of sorting section
Close #9868
2021-05-15 22:56:38 +02:00
Don HO 71fabb1567 Remove the access of Live Support on Gitter 2021-05-15 13:30:28 +02:00
ccuser44 93c1edd934 Update finnish.xml
Example was not translated.
In finnish it is esimerkki and in this context Esimerkiksi

Close #9787
2021-05-15 01:23:38 +02:00
conky77 a26b1f443d Update Italian.xml
Close #9669
2021-05-15 01:18:05 +02:00
Don HO e248e29f7f Update lacalization files (Taiwanese Madarin & French) 2021-05-14 12:31:25 +02:00
kubalav b2f3d573fb Update Slovak translation
Close #9695
2021-05-13 14:23:20 +02:00
yasmise 37863f47a0 update japanese.xml to v7.9.6
Follow-up to this commit:
* Catch regex search exceptions and show exception message (926e6e97d8)
2021-05-13 14:12:49 +02:00
schnurlos f42748d4b3 Update german.xml
Following 926e6e97d8, 6834d796ab & 874f0d0140

Close #9708
2021-05-13 14:02:21 +02:00
Iñigo Zendegi 7196c1ab7a Update basque.xml (full translation)
Close #9826
2021-05-13 13:17:05 +02:00
xomx d173b24f6d Update czech translation
Close #9749
2021-05-13 13:11:52 +02:00
Scott Sumner a1abe867b9 Add Ctrl+C and Ctrl+A standard keyboard accelerators to Search results context menu
Fix #9824, close #9836
2021-05-13 10:10:54 +02:00
rddim ddc551e0d2 Update Bulgarian localization
Close #9697
2021-05-13 09:21:12 +02:00
miwob 70d7b8504c Update C keyword list
1. Add true/false as per c99 stdbool.h
2. Alphabetize list

Close #9453
2021-05-13 03:32:09 +02:00
ArkadiuszMichalski 50d204f2a8 Update polish.xml
Close #9856
2021-05-13 03:14:25 +02:00
Hugo Carvalho d75068f62e Update Portuguese translation
Close #9737
2021-05-13 01:54:25 +02:00
Edditoria bcb6911527 Update localization: Hong Kong Cantonese...
As at commit 9c66ff9 of this repo.

Close #9773
2021-05-13 01:49:28 +02:00
Tmp341 58b33ecbd7 Update Turkish
* According to 2e7c5e3, 926e6e9, 6834d79, 874f0d0, 4369718, 1ae39c2, cbf3d2c, 1a9307b, e3dbeda, a0177e8, 0dbdef3 and b657f58 commits.

Close #9843
2021-05-13 00:15:26 +02:00
Patriccollu 6162e1ed5c Update Corsican translation
Close #9714
2021-05-12 23:45:21 +02:00
~GOLEM~ 8df5dc41c5 Update russian.xml
Close #9718
2021-05-12 21:10:35 +02:00
Thomas De Rocker 5b83f21df2 Update dutch.xml
Close #9692
2021-05-12 21:04:54 +02:00
debiedowner ddd4448192 Add ability to reverse line order
Fix #9837, close #9839
2021-05-12 03:06:44 +02:00
Don HO 70515c878b Update localization files 2021-05-12 02:16:30 +02:00
Cyberslas 84402e755f Fix Python Function List not showing functions
Functions defined at the top of the file or below a class with nothing in between would not show in the Function List.
This changes the function regex to fix this. A small unit test that the old regex won't pass but the new will included.

Close #9844
2021-05-11 23:48:22 +02:00
l3afblow3r 582a424d55 Add "curlopt_ssl_verifystatus" keyword for PHP
Close #9807
2021-05-11 23:28:26 +02:00
Don HO 69a5438671 Simplify dark mode user interface 2021-05-11 19:21:41 +02:00
Don HO a0f2586102 Fix x64 build error 2021-05-11 04:27:13 +02:00
Don HO c230ccf1bd Fix toolbar icons switching in dark mode makes incoherence in Preferences dialog
ref:
https://github.com/notepad-plus-plus/notepad-plus-plus/issues/9742#issuecomment-836757562
2021-05-11 03:44:48 +02:00
Don HO 2d4640ce42 Update croatian.xml 2021-05-10 15:44:34 +02:00
Don HO bae09252c7 Fix build error 2021-05-10 12:56:52 +02:00
Adam D. Walling 1089e239ba Add the capacity to customize the color of Notepad++ (not only dark)
1. Customizable colors easily handled now by tweaking a few custom drawing implementations.
2. make dark mode less intense by default.

Close #9848
2021-05-10 12:14:03 +02:00
Don HO 4aa459ef47 Switch to default dark theme as dark mode is enabled
1. Add default dark theme.
2. Switch to default dark theme when dark mode is enabled considering both situations:
   Style Configurator is or ont launched.

Close #9847
2021-05-10 09:56:35 +02:00
Don HO db27172ca8 Add Fluent UI icons for Dark mode
Add Fluent UI icons for Dark mode in the toolbar & the tabbar

Fix #9742, close #9831
2021-05-09 17:38:54 +02:00
Scott Sumner 666f228027 Fix function List button tool tips mixed up issue
Swap errant tooltip text for function list sort and reload buttons.

Fix #9804, close #9829
2021-05-05 23:40:53 +02:00
Scott Sumner b657f58580 Add "Copy Pathnames" command to Search results context menu
Fix #9821, close #9822
2021-05-05 23:20:13 +02:00
Scott Sumner 4b7e1ac794 Improve performance of Search results Open all
Fix #9819, close #9820
2021-05-05 22:54:04 +02:00
Don HO dc34284146 Make toolbar compatible with current plugins 2021-05-05 16:47:06 +02:00
Don HO 7d25394244 Add new toolbar icons (Fluent UI)
1. Remove obsolete icon set.
2. Add both Fluent UI & Filled Fluent UI icon sets.
3. Refactoring toolbar code

Fix #9742, close #9808
2021-05-05 14:39:27 +02:00
Don HO cd1a468b1c Make select text foreground color setting optional
Make selected text with syntax highlighting as default behaviour.
To override the default behaviour, user can add an empty xml file named "enableSelectFgColor.xml" (beside of "config.xml") to set the select foreground color in Style Configurator.
2021-05-01 20:02:09 +02:00
Scott Sumner 44b2bef69b Allow selected text foreground color to be changed
Fix #3397, fix #1314, close #9817
2021-05-01 04:28:27 +02:00
Scott Sumner 8339de66d2 Remove obsolete logic with wholeword and MarkAll
Fix #9803, close #9810
2021-04-29 18:32:06 +02:00
Adam D. Walling 85aaef2fba Dark Mode independent of OS setting
Close #9802
2021-04-27 01:38:24 +02:00
Adam D. Walling bd6dbd4bb6 Add dark mode in find/replace dialog
Dark Mode find/replace dialog box! Also supporting buffered paint animation for darkmode checkbox/radiobutton control states

Close #9800
2021-04-26 17:57:22 +02:00
Scott Sumner 0dbdef320f Add MarkAll Preference settings for case and word
Fix #9751 #5148, close #9796
2021-04-26 12:05:35 +02:00
Scott Sumner a0177e8d05 Add pref setting to allow Replace to stop after replacement
Fix #4437, close #9801
2021-04-26 10:26:47 +02:00
Roshni-P f249fc5902 Fix for 'Match Whole Word' option being enabled in Regular Expression Search
Ensured 'Match Whole Word' option is disabled in Regular Expression Search.

Fix #9766, close #9792
2021-04-26 04:29:08 +02:00
Udo Hoffmann 9734d81f32 Fix a special character in UTF16 file crash issue (regression)
Fix UTF iterators end too early.
This regression (https://github.com/notepad-plus-plus/notepad-plus-plus/pull/9599#issuecomment-825654605) is introduced via 38bf76e843

Close #9797
2021-04-26 03:16:48 +02:00
Christian Grasser 6750be3432 Fix for darkmode build with mingw
Close #9789
2021-04-24 06:23:33 +02:00
Adam D. Walling 5a3bf49c86 Add Dark Mode for not attracting bugs
Toolbar, status bar, tab bar, menu bar, dark scrollbar, handle switching between light and dark, docking splitters and headers, flicker fixes. Minor tweaks to DarkMode.h. Mostly handles the dark mode request for the main interface for #7692 and also follows the windows system theme settings like #9183.

Fix #9183, fix #7692, close #9587
2021-04-23 16:22:57 +02:00
mere-human acdc2517c6 Fix regression: Handle "Default Directory" setting correctly in Open/Save File Dialog
IFileDialog doesn't modify the current directory unlike the old file
dialog. Now the last used directory is remembered each time the user
changes directory and then set as working directory if needed.

Fix #9767, close #9775
2021-04-22 19:18:43 +02:00
Don HO d0afc51621 Add ARM64 support for auto-update feature 2021-04-22 05:20:54 +02:00
Don HO f6856626e0 Fix ARM64 installer copying binaries to 32-bits applications' folder 2021-04-22 02:47:18 +02:00
Don HO a459523659 Fix Notepad++ ARM64 version refusing to load plugins in ARM64 version 2021-04-21 23:24:05 +02:00
Don HO 266ca29861 Add ARM64 packages for the official distribution 2021-04-21 20:42:01 +02:00
Don HO 4207e2516d Add ARM64 support to NppShell 2021-04-21 17:34:38 +02:00
Don HO 6e7b47faf8 Fix typo in installer for Fortran 2021-04-21 06:28:18 +02:00
Don HO b09fb1e719 Remove SciLexer.dll from the packaging 2021-04-17 17:32:52 +02:00
Christian Grasser ab58c8ee3e One button to compile them all
1. Build Notepad++ with Scintilla static lib (libscintilla.lib) and Boost (v1.76) RegExpr.
2. ARM64 build is available.

Fix #5158, close #9594
2021-04-17 05:55:10 +02:00
Scott Sumner 9c66ff9c71 Fix Copy command in Search result is available as there's no selection
Disable Search Results Copy (verbatim) command if no selected text.

Fix #9757, close #9764
2021-04-16 02:52:52 +02:00
Don HO 15b7a26c87 Remove unecessary const type qualifier 2021-04-16 02:37:05 +02:00
mere-human e3dbeda4c9 Add "Append extension" checkbox to Save As dialog
Add "Append extension" checkbox to Save As dialog for replacing option "Save dialog file extension filter to *.*" in Preferences dialog.

Fix #9515, close #9732
2021-04-16 01:27:32 +02:00
Don HO af56713079 Change name of programming language from Nimrod to Nim
Fix #9768
2021-04-15 03:40:30 +02:00
Don HO 94dffc6da8 Fix inacurate ratio in Distraction Free mode 2021-04-14 04:38:07 +02:00
Don HO 432ad06108 Enhance Distraction Free mode: make dockable panels free 2021-04-14 03:39:25 +02:00
Don HO 90016a8dc0 Enhance Distraction Free mode by hidding another view 2021-04-13 03:38:40 +02:00
Don HO 55de911be5 Fix the 1st document title "new 1" is not translated
1ae39c2dda (commitcomment-49174136)
2021-04-12 17:32:19 +02:00
Don HO 1a9307b02d Add padding options in the edit zonze
Fix #2323
2021-04-11 19:59:30 +02:00
Don HO cbf3d2c9cb Add new feature "Distraction Free Mode" 2021-04-09 19:55:55 +02:00
Don HO 92038c1653 Make struct VisibleGUIConf conform to coding standard 2021-04-07 18:02:30 +02:00
Don HO 1ae39c2dda Make new tab name translatable
Fix #2837
2021-04-06 18:54:38 +02:00
Don HO a349764b4a Remove unnecessary const 2021-04-06 17:52:56 +02:00
Scott Sumner f6cb772e61 Reword Run menu entry name
Close #9728
2021-04-04 18:17:35 +02:00
Christian Grasser 4cdd96f020 Add ada, fortran, fortran77 & haskell in function lists
- added missing unittest for c
- added further function lists for ada, fortran, fortran77, haskell from previous PR of MAPJe71_functionlist_update3
- added simple rust function list
- unittest files from the internet probably no complex ones
- added to installer

Fix #9698, close #3393, close #9727
2021-04-03 15:45:51 +02:00
Don HO 5bc3ccf469 Fix dragged out UDL file is not applied to UDL in the new instance
The workaround is: in case of UDL, "-lLANG" argument part is ignored.
We let new instance detect the user lang type via file extension - it works in the most of case, except if user applies an UDL manually.
For example,  this workaround won't work under the following situation:
user applies Markdown to a file named "myMarkdown.abc".

Fix #3451
2021-03-31 03:55:09 +02:00
jofon ca07ac69c7 Enhance Folder as Workspace performance while adding/removing files in bulk
Added batch processing of added and removed files in Folder as Workspace.

Fix #9203,close #9651
2021-03-30 14:08:59 +02:00
Don HO 70762b1a03 Fix Auto-Complete ignore case issue
Fix #3997, fix #4833, fix #4998
2021-03-30 03:46:28 +02:00
Scott Sumner 4369718925 Add ability to style only current instance of text
Fix #9263, close #9684
2021-03-29 23:35:38 +02:00
Scott Sumner 09d6241686 Fix sort with column key selection that appears after tab characters
Fix #9682, close #9683
2021-03-29 03:43:00 +02:00
jofon c29240d78a Fix "Reload Workspace" menu command not working issue
Now forces the workspace to be opened when the user accepts that reloading will discard all modifications

Fix #9350, close #9696
2021-03-28 21:04:29 +02:00
Scott Sumner cae2f77daf Add command line parameter for adding specified string to app title bar
Fix #9539, #9704
2021-03-28 04:18:23 +02:00
jofon bdae2aef92 Fix view file in Edge failure issue if name contains spaces
Added Edge to the same case as the other browsers, which substitutes spaces for %20, and opens the files as expected and add legacy edge as a backup in case the new edge isn't found.

Fix #9313, close #9677
2021-03-27 19:34:55 +01:00
Scott Sumner 874f0d0140 Add ability to avoid accumulating multiple search results
Fix #8777, close #9653
2021-03-27 18:19:54 +01:00
Simon Sobisch da61b1d949 Add an option in installer to install COBOL autocomplete
follow-up to adae1922cf

Close #9672
2021-03-27 03:43:40 +01:00
Udo Hoffmann 6834d796ab Replaced UCS-2 by UTF-16, removed unused UniConversion.* 2021-03-27 03:00:14 +01:00
Udo Hoffmann 38bf76e843 Fix UTF-16 decoding/encoding for code points above U+FFFF
Fix #9597, fix #3747, fix #5754, close #9599
2021-03-27 02:50:51 +01:00
mere-human dc106a4c95 Add Cloud Config and Command Line Arguments to Debug Info
Fix #9598, close #9607
2021-03-26 15:33:01 +01:00
Scott Sumner f308539abe SaveAs moves original path to recent files history
Fix #9673, close #9678
2021-03-26 14:00:01 +01:00
Scott Sumner 6bfe9d289c Widen Default Language control in Preferences for New Document
Close #9647
2021-03-26 01:25:06 +01:00
Udo Hoffmann 926e6e97d8 Catch regex search exceptions and show exception message
Fix #9565, close #9566
2021-03-24 01:24:24 +01:00
Scott Sumner 854f49c61c Fix typo: FINFER -> FINDER
Close #9688
2021-03-23 23:35:59 +01:00
Don HO 0c0a5d2097 Add 2 new easter eggs for the upcoming Easter Sunday 2021-03-23 01:57:37 +01:00
Don HO 4399c1343b Notepad++ 7.9.5 release 2021-03-22 22:46:05 +01:00
Don HO 633dcbad5e Fix installer error if problematic plugin is absent 2021-03-22 03:27:44 +01:00
Don HO aa22ee21cc Add a new quote 2021-03-21 01:12:30 +01:00
mere-human ad3a6ea2f6 Fix file doesn't save as extension type on Windows 7
Initialize file dialog window procedures later so that
all the controls have been created by this moment.

Fix #9657, close #9674
2021-03-20 23:17:05 +01:00
Don HO 805ff42cd4 Update slovenian.xml 2021-03-18 17:58:30 +01:00
conky77 9c471cd0a2 Reorder translation item nodes in Italian.xml
Set new order as English.xml.

Close #9635
2021-03-18 16:20:30 +01:00
schnurlos 39b7604107 Update german.xml
Close #9628
2021-03-18 15:58:08 +01:00
snxx-lppxx 3d6bb7ae06 Fix some inaccurate translation in kazakh.xml
Close #9625
2021-03-18 15:39:32 +01:00
mere-human cd738bcff7 Fix UNC path with quotes handling in folder & file Open/Save dialog
Remove a workaround for double backslash that leads to problems.
Originally, the double backslash workaround was needed to address #5368.
But now, the app isn't stuck when such path is used, so the problem is gone.

Fix #9582, close #9666
2021-03-18 15:31:03 +01:00
Don HO f44e6c4c06 Fix SaveAsAdmin plugin incompatibility with Notepad++ 7.9.3 issue
The installer will check the version of SaveAsAdmin plugin and remove all the versions of SaveAsAdmin plugin which doesn't contain the fix.

Fix #9514
2021-03-18 01:45:57 +01:00
Don HO 58f0a61770 Notepad++ 7.9.4 release 2021-03-15 01:37:51 +01:00
Edditoria b1ba14b922 Update localization: Hong Kong Cantonese
As at commit 3a4d1ac of this repo.

Close #9624
2021-03-14 19:50:34 +01:00
Udo Hoffmann aaab4607c1 Fix Find button not enabled in Find in Files section regression
Ref: https://github.com/notepad-plus-plus/notepad-plus-plus/issues/8125#issuecomment-798801190

Close #9654
2021-03-14 19:31:08 +01:00
rddim 3a4d1acad3
Update Bulgarian localization
Close #9547
2021-03-09 00:02:00 +01:00
schnurlos 1ef9b94581
Update german.xml
Following last changes of english.xml

Close #9596
2021-03-08 23:55:39 +01:00
popcorner ed347fae90
Update chineseSimplified.xml
Close #9622
2021-03-08 23:52:16 +01:00
Patriccollu 4f64597762
Fix wrong translation ID in 2 localization files
Close #9616
2021-03-08 18:24:57 +01:00
yasmise 1f2c63cce1
Update japanese.xml to v7.9.4
Follow-up to these commits:
* Add an option to mute all sounds in preferences dialog (6e43ba6ea5)
* Make tab splitter menu and incremental search translatable (35584b379f)

Close #9559
2021-03-08 13:14:27 +01:00
Haoran Du 7c73faba57
Fix a interface error(missed a "$" symbol) in Chinese localization
Close #9589
2021-03-08 13:08:18 +01:00
conky77 e27c125ef7
update italian.xml to v7.9.4
Close #9619
2021-03-08 13:02:34 +01:00
xomx 63760073ef
Update Czech translation to v7.9.4
Close #9610
2021-03-08 00:36:42 +01:00
Tmp341 c6088dbcdf
Update Turkish localization
* According to d6c9410, d5ad025, e26199a and 41c4180 commits.

Close #9531
2021-03-07 20:59:32 +01:00
Thomas De Rocker cc17f69a37
Update dutch.xml
Update Dutch translations according to 35584b379f and 6e43ba6ea5 (diff-a6ac7ceba70d88bf1547fd1defd760bd55052dcdb78c44f9d46d99ef1f450472)

Close #9541
2021-03-07 20:32:39 +01:00
Patriccollu 663b6471d1
Update Corsican translation for Notepad++ 7.9.4
Close #9571
2021-03-07 20:00:47 +01:00
~GOLEM~ e1df2ed032
Update russian.xml to v7.9.4
Close #9576
2021-03-07 19:55:21 +01:00
ArkadiuszMichalski 03332eca82
Update polish.xml to 7.9.4
Update polish.xml to 7.9.4 (according to the latest commit).

Close #9615
2021-03-07 19:52:26 +01:00
conky77 b4d8b1d5b0
Update Venetian.xml v7.9.4
Close #9614
2021-03-07 19:19:08 +01:00
Don HO 2e7c5e3e89
Update localization files 2021-03-07 17:34:10 +01:00
Don HO 68c537f697
Fix Find in Projects replace confirmation message localization problem 2021-03-07 17:05:02 +01:00
Udo Hoffmann a044cefe7c
Fix Project workspace changes lost on save cancel
Fix #9605, close #9609
2021-03-06 23:23:12 +01:00
Don HO 47ca5281fe
Revert "Improve high-dpi display"
This reverts commit 1364b199b4.

3 ways we can choose:
1. PerMonitorV2: it would be the ideal solution if there were no custom control in Notepad++ : some part of the custom controls like panels and Find dialog are not rendered properly in PerMonitorV2 mode.
2. PerMonitor: in v7.9.3 WM_DPICHANGED message was not processed and that makes Notepad++ unusable under a high resolution monitor.
3. Without "PerMonitor" feature: (as in v7.9.2), it will be a little bit blurry, but at least the system resizes all parts of application correctly

This commit revert the modification in v7.9.3 and go back to the way in v7.9.2 (Without "PerMonitor" feature).
It's not easy to solve this issue, all I can do is choose the "less worst" way, just like people in world-wide vote for choosing their political leader.

Fix #9513, fix #9579
2021-03-04 01:28:12 +01:00
Don HO 4b0010c4c3
Fix regression in "Find Result" field due to Scintilla upgrade
Fix #9595
2021-03-03 20:01:16 +01:00
Udo Hoffmann 5c884a80c6
Add "Find in Projects" features
Close #8125, close #9534
2021-02-27 23:58:17 +01:00
mere-human 91a570a305
Fix folder picker not displying as the given directory is invalid issue
Fix #9569, close #9570
2021-02-25 16:43:23 +01:00
mere-human 064d844a41
Fix handling of network path (UNC path) in CustomFileDialog
Use STL algorithms for path transformation.

Fix #9527, close #9551
2021-02-22 19:09:37 +01:00
QoL 26dad277c9
Fix shortcut name more than 64 characters makes an empty name issue
Fix #9556, close #9543
2021-02-22 05:05:41 +01:00
mere-human f96d81af11
Fix extension appending issue in file dialog
Fix #9510, close #9532
2021-02-22 03:58:30 +01:00
Udo Hoffmann 75bcb7c536
Fix file not turning dirty (with Session Manager plugin) issue
Fixes #9475, close #9498
2021-02-22 03:30:13 +01:00
Don HO d7819cf601
Upgrade Scintilla from v4.2.0 to v4.4.6
Close #8900, close #9550
2021-02-21 19:14:40 +01:00
Don HO dbac42edd0
Use unary operator '!' instead of "not" 2021-02-20 04:44:34 +01:00
Don HO 1eaaf45d87
Add needed space in "Window dialog"
Fix #9542
2021-02-20 03:44:37 +01:00
mere-human 35584b379f
Make tab splitter menu and incremental search translatable
Rename menu IDs in tab splitter to be in English.
Relocate some controls in incremental search dialog to ease translation.

Fix #8955, close #9496
2021-02-19 04:00:02 +01:00
mere-human 6e43ba6ea5
Add an option to mute all sounds in preferences dialog
Fix #7950, close #9507
2021-02-19 03:46:52 +01:00
Victor Istomin ea33a0cb76
Add JSON syntax highlightning to the Obsidian theme
Close #9503
2021-02-18 02:42:00 +01:00
Vince 69e6eb26a3
Make JSON auto-indent for brace
Fix #9499, close #9504
2021-02-18 02:33:13 +01:00
Don HO f576559eaa
Add some spiritual quotes 2021-02-16 03:05:29 +01:00
Don HO 16c8198915
Update Slovenian localization to v7.9.3 2021-02-15 21:08:19 +01:00
Don HO 994b10c18d Notepad++ 7.9.3 release 2021-02-15 01:43:19 +01:00
Don HO 949a777ee5
Fix the issue that zip/7z packages contain still GPL v2 2021-02-10 21:04:12 +01:00
Don HO 4b30d1b786
Fix typo in French localization file
Fix #9492
2021-02-10 18:49:07 +01:00
Don HO 3419a749d9 Change Notepad++ binary description
https://community.notepad-plus-plus.org/topic/20678/gnu-source-code-editor-error-on-close?_=1612738141494&lang=fr

Fix #9489
2021-02-07 23:24:25 +01:00
Don HO 5155dfed9d
Synchronize GUP localization file with Notepad++ in installer
During the installation, GUP localization file will be synchronized with Notepad++ chosen localization.
So updater will show the same installed language of Notepad++ in the dialogs if the language is avalable in GUP.
2021-02-07 00:15:51 +01:00
Don HO a4d7f77016
Fix regression of installer which cannot be launched
The regression is due to commit "Drop XP in installer" (ca1bcb1ec0).
2021-02-06 15:23:15 +01:00
Don HO 541b4d1c7a
Add new localization file abkhazian.xml 2021-02-05 15:53:07 +01:00
conky77 821e3edfb7
Update italian.xml v7.9.3
Close #9469
2021-01-30 19:48:34 +01:00
mere-human 5a45674c36
Fix miss-treating browsing folder as saving file issue in FileDialog
Improve file name parsing.
Use the absolute path to check if a file name is a directory.
Expand environment variables if they are part of the file name.
Avoid unnecessary calls to onPreFileOk().

Close #9467
2021-01-29 23:11:16 +01:00
Thomas De Rocker c677b15d82
Update dutch.xml
Close #9466
2021-01-29 20:18:39 +01:00
Artem Polivanchuk 5a77553631
Update ukrainian.xml
Close #9314
2021-01-28 20:34:40 +01:00
conky77 8e19014df7
Update venetian.xml
Close #9301
2021-01-28 20:30:46 +01:00
xomx a838607e2b
Update czech.xml to v7.9.3
Close #9391
2021-01-28 15:10:09 +01:00
yasmise ad3a86d60f
Update japanese.xml to v7.9.3
Follow up to these commits:
* Make find/replace in files progress translatable (d6c941034d)
* Improve option for setting save dialog filter to All Types (d5ad02521e)
* Make 1 section name of Preferences more explicit (e26199ab51)
* Make "Save Folder as Workspace" in Save Session dialog translatable (41c4180b2e)
* Fix spelling inconsistencies

Close #9376
2021-01-28 14:07:12 +01:00
kubalav e2d6cb2356
Update Slovak translation to 7.9.3
Close #9462
2021-01-28 13:36:46 +01:00
~GOLEM~ 5872d779df
Update russian.xml to 7.9.3
Close #9458
2021-01-28 05:06:12 +01:00
schnurlos 34e73c3f5b
Update german.xml v7.9.2
Following https://github.com/notepad-plus-plus/notepad-plus-plus/pull/9333

Close #9351
2021-01-28 03:04:44 +01:00
rddim 1916fba771
Update Bulgarian localization
Close #9369
2021-01-28 03:02:17 +01:00
Edditoria 27b68e06c3
Update localization: Hong Kong Cantonese
As at commit 41c4180 of this repo.

Close #9401
2021-01-28 02:59:47 +01:00
Patriccollu d773f4bb0b
Update Corsican translation for Notepad++ 7.9.3
Close #9424
2021-01-28 02:57:24 +01:00
ArkadiuszMichalski ec465516bf
Update polish.xml to v7.9.3
Update polish.xml to 7.9.3. Also include typo from https://github.com/notepad-plus-plus/notepad-plus-plus/pull/9405.

Close #9457
2021-01-28 02:53:44 +01:00
Don HO adce1a8ea3
Update localization files to v7.9.3 2021-01-27 18:50:28 +01:00
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