Commit Graph

2345 Commits

Author SHA1 Message Date
Udo Hoffmann
87dc9cc5d2
Fix Load project file by dragging doesn't work
Make workspace (project) & session xml setting files consistent while their file extensions are defined in Preferences dialog:
1. If I specify a session file in the command line (, or if I double-click a session file in the Explorer), not the session file itself is opened, but the session stored in it.
2. If I specify a workspace file in the command line (, or if I double-click a workspace file in the Explorer), not the workspace file itself is opened, but the Project Panel 1 switches to the specified workspace file.
3. If I specify a session file in the `File` menu `Open Ctrl-O`, not the session file itself is opened, but the session stored in it.
4. If I specify a workspace file in the `File` menu `Open Ctrl-O`, not the workspace file itself is opened, but the Project Panel 1 switches to the specified workspace file.
5. If I drag a session file to Npp, not the session file itself is opened, but the session stored in it.
6. If I drag a workspace file to Npp, not the workspace file itself is opened, but the Project Panel 1 switches to the specified workspace file.

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

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

cherry picked from commit 70e746b7a8fe44c9a1e724581ceb3b457138a474

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

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

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

Fix #2287, close #8326
Fix #442, fix #675, fix #813, fix #870, fix #1621, fix #3458, fix #4056, fix #4086, fix #4490, fix #8305
2020-06-12 19:16:39 +02:00
Don HO
97a6862d82
Remove outdated quotes 2020-06-11 02:40:14 +02:00
Udo Hoffmann
6602840117
Fix block selection cursor position after TAB
Fix #8400, close #8402
2020-06-11 02:27:36 +02:00
Don HO
b9c526dfcb Notepad++ 7.8.7 release 2020-06-09 00:02:00 +02:00
Don HO
5e262c8122
Add an non-UI option to allow regEx backward search
Set "regexBackward4PowerUser" to "yes" in config.xml to eanable this option.
2020-06-05 00:56:25 +02:00
PeterCJ
18105aa882
Make cpp the first extension for C++
Since save-as appends the first extension from the list to all files, the first extension for C++ should be cpp, not h

Close #8368
2020-06-04 17:42:01 +02:00
Don HO
69ef27b654
Improve new style save file dialog
The right file extension (which correspond to document type) is selected while saving a new file in the new style save file dialog.
2020-06-03 14:32:43 +02:00
Don HO
fa51c2af6e
Make URL hover foreground colour work again 2020-06-03 01:57:12 +02:00
Udo Hoffmann
c891c593d3
Fix clickable link regression
Fix #8354, close #8355
2020-06-01 14:03:25 +02:00
Don HO
fce153a5fe Fix x86 build error 2020-05-31 12:21:59 +02:00
Don HO
a49f027195
Mutual Recursion
The creation of Notepad++ is due to my need for a decent editor to edit the source code of Notepad++
2020-05-30 23:37:01 +02:00
Don HO
d4124108bc
Enhance Save file dialog
Make file extensions shorter in the file extension list for Save file dialog, so it displays more nicely while user clicking the drop down commbobox.
2020-05-30 18:40:57 +02:00
Udo Hoffmann
f821f73110
Fix Document Map regression under Windows 7
Fix #8335, close #8336
2020-05-29 19:54:39 +02:00
Udo Hoffmann
b73721f0b4
Add sub-menu bullets for cascaded Encoding and Language menus
Fix #8327, close #8328
2020-05-29 02:56:41 +02:00
Scott Sumner
7cf43795ac
Add right-click context menu to bookmark margin
Close #8319, close #8320
2020-05-28 19:18:08 +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
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
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
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
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
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
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
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
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
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
Don HO
cfa3041c4d
Enhancement of preventing from null pointer exception of localtime
Fix #7952
2020-02-18 05:14:21 +01:00
Scott Sumner
d3cb2ceb36
Add external sound control capability for unsuccessful search bell
Fix #7950, close #7951
2020-02-17 03:37:18 +01:00
Don HO
1c55e0daa7
Fix loading localization file (-L) not working regression 2020-02-15 04:52:46 +01:00
Don HO
f3261f8620
Fix auto-updater disabling not working
Fix #5375
2020-02-14 01:33:16 +01:00
Scott Sumner
4eac7d8e94
Make Count command respect Backward-direction and Wrap-around options
Fix #7876, close #7917
2020-02-09 19:19:33 +01:00
Scott Sumner
4cc6215e63
Implement issue 905 to make Find window remember its position across runs
Close #905, close #7898
2020-02-07 23:31:29 +01:00
gnodarse
fcf00c7f53
Fix broken link
Close #7919
2020-02-06 13:14:01 +01:00
Don HO
a6b02b5803
Add a quote from Alexandria Ocasio-Cortez
"No one ever makes a billion dollars.
You TAKE a billion dollars."
2020-02-01 09:56:22 +01:00
Don HO
5c069cfa24
Add Irish localization file 2020-01-31 03:13:36 +01:00
Don HO
1eb5f43886 Notepad++ release 7.8.4 2020-01-30 02:07:41 +01:00
Don HO
6e6341cc61
Make some codes conform to the defined coding style 2020-01-28 02:20:44 +01:00
Waldi Ravens
0db5b6d3d8 Fix HashFromDlg title bar localization issue
Fix #7884, close #7885
2020-01-27 10:36:07 +01:00
Christophe Meriaux
5d1dcc1253 Fix regression of double clicking a found in files result while Word-Wrap is on
Regression: Double click a found in files result while Word-Wrap is on, if file hasn't been opened, then file will be opened but Notepad++ doesn't go to the found word position.

