Commit Graph

3783 Commits

Author SHA1 Message Date
Don HO
399452167f Revert "Enhance info provided in Sel portion of main status bar"
This reverts commit 4ca25503bc, due to the performance issue.
2020-09-06 03:55:10 +02:00
Scott Sumner
8f3d7c1026 Disable controls on unshown tabs of Find dialog
Fix #8696, close #8760
2020-09-05 23:16:32 +02:00
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
4ca25503bc Enhance info provided in Sel portion of main status bar
No selection:
Example: Pos : 1,234
Meaning: Single caret is at position 1233 in document (user position 1234)

Single stream selection (no change to existing behavior):
Example: Sel : 27 | 2
Meaning: 27 characters selected on 2 lines

Multiple stream selections (this PR behavior):
Example: Sel 3 : 72 | 6
Meaning: 3 selections of 72 characters on 6 lines

Rectangular selection with no virtual space in column block (this PR behavior):
Example: Sel : 2x4 = 8
Meaning: selection of 2 rows(lines) by 4 columns; 8 characters in that selection

Rectangular selection with some virtual space in column block (this PR behavior):
Example: Sel : 2x4 🡢 6
Meaning: selection of 2 rows(lines) by 4 columns; 6 real characters in that selection

Close #8524, close #8780
2020-09-05 04:04:10 +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
Roshni-P
e44ed31434
Add the ability to open the target file of a Shortcut (.lnk)
Fix #8483, close #8810
2020-09-04 14:29:39 +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
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