Don HO
3c9d58176b
Fix the regression of mark margin colour for dark theme
2020-10-27 16:01:48 +01:00
Vince
0689a94453
Fix user set SCI_SETYCARETPOLICY erase by find result
...
Use SCI_SETVISIBLEPOLICY and SCI_ENSUREVISIBLEENFORCEPOLICY to replace SCI_SETYCARETPOLICY.
X and Y caret policy should be user-configurable for document navigation and the VISIBLE / ENSUREVISIBLE could be used for application / auto navigation (like re-centering a search result).
Fix #8961 , close #8962
2020-10-26 19:50:47 +01:00
Scott Sumner
210ae7e1d3
Fix Find-result rclick-Copy incomplete data bug
...
Fix #8801 , close #8808
2020-10-26 00:11:17 +01:00
Scott Sumner
77d4606967
Add ability to remove any duplicate lines in a document, keeping the first occurrence
...
Fix #8965 , close #9033
2020-10-23 16:04:34 +02:00
Udo Hoffmann
0a20939334
Fix URLs losing the underlines occasionally issue
...
Improve URL update on resize
The reason for the effect is, that the addHotSpot calls for resizing are in the WM_SIZE of the application. This works, as long as the size of the whole application changes, but not, when the application size remains constant and only the size of the document window inside the application changes.
The solution for this is, to remove the addHotSpot calls from the WM_SIZE of the application and add them to the DocTabView::reSizeTo function instead. Since addHotSpot cannot be called directly from this function, I took the detour over NPPM_INTERNAL_UPDATECLICKABLELINKS.
Fix #9032 , close #9034
2020-10-21 03:06:32 +02:00
Udo Hoffmann
ecab99b600
Fix double clicking on find result line not working
...
"wstring::length()" returns less needed byte number because this methode consider 2 bytes character as 1 character, whereas "strlen(char*)" returns the total byte number in the char*.
Since SCI_ADDTEXT uses UTF8 char* as argument, it'll be more accurate to count the length (total byte number) with char* directly.
Fix #9009 , fix #8525 , close #9014
2020-10-18 02:20:08 +02:00
Scott Sumner
013305f306
Add copy styled text to clipboard commands to menu
...
Close #8943 , close #8964
2020-10-15 02:23:37 +02:00
Don HO
469fa62c0e
Improve FileManager::saveBuffer()
2020-10-14 03:01:49 +02:00
Pavel Nedev
a103151774
Fix NUL file-corruption bug after Windows shutdown brutally
...
Bypass Windows caching when flushing files after write.
According Microsoft documentation this fixes the issues with saved file corruption (all NULs)
on sudden power loss or restart.
Microsoft documentation for reference:
https://docs.microsoft.com/en-us/cpp/c-runtime-library/reference/fopen-wfopen?view=vs-2019
https://docs.microsoft.com/en-us/cpp/c-runtime-library/stream-i-o?view=vs-2019
Fix #6133 , close #8952
2020-10-06 15:55:41 +02:00
Scott Sumner
8426c9ccd9
Enhance Sel info provided in main status bar
...
Fix #8524 , close #8876
2020-10-06 04:00:25 +02:00
Scott Sumner
a08784fa43
Fix bug with smart highlight of data and end-of-file
...
Fix #8908 , close #8911
2020-10-03 04:07:32 +02:00
Scott Sumner
9ab554a129
Add ability to copy marked text to the clipboard
...
Fix #6095 , close #8867
2020-10-02 21:57:57 +02:00
Scott Sumner
5da0817ecb
Allow setting of background color for bookmark margin
...
Fix #8833 , close #8874
2020-10-02 21:49:08 +02:00
jofon
139e4d4925
Fix smart-highlighting not applying to cloned view
...
Fixed smart-highlighting not applying to cloned view while "Highlight another view" is enabled.
Fix #7910 , close #8905
2020-10-02 15:38:11 +02:00
Don HO
bb175082d2
Fix the build error
2020-09-30 04:47:32 +02:00
Don HO
285172e36b
Make alternate icons of Tab bar changing dynamically
2020-09-30 03:33:37 +02:00
Jack Tolfree
174ae29f18
Add ESC keystroke shortcut to close Search Results Window
...
Closes the focused Search Results Window by hitting ESC.
Close #2946 , close #8898
2020-09-28 18:43:04 +02:00
Scott Sumner
93ae69e92d
Scroll visible area horizontally so a FindNext match is fully viewable
...
Fix #8804 , close #8818
2020-09-14 19:33:04 +02:00
Don HO
d82aba7b0c
Improve the computing of number of digit in line number margin display
2020-09-14 14:33:51 +02:00
Don HO
8e73f5d116
Simplify the logic and improve the performance
2020-09-14 14:02:07 +02:00
Don HO
fe18e41d5d
Fix inaccurate line margin update with word wrap enabled
...
And improve the performance of line margin update.
2020-09-14 02:31:44 +02:00
Don HO
00841d5a22
Fix build warning issue by using v140_xp
2020-09-12 16:32:53 +02:00
Don HO
c607e427fc
Fix auto scroll to last line after update not working
...
This fix comes from the suggestion of this thread:
https://github.com/notepad-plus-plus/notepad-plus-plus/pull/8782#issuecomment-690752536
Fix #8477 , fix #8214
2020-09-11 16:05:06 +02:00
Don HO
55d671719c
Fix a shortcut causing a bug in Column editor dialog
...
The shortcut "&Format" in Column editor dialog is unecessary.
Furthermore, some characters 'o' are inserted in colomn mode when Alt-F is triggered (and Column editor dialog is closed).
2020-09-09 14:43:57 +02:00
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
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
Scott Sumner
00d75495c9
Disable ClearAll in FindAllInTheseFoundResults context menu
...
Fix #8691 , close #8742
2020-09-03 18:41:04 +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
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
e0f0dc14da
Update post-search tracking column for future caret offline movement
...
Fix #8670 , close #8676
2020-08-13 00:40:06 +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
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
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
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
Scott Sumner
7d289139e8
Add keyboard navigation ability to Column Editor
...
Fix #8488 , close #8569
2020-07-28 19:31:05 +02:00
Scott Sumner
1182371e07
Allow user to start making a stream selection and then change to column block
...
Allow user to start making a stream selection and then change to column block by pressing ALT key during mouse or keyboard selection.
Fix #8555 , close #8557
2020-07-28 12:03:44 +02:00
Scott Sumner
d42f13071d
Do not modify doc if sort when doc is already sorted
...
Fix #8558 , close #8559
2020-07-20 17:13:34 +02:00
Don HO
4b8d83a8f8
Fix the regression of jump line failure via command line (-n)
...
This regression is due to 9387dcdaef
Fixed by using the provided solution:
https://github.com/notepad-plus-plus/notepad-plus-plus/issues/8476#issuecomment-653826008
Fix #8476 , fix #8477
2020-07-07 13:00:30 +02:00
Udo Hoffmann
8920dc40be
Fix Flickering cursor after double-clicking a found line
...
Fix #8487 , fix #8522
2020-07-04 14:14:31 +02:00
Udo Hoffmann
d18faf13fc
Fix Found line may not be centered if word wrap is on
...
Fix #8489 , close #8516
2020-07-04 03:04:14 +02:00
Udo Hoffmann
b935bc6bf3
Fix URL is not clickable in certain stuation while wrapped is enabled
...
Fix #5503 , close #8467
2020-07-01 01:04:12 +02:00
Scott Sumner
5a2cabf14e
Fix stream sort of selected text doing one too many lines
...
Fix #8447 , close #8453
2020-06-30 21:33:55 +02:00
Udo Hoffmann
267da64d33
Fix wrong horizontal scroll bar position after restoring Window position
...
Fix #8466 , close #8475
2020-06-30 20:58:15 +02:00
Scott Sumner
53b03cc5c5
Fix Find-result window output tab-width incoherent issue
...
Hard-set tab-width in Find-result window to 4.
Fix #8406 , close #8499
2020-06-30 19:52:32 +02:00
Udo Hoffmann
3315303050
Fix URL Hovered colour disappears after modifying any Clickable Link Settings regression
...
Fix #8493 , close #8496
2020-06-30 03:13:16 +02:00
Scott Sumner
d13795a37a
Fix wrong treatment of backslashes as escape sequences in autocompletion
...
Change autocomplete to not use regex mode replacement.
Fix #8397 , close #8440
2020-06-22 22:37:14 +02:00
Scott Sumner
19bdbd093c
Add confirmation prompt to Replace-in-all-opened-docs command
...
Fix #5253 , fix #8432 , close #8438
2020-06-21 21:35:58 +02:00