Commit Graph

2879 Commits

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Fix #6086, fix #5831, fix #7854
2020-02-24 03:57:15 +01:00
pan93412
4d5abdf1c8 Make some Chinese translation more accurate
Close #7954
2020-02-20 16:54:53 +01:00
Hen Ry
7c40030a10 Fix an entry in german.xml
Close #7953
2020-02-20 15:46:55 +01:00