Commit Graph

3435 Commits

Author SHA1 Message Date
Don HO
062ec3e726
Simplefy the commit 9387dcdaef 2020-01-06 13:40:49 +01:00
Don HO
563530379f
Better comment 2020-01-06 13:27:56 +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
Christophe Meriaux
12bb0efc7a
Fix incremental search bar option bug
Keep 'highlight all' option state in incremental search bar.

Fix #7753, fix #2750, close #7754
2020-01-01 15:57:59 +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
326733ec72
Reformat langs.model.xml & add "mk" as file ext of makefile
Fix #2716
2019-12-28 20:22:16 +05:00
Don HO
b0c5de10f9
Fix API comment error
Fix #7717
2019-12-28 18:56:43 +05:00
Don HO
22ea82b80c
Improve the format of CONTRIBUTING.md 2019-12-28 10:05:19 +05:00
Don HO
ab207db6f7
Update localization files
For the commit:
14074e1487
2019-12-27 09:52:25 +05:00
Don HO
14074e1487
Disable file association settings when Notepad++'s no admin right
File association feature under Windows 10 needs the Administrator's preivilege.
This commit add an explicit message to users who want to use this feature, and disable this feature if Notepad++ has no Administrator's preivilege.

Fix #4984, fix #5192, fix #4542
2019-12-27 00:35:16 +05:00
Don HO
a1d048fdd9
Update localization files for a new option
Move an old entry to an another section and add a new one for added new option in:
7a1096de5b
2019-12-25 20:03:47 +05: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
Don HO
c2f84b4cc6
Coding style improvement: better indentation in Notepad_plus.rc 2019-12-25 12:56:22 +05:00
Don HO
934ded9ac9
Fix a minor cosmetic problem 2019-12-23 11:44:37 +05:00
Don HO
41ca5289bd
Improve langs.model.xml 2019-12-22 13:13:39 +05:00
Don HO
be6f797e65
Improve Json syntax highlighting 2019-12-21 11:47:04 +05:00
Don HO
b76bf9e4df
Make doSaveOrNot dialog simpler when there's a single file to save
When there are several files to save, the same doSaveOrNot dialog which cotains 5 buttons (Yes, No, Cancel, Yes to All and No to All) is shown. But if there is only one file to save, then it's better to not show Yes to All and No to All buttons to make a consistent user interface.

Fix #7762
2019-12-20 13:37:42 +05:00
Don HO
703a49b323
Add the Expand All capacity into Folder as Workspace 2019-12-18 22:12:36 +01:00
Don HO
fbde7d2188
Add expand all capacity into TreeView class 2019-12-18 13:41:13 +01:00
Don HO
998ad2aa87
Optimize the recursive folding in TreeView 2019-12-18 10:37:20 +01:00
Don HO
c8b70dacd7
Make for loop conform to C++11 style 2019-12-18 10:05:40 +01:00
Don HO
e0d995c1a6
Add "Fold All" toolbar command in Folder As Workspace 2019-12-18 10:05:40 +01:00
Don HO
b41a480d68
Ask not what Notepad++ can do for you - ask what you can do for Notepad++ 2019-12-18 02:10:03 +01:00
Don HO
ef4425a47f
Update Spanish translation 2019-12-17 23:16:22 +01:00
Don HO
d5ec3a1c0e
Update localization files 2019-12-17 23:09:36 +01: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
1929cce416
Fix auto-insert bug
Fix #6078, fix #7733, close #7742
2019-12-15 14:27:08 +01:00
Waldi Ravens
62622afaeb
Make MinGW gcc build work again
Fixes MinGW build error:
53452d96e0 (r36430299)
2019-12-15 10:53:34 +01:00
Waldi Ravens
f02d166081
Enable two more SQL keyword list
KEYWORD2 – data types, highlighted in a different style.
USER1 – user-defined keywords, empty list by default.

Close #5937, close #7693
2019-12-14 23:51:04 +01:00
Don HO
bc2b5ac2ce
Add feature to select/show current file in Folder As Workspace
A new button is added in Folder As Workspace to select and show the current editing file in Folder As Workspace.

To make Bitmap background transparent with alpha channel in photoshop:
https://www.youtube.com/watch?v=8hNEJ7kaw8g&feature=emb_logo

Close #7736
2019-12-14 22:51:50 +01:00
Scott Sumner
53452d96e0
Fix too small buffer issue during add text macro playback
Fix #7642, close #7730
2019-12-13 19:13:23 +01:00
Scott Sumner
1c4157109f
Eliminate garbage displaying in Find-result fold margin
Fix #6268, close #7721
2019-12-12 21:21:48 +01:00
Waldi Ravens
9729fa7490
Fix "Close All Unchanged" for sub-view
Fix #7708, close #7709
2019-12-12 20:58:06 +01:00
Don HO
ff8e42ca1b
Update readme.txt 2019-12-08 23:33:30 +01:00
Dan Edens
ec5b854bdd
Update dead Link.
"http://docs.notepad-plus-plus.org/index.php/Context_Menu" Is 404d.
Update to new documentation location:
"https://npp-user-manual.org/docs/config-files/#the-context-menu-contextmenu-xml"

Close #7701
2019-12-08 21:33:12 +01:00
Don HO
5a2147ef39 Notepad++ release 7.8.1 2019-12-05 13:04:43 +01:00
Don HO
b3419ad00d
Fix a typo 2019-12-04 01:32:24 +01:00
Waldi Ravens
17872080a0
Fix mistyped Item id in slovenian.xml
Close #7687
2019-12-03 21:54:12 +01:00
Artem Polivanchuk
339f451e13
Update belarusian.xml
Close #7616
2019-12-02 22:46:59 +01:00
Artem Polivanchuk
f184de7347
Update ukrainian.xml
Close #7617
2019-12-02 22:40:23 +01:00
Pavel_Blend
6f56b44118
Add python keywords
Close #7613
2019-12-01 22:45:00 +01:00
~GOLEM~
c5eb6f757d
Increased size the field for localizations.
Close #7640
2019-12-01 22:28:55 +01:00
Waldi Ravens
ee1a0b4a07
Update dutch.xml
Close #7633
2019-12-01 21:53:07 +01:00
schnurlos
eab9aae727
Update german.xml
Close #7649
2019-12-01 18:40:06 +01:00
~GOLEM~
c67cacf684
Update Russian lang for 7.8.2
Close #7643
2019-12-01 02:00:35 +01:00
Bruce Yoon
68088e6872
Update Korean translation
Close #7659
2019-11-30 23:21:42 +01:00
rddim
e5e7b988e4
Update Bulgarian localization
Close #7639
2019-11-30 23:18:41 +01:00
scootergrisen
9d8abb7a06
Update danish translation to 7.8.1
Close #7661
2019-11-30 23:15:15 +01:00
Hélio de Souza
3baed7ffb8
Update brazilian_portuguese.xml 2019-11-30 23:07:07 +01:00