Fix #7865, close #7872
2020-01-23 13:40:32 +01:00
Don HO
8fdfc4c2ac Notepad++ release 7.8.3 2020-01-15 22:56:55 +01:00
Don HO
648889dcb7 Remove a warning of compiling 2020-01-12 19:35:38 +01:00
Don HO
638ff65ba1
Reformat some codes 2020-01-10 20:11:36 +01:00
Don HO
87d6cd1d04 Adapt VS2019 2020-01-09 10:36:44 +01:00
conky77
30bf629858 Add Venetian localization
Close #7770
2020-01-08 10:08:16 +01:00
Don HO
b338282f91
Add Visual Studio project file extension as xml file
Fix #7822
2020-01-06 20:07:48 +01:00
Don HO
062ec3e726
Simplefy the commit 9387dcdaef 2020-01-06 13:40:49 +01:00
Don HO
563530379f
Better comment 2020-01-06 13:27:56 +01:00
Christophe Meriaux
9387dcdaef
Fix restoring line position issue while document is wrapped
If you switch between tabs while wrap mode is enable, text jump to another lines.
It's an old bug, fixed in v7.5.9, but it had performance regression so it was reverted in v6.0.0.

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

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

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

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

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

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

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

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

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

(Use your shell to replace powershell)

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

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

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

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

Close #7701
2019-12-08 21:33:12 +01:00
Don HO
5a2147ef39 Notepad++ release 7.8.1 2019-12-05 13:04:43 +01:00
Don HO
b3419ad00d
Fix a typo 2019-12-04 01:32:24 +01:00
Pavel_Blend
6f56b44118
Add python keywords
Close #7613
2019-12-01 22:45:00 +01:00
~GOLEM~
c5eb6f757d
Increased size the field for localizations.
Close #7640
2019-12-01 22:28:55 +01:00
Scott Sumner
c858a2ab5d
Make 'Purge for each search' respect 'In selection' for 'Mark All' op
Fix #7663, close #7664
2019-11-30 16:34:03 +01:00
Don HO
f44c357999
Add tooltip for filter usage in Find in Files dialog 2019-11-22 14:28:13 +01:00
Scott Sumner
90176b21ae
Make 'Clear all marks' respect 'In selection' choice
Fix #6271, close #7636
2019-11-22 01:21:28 +01:00
Ale
dc48cee5f7
Add find in files filter excluding ability
Filter usage example:
*.* !*.exe !*.obj !*.log

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

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

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

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

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

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

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

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

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

