Commit Graph

279 Commits

Author SHA1 Message Date
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
Don HO
71ae2cfce6
Fix dialogs remain issue after minimizing to systemtray
Fix #9044
2020-10-22 04:35:07 +02:00
Udo Hoffmann
41d619d9b7
Fix Floating dockable panels don't minimize to system tray issue
Fixes #8928, close #8953
2020-10-22 00:45:50 +02:00
Don HO
9eecb1da13
Remove an obsolete command and its translation 2020-10-16 23:42:32 +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
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
9ab554a129
Add ability to copy marked text to the clipboard
Fix #6095, close #8867
2020-10-02 21:57:57 +02:00
Scott Sumner
61bf9bd3c4
Add case insensitive lines sorting
Close #4479, close #8869
2020-09-28 23:29:33 +02:00
Don HO
320aca73be
Add "Open Containing Folder as Workspace" command
and add this command in context menu of tabs.

Close #3028, close #8880
2020-09-28 17:57:57 +02:00
Don HO
a2264e5b36
Restore Folder as Workspace's latest selected item of last session on start up
Fix #8353
2020-09-19 00:36:03 +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
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
Udo Hoffmann
0fe971ca88 Add keyboard shortcuts for switching to panels
Close #8719, close #8720
2020-08-19 02:22:43 +02:00
Scott Sumner
7c28a120d9 Improve single-line indentation and dedentation functionality
Fix #5721, close #8623
2020-08-13 13:08:43 +02:00
Udo Hoffmann
783798e1ab Enable project panels toggle from menu
Close #8533
2020-08-11 00:04:16 +02:00
Scott Sumner
ca3d514722 Add ability to sort lines randomly
Close #8682, close #8683
2020-08-09 04:19:08 +02:00
Scott Sumner
8b93240c59
Fix condition where Join Lines does one too many lines
Fix #8503, close #8506
2020-07-02 18:10:53 +02:00
Scott Sumner
4bf662d031
Fix condition where Split Lines does one too many lines
Fix #8504, close #8507
2020-07-02 18:05:27 +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
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
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
Don HO
cc2c9b7740
Implement multi-line edge feature
Close #3128
2020-04-13 04:15:32 +02:00
Don HO
3de506bf48
Update copyright
Close #5919
2020-04-04 23:03:18 +02: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
1eb5f43886 Notepad++ release 7.8.4 2020-01-30 02:07:41 +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
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
7a1096de5b
Make filling find field of Find dialog with selected word(s) optional
Close #3243
2019-12-25 13:32:40 +05: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
3220eaaa30
Refine "Open UDL folder" command & make it translatable 2019-11-21 02:24:57 +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
Don HO
30e545a5f4
Code enhancement: Make Globallock and GlobalUnlock symetric 2019-11-16 16:54:21 +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
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
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
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
Don HO
581aff630a
Use standard C++11 mutex
And remove unecessary files

Close #6093
2019-08-25 23:34:30 +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
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
Scott Sumner
61abf06bf3
Make 'Clear all marks' and 'Inverse Bookmark' macroable
Fix #1948, close #5995
2019-08-03 16:26:25 +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
briddums
fa254e579c
Fix an issue in IDM_EDIT_CLEARREADONLY
Using ^= for the readonly attribute will cause it to always change the bit.  So if CLEARREADONLY is called on a file that isn't read only, the file will become read only.

Fix #5768, close #5774
2019-06-20 20:32:14 +02:00
dail8859
492870be0b Use SCI_TARGETWHOLEDOCUMENT and SCI_COUNTCHARACTERS 2019-05-25 14:50:30 -04:00