Commit Graph

3577 Commits

Author SHA1 Message Date
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
Scott Sumner
00d75495c9
Disable ClearAll in FindAllInTheseFoundResults context menu
Fix #8691, close #8742
2020-09-03 18:41:04 +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
Rodrigo Cesar
230c7ef235
Add "nameof" reserved word of C# in auto-completion
Close #8633
2020-09-02 01:36:48 +02:00
Don HO
509c46b8f7 Make expected result corrected for C++ parser unit test 2020-09-01 02:36:16 +02:00
Don HO
56e4290501 Add the ability to have more than 1 unit-test per language
For function list, each language can have 2 or mor unit-test files.
The 2nd added unit-test file should be added in a sub-directory, the 3rd added unit-test file should be added into anather sub-directory, and so on.
2020-08-31 04:21:32 +02:00
Baptiste Thémine
e72d4855de Update functionList.xml C++ parser
Improvements :
- add templated classes (and template-nested templated classes)
- add namespaced classes
- add classes which inherits another class without the accessibility keyword (private is optional for example)
- add classes with virtual inheritance
- add functions defined with the following keywords
  - (left) consteval|constexpr|friend|inline|static|virtual
  - (right) const|final|noexcept|override
- add functions defined with templated types (and template-nested templated types)
- add operator definitions

Close #5175
2020-08-30 18:13:23 +02:00
Don HO
f3370ad46e Make Notepad++ invisible on startup while printing and unit-testing
The both flags -export=functionList & -quickPrint don't need Notepad++ GUI, so Notepad++ will start up invisiblely while one of these 2 flags is given. It doesn't prevent Notepad++ from being visible in the case of -export=functionList but this PR make unit-tests more bearable.
2020-08-29 20:20:54 +02:00
Don HO
38037035e4 Fix some Perl functions not being recognized in function list issue
Fix Perl functions without parentheses / with attributes are not recognized in function list issue.

Fix #4265, close #4266
2020-08-29 02:06:06 +02:00
Don HO
f9fa72b9db Fix unit tests problem for Python 2020-08-28 23:47:29 +02:00
Don HO
71b532710f Fix Python the variable "def" not working correctly in Function List
Fix #3645, close #3672
2020-08-28 14:36:23 +02:00
Don HO
fad747300a Update python unit-tests files 2020-08-28 00:18:19 +02:00
Nippur de Lagash
303874fee0 Fix Function list Python parser bad function name detection
Fix #3706, close #3790
2020-08-27 23:54:54 +02:00
Don HO
95a924f4f3 Make valid perl unit tests for function list 2020-08-27 21:17:08 +02:00
Don HO
0488e92e9f Remove notepad++ statement to prohibit rewrapping practice from License 2020-08-27 19:27:09 +02:00
Don HO
34357a46cf Unit-tests for function-list
Close #8757, close #8762
2020-08-26 14:01:05 +02:00
Don HO
a1a8b1354f Add a new easter egg. 2020-08-26 11:37:45 +02:00
Simon Buhrow
ffd6bb0889 Add VHDL to functionList.xml
Add VHDL to functionList.xml supporting ENTITY, BLOCK, PROCESS, COMPONENT, ARCHITECTURE.

Close #8480, close #8509
2020-08-25 12:28:46 +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
Udo Hoffmann
0fe971ca88 Add keyboard shortcuts for switching to panels
Close #8719, close #8720
2020-08-19 02:22:43 +02:00
Scott Sumner
b072479bb8 Fix column key sort with col block starting in col1 bug
Fix #8716, close #8717
2020-08-18 18:31:27 +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
Don HO
47bb08ee6c Add Irish localization 2020-08-16 15:23:33 +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
03eebf8496 Add RTL capability to localized msgbox function
Fix #8699, close #8701
2020-08-14 11:17:39 +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
3a2edb99c4 Add word-wrap option to find-results context menu
Close #8624, close #8681
2020-08-13 17:17:22 +02:00
Scott Sumner
7c28a120d9 Improve single-line indentation and dedentation functionality
Fix #5721, close #8623
2020-08-13 13:08:43 +02:00
Scott Sumner
e0f0dc14da Update post-search tracking column for future caret offline movement
Fix #8670, close #8676
2020-08-13 00:40:06 +02:00
Scott Sumner
33f042932f Make (Find) dlgAlwaysVisible a true Preference setting
Close #7908, close #8651
2020-08-12 23:50:47 +02:00
Don HO
1581833f98
Fix a typo
Fix #8695
2020-08-12 14:20:52 +02:00
Udo Hoffmann
783798e1ab Enable project panels toggle from menu
Close #8533
2020-08-11 00:04:16 +02:00
Udo Hoffmann
a74877f262 Fix false hit result in Find-in-Finder
Fix #8435, close #8437
2020-08-10 15:54:26 +02:00
Udo Hoffmann
f74e4ae159 Fix URLs not underlined immediately after copy/paste
Close #8685
2020-08-10 15:03:47 +02:00
Udo Hoffmann
6e5a2d5be2 Fix URL detecting issue
... while URL is in first line of document.

