Commit Graph

3154 Commits

Author SHA1 Message Date
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