Commit Graph

745 Commits

Author SHA1 Message Date
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
3fd3e85a54 Enable and disable controls correctly for reg exp search mode in find-in-finder
Fix #8768, close #8776
2020-09-04 19:19:23 +02:00
Udo Hoffmann
d9959c1a7c
Enhance side panels behaviour: close a single panel instead of the entire stack
Close #8471, close #8753
2020-09-03 19:36:00 +02:00
eljefe7000
7c7dcd8fcc
Fix an issue in Window dialog
The bug: after closing last file opened in 2nd view in Window sialog, the last file opened in 2nd view in Notepad++ is closed, but remain in Window dialog.
This PR is a workaround solution to close Window dialog if the last document is closed.

Fix #8697, close #8721
2020-09-02 21:02:15 +02:00
Udo Hoffmann
84430809df Add back hovered blue underlined URLs
Fix #8654, close #8713
2020-08-23 12:28:14 +02:00
Don HO
30d4516d23 Fix an empty hole in Preference dialog if there's no GUP.exe
Fix #8749
2020-08-21 01:34:47 +02:00
Scott Sumner
209ccb97ec Add confirmation preference for Replace All in All Opened Documents operation
Close #8527, close #8708
2020-08-16 16:15:21 +02:00
Udo Hoffmann
ddd2e5fd23 Improve some ambiguous commands naming in Shortcut Mapper
Separate command shortcut names and menu names.

Fix #8689, close #8690
2020-08-15 18:44:12 +02:00
Scott Sumner
394f762d6b Add SCI_SETCARETLINEBACKALPHA to the list of macroable commands in isMacroable function
Fix #8614, fix #5619, close #8684
2020-08-13 19:47:27 +02:00
Scott Sumner
33f042932f Make (Find) dlgAlwaysVisible a true Preference setting
Close #7908, close #8651
2020-08-12 23:50:47 +02:00
Udo Hoffmann
783798e1ab Enable project panels toggle from menu
Close #8533
2020-08-11 00:04:16 +02:00
Scott Sumner
f1b059414b
Add an option to prevent right-click from canceling selection
Fix #8563, close  #8564
2020-08-06 20:11:10 +02:00
Scott Sumner
84ea510b67
Add 'Searching' subpage to Preferences for Find-Replace-Mark settings
Fix #8131, close #8541
2020-07-30 02:35:26 +02:00
Don HO
3b2d2bb300 Notepad++ v7.8.9 release
Notepad++ Stand with Hong Kong edition
2020-07-16 12:09:10 +02:00
Udo Hoffmann
6f09695c2d
Fix three small focus issues
Fix #8419, close #8420
2020-06-19 01:16:19 +02:00
Don HO
abadbc6b21
Remove outdated comment 2020-06-17 03:00:24 +02:00
Udo Hoffmann
87dc9cc5d2
Fix Load project file by dragging doesn't work
Make workspace (project) & session xml setting files consistent while their file extensions are defined in Preferences dialog:
1. If I specify a session file in the command line (, or if I double-click a session file in the Explorer), not the session file itself is opened, but the session stored in it.
2. If I specify a workspace file in the command line (, or if I double-click a workspace file in the Explorer), not the workspace file itself is opened, but the Project Panel 1 switches to the specified workspace file.
3. If I specify a session file in the `File` menu `Open Ctrl-O`, not the session file itself is opened, but the session stored in it.
4. If I specify a workspace file in the `File` menu `Open Ctrl-O`, not the workspace file itself is opened, but the Project Panel 1 switches to the specified workspace file.
5. If I drag a session file to Npp, not the session file itself is opened, but the session stored in it.
6. If I drag a workspace file to Npp, not the workspace file itself is opened, but the Project Panel 1 switches to the specified workspace file.

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

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

cherry picked from commit 70e746b7a8fe44c9a1e724581ceb3b457138a474

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

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

Fix #4356, close #8370
2020-06-13 17:40:07 +02:00
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
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
Udo Hoffmann
f821f73110
Fix Document Map regression under Windows 7
Fix #8335, close #8336
2020-05-29 19:54:39 +02:00
Udo Hoffmann
aba75b5643
Automatic file extensions for session/workspace while opening
Close #8317
2020-05-27 19:19:20 +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
3a9a31afb4
Include current ANSI codepage into debug information
Close #8303, close #8306
2020-05-23 19:38:22 +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
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
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
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
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
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
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
Don HO
585cc27b1f
Make TreeView sorting unrecursivable
And update coding style.
2020-03-26 14:54:04 +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