Fix #8668, close Fixes #8669
2020-08-10 04:15:33 +02:00
Don HO
1eb7d2bef5 Fix "Close all BUT this" regression
Due to commit a82819972a
2020-08-09 18:18:42 +02:00
Scott Sumner
5271b88fc3 Fix sorting by column key using incorrect key values
Fix #8674, close #8675
2020-08-09 13:44:25 +02:00
Scott Sumner
ca3d514722 Add ability to sort lines randomly
Close #8682, close #8683
2020-08-09 04:19:08 +02:00
Don HO
1efac7dacb
Add a new easter egg
and tune up other easter eggs.
2020-08-07 17:38:16 +02:00
Don HO
b8ee9fcc82
Add SQL keyword (ACTION) 2020-08-07 02:38:49 +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
5ba7f99590
Add search scope to Find window status bar output
Close #8632, close #8639
2020-08-06 18:04:05 +02:00
Don HO
a82819972a
Fix "Close All BUT this" looses current document data issue
If a non-existing file is open as the 1st tab (opened then file is deleted outside of Notepad++), and "Close All BUT this" is run, then current document will be closed.

Fix #8617
2020-08-05 04:49:30 +02:00
SciresM
64ba8d7855
Add some c++20 keywords to language model.
This enables syntax highlighting for keywords "concept", "consteval", "constinit", "requires".

Close #8638
2020-08-02 20:08:58 +02:00
Scott Sumner
5adb75dc89
Prevent redundant line-data copy when using Finder's rclick-Copy
Fix #8580, close #8620
2020-08-02 03:50:07 +02:00
Udo Hoffmann
d55350b4b5
Fix mouse cursor flicker while hovering
The reason, why the flicker occurs, is the following: There are two Windows messages sent by Windows to Scintilla, when the mouse is moved: WM_MOUSEMOVE and WM_SETCURSOR.

WM_MOUSEMOVE informs Scintilla, that the mouse has been moved inside its window.
WM_SETCURSOR informs Scintilla, that the mouse cursor has been moved. Anywhere, not necessarily in its window.
Scintilla calls the Windows function SetCursor (, which sets the mouse cursor shape, not the position), while processing both messages. Unfortunately, Scintilla uses different ways to calculate the desired cursor shape. So, whenever the mouse cursor is moved, two SetCursor calls are applied, sometimes with two different cursor shapes.

On WM_MOUSEMOVE, Scintilla calls ButtonMoveWithModifiers, which sets the correct cursor shape.
On WM_SETCURSOR, Scintilla calls SetCursor directly, sometimes with the wrong cursor shape.

This PR shows how to eliminate this effect in the modified Scintilla version used by Notepad++. This may be the fastest way to get results without introducing new effects.

The current original Scintilla version (Version 4.4.4, downloaded 2020-07-30, 5d134721c303ceecbdcb28ec82b28f0cbbdb4a55) has the same effect and can be fixed in the same way, although the WM_SETCURSOR code has been changed a little. Before updating to a new Scintilla version, we should try to get it fixed in the original Scintilla.

Fix #8588, fix #8647, close #8641
2020-08-01 15:41:04 +02:00
Don HO
c119dd41a2
Update French & Taiwanese Madarin translation for 84ea510b67 2020-07-30 18:24:32 +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
Scott Sumner
7d289139e8
Add keyboard navigation ability to Column Editor
Fix #8488, close #8569
2020-07-28 19:31:05 +02:00