Actual Behavior:
Nothing happens after step 5.

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

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

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

Fix #6258, close #7516
2019-11-07 22:29:21 +01:00
Christian Grasser
c741f83bde
Update makefile for mingw gcc builds
Close #4145
2019-11-07 22:13:47 +01:00
Don HO
cf7e373dca
Add shortcuts to Save or not dialog
ALT-Y for Yes
ALT-N for No
ALT-C for Cancel
ALT-A for Yes to all
ALT-O for No to all
2019-11-06 23:43:08 +01:00
Don HO
fce74dd894
Revert "Fix multi-line tab button stay pushed issue while swiching off."
This reverts commit 8342da3df8 to fix a regression (#7509) which has been done to fix #3545.

Fix #7509
2019-11-06 00:55:03 +01:00
Scott Sumner
f477c095aa
Remove association check before enabling 'View Current File In' menu items
Fix #5903, close #6156
2019-11-02 01:17:21 +01:00
Don HO
7216849723
Add 8 story 2019-11-01 23:21:37 +01:00
Don HO
3ee5615c5f Notepad++ new release v7.8.1 2019-10-29 02:41:19 +01:00
Palash Bansal
f05fedda76
Fix issue for Alt+Tab doesn't show Notepad++ (Windows 7)
Issue is because of Tool window being used instead of normal window for these 2 dialogs- "Close All" and "Rename"
Known issue already discussed on- https://stackoverflow.com/questions/3760571/showdialog-makes-app-window-disappear-from-windows-alt-tab-list

Excerpt from https://docs.microsoft.com/en-us/windows/win32/winmsg/extended-window-styles -

WS_EX_TOOLWINDOW 0x00000080L	The window is intended to be used as a floating toolbar. A tool window has a title bar that is shorter than a normal title bar, and the window title is drawn using a smaller font. A tool window does not appear in the taskbar or in the dialog that appears when the user presses ALT+TAB. If a tool window has a system menu, its icon is not displayed on the title bar. However, you can display the system menu by right-clicking or by typing ALT+SPACE.
DS_MODALFRAME is added for "Close All" dialog, because after making it normal window, it started showing default empty windows file icon.

Fix #6244, close #6252
2019-10-24 09:56:47 +02:00
Waldi Ravens
88a2f68f05
Fix typo
Close #6233
2019-10-21 10:47:00 +02:00
Waldi Ravens
8e78307951 Fix initialization of _monospacedFontFinfDlg parameter 2019-10-19 09:23:26 +02:00
Don HO
e5d83dbc00
Update some localization files 2019-10-18 13:38:57 +02:00
Don HO
dde38183d3
Make monospaced font in Find dialog optional
Default value is disabled (old behaviour).
2019-10-17 14:16:10 +02:00
Don HO
bd95534ab2
Put an item of Preferences dlg in its right place. 2019-10-16 23:04:05 +02:00
Rajendra Singh
c16f7bbc1e
Fix a regression regarding notepad replacement issue
Fixed command line parsing logic error.

Root cause:
When you double click a file (where NPP has already replaced original Windows Notepad.exe) command like something like below is generated -

-notepadStyleCmdline -z "C:\WINDOWS\system32\NOTEPAD.EXE" F:\FakePath\PowerEditor\bin\change.log

After processing this command line, final command line is left as " F:\FakePath\PowerEditor\bin\change.log while others are ignored. Notice, quote " here just before the actual file path.

Later on, MS PAI ::PathIsRelative treats it as relative path because of quote " rather considering single file. It is expected too as per input to this API.

Now, notepad++ tries to open all the file from path F:\FakePath\PowerEditor\bin\ (in above case) along with file F:\FakePath\PowerEditor\bin\change.log.

Close #6215, fix #6211
2019-10-14 02:18:12 +02:00
Don HO
a739eade8e
Plugin list updater (in progress) 2019-10-13 21:48:27 +02:00
Don HO
45d4c8d35c Notepad++ 7.8 release 2019-10-11 01:41:48 +02:00
Don HO
29919bea22
Fix indent guideline bug regarding Python-like languages and non-Python-likes ones 2019-10-07 00:45:16 +02:00
Don HO
445dc5ebc1
Fix a memory leak for NppParameters
Fix a memory leak due to not releasing allocated memory for NppParameters while quitting Notepad++
2019-10-05 20:51:29 +02:00
Don HO
5cf296ee10
Remove Author from About and add Online Document to menu
Remove Author link from About dialog and add Online Document link to menu
2019-10-05 17:07:39 +02:00
Don HO
10f6ff6c1f
Fix a crash (regression) due to "new-less" of NppParameters
The commit 'Make NppParameters singleton "new-less"' make NppParameters instantiate in the stack instead of allocating in the heap:
3dbb2c4b8e

It makes Notepad++ crash:
https://community.notepad-plus-plus.org/topic/18316/notepad-7-8-release-candidate-3/4

The crash is on following code:

  vector<MacroShortcut> & vShortcuts = NppParameters::getInstance().getMacroList();
  size_t nbItems = vShortcuts.size();
  for (size_t itemIndex2 = 0; itemIndex2 < nbItems; ++itemIndex2)
  {
  ...

vShortcuts.size() here return a random large number, which makes crash.

The explanation about vector::size() unexpected behaviour:
https://stackoverflow.com/questions/30548944/c-vector-size-is-wrong-and-higher-than-the-number-of-elements

Obviously the stack size is not large enough to contain NppParameters singleton in 64 bits.
2019-10-03 14:05:50 +02:00
Don HO
fcaef73769
Fix macro playback crash issue
The crash issue is due to a mutex locked twice which should be a dead lock but a "device or resource busy" exception is lauched:
https://stackoverflow.com/questions/16664375/why-locking-a-stdmutex-doesnt-block-the-thread

From 7.8 the standard mutex is used, that changes the behaviour.
2019-10-02 03:18:31 +02:00
Oirfeodent
c92b3ca578
BaanC Add keyword lists and respective langs & styler xml tags
PR #6081 added the required keyword sets for BaanC.
Continuation of #5807 and the last change to enable all available scintilla keyword sets.

Close #6128
2019-09-25 09:53:25 +02:00
Don HO
53d2ca4dd9
Add a good geek joke 2019-09-15 23:34:35 +02:00
Scott Sumner
797fdc340d
Fix File-Rename failing when new name is on a different drive
Fix #1978, close #6111
2019-09-02 23:39:41 +02:00
Don HO
581aff630a
Use standard C++11 mutex
And remove unecessary files

Close #6093
2019-08-25 23:34:30 +02:00
Don HO
3439071c3c
Remove ATL (part two)
Use std::lock_guard instead of CComCritSecLock<CComAutoCriticalSection>

 Close #4320
2019-08-25 02:09:17 +02:00
Don HO
ec5fa6d2c4
Remove ATL (part one)
Use std::wstring instead of CStringW
2019-08-25 00:14:42 +02:00
Oirfeodent
d5c0ef2c77
Increase Keyword Set for the adaptation of new updated Scintilla
This will enable languages having more than 7 keyword sets to use it.

"You can set up to 9 lists of keywords for use by the current lexer. keyWordSet can be 0 to 8" :
https://www.scintilla.org/ScintillaDoc.html#SCI_SETKEYWORDS

Fix #6020, close #6081
2019-08-23 11:29:45 +02:00
Scott Sumner
e102ecb919
Fix find 2 occurrences in original/clonned doccuments issue
Fix for Find-All-in-All-Opened-Documents searching a cloned document two times, and reporting same results two times.

Fix #6704, close #6705
2019-08-22 12:53:43 +02:00
Don HO
ab46fe0806
Code enhancement: remove duplicated code 2019-08-22 01:19:22 +02:00
luisffranca
0d87d37d35
Handle Ctrl+A keyboard shortcut in MD5/SHA256 Generators
Added new window procedures for the HASH_PATH_EDIT/HASH_RESULT_EDIT
and HASH_TEXT_EDIT/HASH_RESULT_FOMTEXT_EDIT controls, where Ctrl+A
is now processed.

Fix #3863, close #3898, close #6034, close #6059
2019-08-22 00:50:13 +02:00
Oirfeodent
025236be6b
Enhance BaanC language support
Changes for BaanC based on new Scintilla Version.

Close #5807
2019-08-20 12:56:03 +02:00
Scott Sumner
132441867e
Bookmark all lines of multiline match
Fix #6018, close #6040
2019-08-20 00:51:01 +02:00
Scott Sumner
f6d6e42ac1
Fix "clear all marks in find dialog also removes bookmarks" issue
Fix partially "clear all marks in find dialog also removes bookmarks" issue:
* Bookmark line unticked: Clear all marks button press clears only all redmarking
* Bookmark line ticked: Clear all marks button press clears all redmarking and all bookmarks

Fix #3546, close #6042
2019-08-19 12:50:51 +02:00
Don HO
93a9962fde
Code enhancement: Use C++11 =default & =delete for the constructor & destructor 2019-08-19 02:05:21 +02:00
Rajendra Singh
3a1244177c
Code enhancement: Function arguments pass by reference
Close #6063
2019-08-18 01:16:23 +02:00
Nikita Kolotov
0bf3eea08a
Code enhancement: add std qualificator
Fixed build failure caused by use of function std::make_pair without qualificator.

Fix #6051, close #6052
2019-08-17 10:24:58 +02:00
Nikita Kolotov
e74cb34e22
Code enhancement: remove use of deprecated function std::bind2nd
Fixed use of deprecated function std::bind2nd.
2019-08-17 10:20:17 +02:00
Nikita Kolotov
d38559b339
Code enhancement: add base class template qualifier
Fixed build failure with "/permissive-" option caused by use of members of dependent base class template without qualifier.
2019-08-17 10:13:08 +02:00
Don HO
66fc977304
Pass VS Toolset from v140_xp to v141 2019-08-17 03:41:59 +02:00
Don HO
77da706207
Code enhancement: remove goto label
Close #6053, close #6054
2019-08-16 12:34:39 +02:00
Nikita Kolotov
67305b978c
Remove unecessary qualification
Remove extra qualification present on ShortcutMapper class members declarations

Close #6045, close #6046
2019-08-15 00:35:41 +02:00
Don HO
06db9ee338
Code improvement for NppParameters 2019-08-14 22:13:24 +02:00
Don HO
bbc55d06f2
Code improvement for WcharMbcsConvertor 2019-08-14 01:54:56 +02:00
Don HO
2c764d7221
Code improvement for FileManager 2019-08-14 01:32:01 +02:00
Don HO
48f83a9d0f
Code improvement for EncodingMapper 2019-08-14 01:15:08 +02:00
Don HO
f80b0ed293
Add Npp Pugin List update capacity (in progress) 2019-08-13 23:51:05 +02:00
Rajendra Singh
938dae9b2a
Improve singleton
Close #6036
2019-08-13 12:48:05 +02:00
Don HO
3643a1875b
Make 2 singleton "new-less"
Make WcharMbcsConvertor & FileManager "new-less"
2019-08-11 01:17:53 +02:00
Don HO
3dbb2c4b8e
Make NppParameters singleton "new-less" 2019-08-10 23:53:59 +02:00
wjx0912
fc9dfc86fc
Make EncodingMapper singleton "new-less"
Use the modern way to code Singleton to get rid of the allocation memory.

Close #6031, close #6019
2019-08-10 19:32:57 +02:00
Scott Sumner
0922512eb3
Make "Remove Consecutive Duplicate Lines" to be macro recordable
Fix #6023, close #6024
2019-08-10 13:29:00 +02:00
Waldi Ravens
2a7a35a4a3
Make "Command Argument Help" MessageBox modal
Fix #4067, close #6027
2019-08-10 13:21:46 +02:00
grisha vanika
ab4cf88336
Fix Folder as Workspace crash and "queue overflow" issues
Fix crash of Folder as Workspace when too many directory changes happen:
Remove limit for amount of queued directory changes: use auto-reset Event instead of Semaphore.

Fix #6005, fix #5907, fix #3740, close #6005
2019-08-07 14:14:59 +02:00
Scott Sumner
9d79d6c017
Fix "preventing Find All Curr Doc working in macro" issue
Fix #5973, close #6006
2019-08-07 09:37:34 +02:00
Scott Sumner
cd9f761293
Make backward-dir checkbox be shown on Find window's Mark tab
Fix #5974, close #6016
2019-08-07 09:27:27 +02:00
Don HO
c35a2b5708
Make Combobox font monospace in Find dialog
Close #5920, fix #3361, close #6001
2019-08-05 02:45:01 +02:00
Cyrillev
053823e8ca
Fix check sign in Encoding menu not shown issue
Fix #3737, close #3738
2019-08-05 00:00:22 +02:00
Berner Martin
d901c73f7d
Add PL/SQL to FunctionList
Close #3741
2019-08-04 12:40:55 +02:00
Simon Sobisch
a5ec6be8a9
Enhance COBOL language support - function list & auto-completion
COBOL support in function list - new entries in functionList.xml (note: defaults to fixed-form reference format, manual switch to free-form reference-format possible in association for langID 50)

COBOL support in auto-completion - new file APIs/cobol.xml
COBOL syntax highlighter - recreated list

note: list of statements, functions and reserved words token from GnuCOBOL 3.0 (COBOL85,2002,2014 + extensions from IBM/MF/RM/ACUCOBOL), please report back if any words are missing

Close #4004
2019-08-04 00:54:18 +02:00
Scott Sumner
61abf06bf3
Make 'Clear all marks' and 'Inverse Bookmark' macroable
Fix #1948, close #5995
2019-08-03 16:26:25 +02:00
Micha Wiedenmann
b3a6638b93
'-nosession' must not overwrite config.xml (Fix #3938)
When `-nosession` is given as a command line parameter the attribute
`isSnapshotMode` in `config.xml` is overwritten with `no` regardless of
its original value.

    <GUIConfig name="Backup" action="0" useCustumDir="no"
               dir="" isSnapshotMode="yes" snapshotBackupTiming="7000" />

Change this to keep the original value.

Fix #3938, close #5845
2019-08-03 01:10:49 +02:00
Don HO
fb7785eeaa
Disambiguate 5 entries regarding encoding
Remove "Encode" word to avoid the confusion with "Convert".

Close #5951
2019-07-30 20:24:59 +02:00
Don HO
e50236f559
Remove redundant information in File Summary dialog
Update Chinese & French binary translation as well.
2019-07-27 11:03:14 +02:00
Christian Grasser
418d03acfe
Add capabilty to translate file summary dialog info
Close #5594, fix #1487
2019-07-27 10:33:51 +02:00
Don HO
4a80a125c0
Fix the crash due to NPPM_DESTROYSCINTILLAHANDLE message
Destroying allocated Scintilla makes Notepad++ crash because created Scintilla view's pointer is added into _referees of Buffer object automatically.
The deallocated scintilla view in _referees is used in Buffer::nextUntitledNewNumber().

So we do nothing here and let Notepad++ destroys allocated Scintilla while it exit and we keep this message for the sake of compability withe the existing plugins.

Fix #4487, close #1500, close #5949
2019-07-26 09:39:52 +02:00
Don HO
cfcca9f54a
UI position tuning
Close #5935
2019-07-23 01:59:30 +02:00
Don HO
4c7e18fd58
Fix PowerEditor compiling error 2019-07-22 13:45:31 +02:00
luisffranca
69da7a765d
Make context menu key work in Project Panel
Fix #3868, close #3871
2019-07-22 13:00:52 +02:00
Don HO
8fd691a3b2 Change shortcut for avoiding the clash
Change shortcut of "Replace All in All Opened Documents" from &o to &u.

Close #2276
2019-07-22 01:24:37 +02:00
Don HO
6f3166c865
Improve GUI in Find dialog
Thanx to:
https://github.com/notepad-plus-plus/notepad-plus-plus/issues/449#issuecomment-135799762
2019-07-18 23:28:02 +02:00
Don HO
d239c3d731
Make ASCII Codes Insertion panel's title shorter 2019-07-18 09:44:50 +02:00
mmosoll
6a30c31e0a
Add 2 new columns for HTML Code in the Character Panel
Added 2 new columns showing HTML Code and HTML Name in the Character Panel for ANSI and Windows-1252 character sets.
Modified NM_DBLCLK event to insert in document the current cell value when double clicked in the Character Panel.
Modified translation files for French, English, Spanish and Spanish Argentina to include the new added columns in the Character Panel.
Modified maximum length of the Character Panel title bar in Notepad_plus::launchAnsiCharPanel().

Close #4371
2019-07-17 20:01:48 +02:00
Silent
dc6bd2a8d2
Fix commandline parsing issue
Fix issues where filenames would have multiple whitespaces in them.

Fixes #5861, close #5883
2019-07-15 09:50:13 +02:00
AngryGamer
9acf6e302f
Fix Document Peeker constantly changing focus
1. Title Bar no longer flickers like crazy.
2. Can interact with other dialogs (such as "Find/Replace dialog" while hovering from tab to tab).

Fix #3324, close #5882
2019-07-09 01:54:07 +02:00
Don HO
2d15d90e02
Fix local variable shadows outer variable issues 2019-07-08 14:39:14 +02:00
Don HO
6ddbca3a60
Make Save dialog not resizable 2019-07-06 15:00:07 +02:00
Rajendra Singh
4ebcf61917
Enhance Save dialog GUI
Close #5587
2019-07-06 14:50:45 +02:00
AngryGamer
8b151ac991
Fix Sort Line as Integer regression
The regression was made by #5555:
ff20c264df

Close #5843, fix #5839
2019-07-06 02:51:01 +02:00
Rajendra Singh
e9277deaa6
Localize "Restore recent close file" command
Close #5557, fix #1476, fix #5137, fix #5672
2019-07-05 09:44:10 +02:00
Silent
401dbbc7d5
Disable integrity checks in Debug
Close #5884
2019-07-05 01:36:07 +02:00
Waldi Ravens
31ae813286
Allow plugins to load private DLL files from the plugins folder
The problem is the way Windows searches for dynamically linked DLLs (Dynamic-Link Library Search Order).
For example, LuaScript.dll is the plug-in DLL, loaded by Notepad++.exe, and lua53.dll is the auxiliary DLL, required by LuaScript.dll and also by user-installed Lua modules. Both DLLs should be located in \plugins\LuaScript. But, when Notepad++ calls LoadLibrary to load LuaScript.dll, Windows will not find the dynamically linked lua53.dll, hence the LoadLibrary call fails. This happens, because Windows will look in the application directory (which is the location of Notepad++.exe), and not in the LuaScript.dll directory.
To make Windows search in the LuaScript.dll directory, Notepad++ needs to call LoadLibraryEx with the LOAD_LIBRARY_SEARCH_DLL_LOAD_DIR flag.

Close #5802, close #5853
2019-07-04 20:29:05 +02:00
AngryGamer
6c034985a2
Fix crash when sorting out_of_range columns
Fix crash while sorting the right part of equal sign with column-selection:

100/20 = 5

1/3    = 0.333

22/7   = 3.14285714286

Note that empty lines between the numbers are intentional.

Fix #5865, fix #3391, close #3771
2019-07-04 01:39:52 +02:00
AngryGamer
8449d9f5ea
Add more OS information to debug info
Close #5869, close #5872
2019-07-03 21:19:33 +02:00
Don HO
3f7956dc1b
Add "No to All" and "Yes to All" options in Save dialog
It allows users, while closing files, to reply Yes or No only for once in Save dialog for the all rest of modified files.

Close #5835 , close #4385,  close #4392
2019-07-03 09:41:35 +02:00
Rajendra Singh
bfd8cd0702
Initialize a member value correctly to prevent from crash
_langType in CmdLineParamsDTO could not be copied so Initialize its value to prevent from the crash.

Close #5838
2019-06-27 09:42:47 +02:00