Commit Graph

1679 Commits

Author SHA1 Message Date
along
0a6b19fedc Fix toolbar display bug in big icon mode issue
Close #4509
2018-05-25 09:53:32 +02:00
Don HO
3a52ab1af1 Remove unused method 2018-05-07 21:11:22 +02:00
nrecker
e65b4c37bf Fix Sort Lines as Integers issue: use Natural Sort algorithm
This changes the line operations "Sort as Integers Ascending" and "Sort as Integers Descending" to sort by Natural Sort Order, in which consecutive numerals are considered as one character. This causes "2" < "10", just like in the old Integer sort, but also "foo 2" < "foo 10", which was not previously available functionality. In cases where every line is a single integer, Natural Sort functions exactly the same as Integer Sort; when every line begins with a single integer, it is a valid Integer Sort.

Close #4413, fix #2025
2018-05-06 13:25:10 +02:00
Don HO
454f92af4a Adapt new plugin file system structure for the future release. 2018-04-30 19:36:15 +02:00
Don HO
7cf5232056 Make new file system of plugin works on installation directory 2018-04-25 20:46:09 +02:00
SinghRajenM
6890e94952 Fixed a code in ReadDirectoryChangesPrivate.cpp
Close #4257
2018-04-21 14:51:57 +02:00
Christian Grasser
0f4b0ec9a4 Fix typo to make translation work.
correct typo STRT_REPLACE -> STR_REPLACE

Fix #4354, close #4391
2018-04-20 13:10:18 +02:00
SinghRajenM
e9c0ee4866 Fixed UDL export extension issue
Fix #4372, close #4377
2018-04-20 02:42:56 +02:00
Don HO
ce1ffd441d Update stylers.xml model 2018-04-13 18:22:57 +02:00
Don HO
3aaf083c1d Add unit tests for function list feature
go to notepad-plus-plus\PowerEditor\Test\FunctionList directory then
launch the following commands:
powershell ./unitTestLauncher.ps1
2018-04-13 12:46:03 +02:00
Don HO
985fa654b9 Fix Javascript not working regression in Function list since 2016
due to 2 commits:
5d438aa
fb189fa
2018-04-09 00:35:53 +02:00
Don HO
01cfe5d083 Rename label in functionlist output json 2018-04-04 01:14:11 +02:00
Don Ho
9733729bfb Notepad++ 7.5.6 release 2018-03-19 01:46:19 +01:00
d0vgan
58fa70b580 Fix file status detection issue under Windows XP (32-bit only)
Close #4226
2018-03-18 00:52:52 +01:00
Don HO
6c9a5a2afe Fix typos in translation entry string 2018-03-17 23:06:03 +01:00
Don HO
3332aa918b Add more funny quotes 2018-03-16 02:19:00 +01:00
Don HO
a3be39a3ad Quotes clean up 2018-03-13 21:16:45 +01:00
SinghRajenM
1e0b0b2cd9 Fix crash on styler dialog of User Defined Language dialog
Fixes #2646, fixes #4215, close #4279
2018-03-11 01:36:56 +01:00
GaryBloom
a724cc49a6 Function List enhancement: Highlight the current function based on cursor position
Closes #715, close #4113
2018-03-11 01:27:32 +01:00
Asaq
86aa5e6484 Fix GDI objects leak problem
Fix #1017, close #3896
2018-03-11 01:05:29 +01:00
Don HO
d9b9fb6046 Add a message from outer space 2018-03-10 12:22:02 +01:00
Don HO
5df6e9bbfe Ghost typing enhancement
1. Make ghost typing Unicode supported so any language can be displayed.
2. Ghost typing's speed (slow, rapid and spped of light) can be set.
3. Any supported programming language (syntax highligting) can be applied.
4. All above supports are accessible via command line arguments.
2018-03-10 11:30:55 +01:00
Don HO
f0e1ecdc72 Add ghost typing Unicode capacity 2018-03-07 02:17:26 +01:00
Don HO
d9f3cfd82b Remove the TODO to prevent from the useless modification 2018-03-04 22:13:53 +00:00
Don HO
9b565319e3 Fix macro playing back crash issue
Fix crash issue while playing back macro if "find previous" and/or "find next"
button actions are/is recorded.

Also prevent from future crash if new commands in Find dialog are forgotten to be
treated.
2018-03-04 01:56:28 +01:00
Don HO
789cf387df Make new entries translatable 2018-03-02 20:23:24 +01:00
dail8859
8c84e92349 Fix EOLs 2018-02-27 20:31:22 -05:00
Don Ho
f0a8c61d07 Notepad++ release 7.5.5 2018-02-27 22:46:24 +01:00
Don HO
7bf117dfe2 Fix a label display glitch in Preference 2018-02-27 20:06:17 +01:00
Don HO
abcbec181a Change the EOL 2018-02-27 01:18:00 +01:00
Silent
166cb3fc9a Fix for "Toggle Single Line Comment" malfunctioning with HTML/XML
Add space for a null character so last line character does not get cut off, and thus allow closing tag to be matched properly.

Fix #3869, close #3870
2018-02-26 00:47:54 +01:00
Jorge Rocha Gualtieri
182063f31b Fix for "Monitoring" doesn't detect changes
Fix #3142, close #3882
2018-02-25 20:34:35 +01:00
AngryGamer
13801e3540 Make column names translatable in Window->Window...
Close #4219
2018-02-25 12:43:11 +01:00
Don HO
f9c8a0e221 Change the label of one option to match Unix style path on open dialog 2018-02-22 20:42:46 +01:00
Isaiah Norton
556901b83b Make Unix style path (slashes) work in open file dialog (optional)
Close #3948, fix #2438, fix #3840
2018-02-22 09:58:15 +01:00
SinghRajenM
6e315e076a Updated Hindi localization
1. Updated "Hindi.xml"
2. Corrected typos in English.xml (changed "NppIO.cpp" and "shortcut.rc" accordingly)
3. Synced "english_customizable.xml" with "English.xml"

Close #4152
2018-02-20 20:22:49 +01:00
SinghRajenM
bf9416d17f Minor enhancements for Kurdish language
Make Kurdish be RTL
Command line support for Kurdish

Close #4206
2018-02-20 18:10:00 +01:00
Don HO
a1b4628b8b Fix the wrong integer replacement (instead of string)
Fix also some minor grammatical errors

Close #4203
2018-02-20 13:38:09 +01:00
Christophe Meriaux
7572015bda Enhance ShortcutMapper resizing
- keep centered buttons while resizing
- set minimum width and height

Close #4178
2018-02-19 23:56:27 +01:00
AngryGamer
883045d96f Keep Doc Switcher's ordering in sync with Tab bar
Close #946, close #1684, close #2342, close #4015
2018-02-19 23:40:23 +01:00
AngryGamer
6fba3ac067 Fix tab sticks to mouse pointer problem after external update of a file open in
Notepad++

Fixes #4122, fixes #3851, closes #4182
2018-02-19 15:53:46 +01:00
Silent
16fa79f057 Warning/error fixes as per VS2017 code analysis
Closes #4154
2018-02-19 12:21:35 +01:00
Silent
e403204103 Simplify and fix memory leak in getSpecialFolderLocation
Fixes #399, closes #4138
2018-02-19 12:13:55 +01:00
Don HO
bd0867ee62 Add new language and update translations 2018-02-19 11:40:47 +01:00
Don HO
213af53389 Add more translations
Find dialog status bar messages are translatable.
Add more shortcut mapper translation entries.
2018-02-14 10:02:55 +01:00
Christophe Meriaux
360d45db1a Add filter capacity in the shortcut mapper
Closes #4096, closes #2562
2018-02-11 16:37:30 +01:00
Christophe Meriaux
b47de8048d Shortcut Mapper is resizable and maximizable 2018-02-11 10:03:58 +01:00
Don HO
fb17638de7 Enhance Shortcut Mapper and make it translatable 2018-02-10 18:52:59 +01:00
Don HO
70f7287e58 More translatable entries for Folder as Workspace 2018-02-08 02:57:07 +01:00
Don HO
37b30dd396 More translatable dialogs 2018-02-06 03:02:28 +01:00
Don HO
1a86603a0c Make more dialog strings translatable 2018-02-04 21:38:49 +01:00
Silent
683c358e8a Fix 2 different files whose canonic names are the same can't be opened
in the same time issue

Fix Unicode file name comparision to match Windows behaviour (as opposed to doing a linguistic filename comparision)

Fixes #3820, closes #4141
2018-02-04 04:26:52 +01:00
Silent
7a0dae5912 Fix a crash by improving cutString() function
Remove an arbitrary MAX_PATH character limit

Fixes #2727, closes #4037
2018-02-03 01:00:33 +01:00
Don HO
0e60bd8957 Restore "Find Previous" & "Find Next" button in Find dialog
The pair of button "Find Previous" and "Find Next" have been removed in
the previous version due to some regressions. It's restored with being optional.
2018-02-01 10:09:24 +01:00
Silent
2c4a389f55 Fix encoding not sync (on status bar) after reloading
Extracted parts of FileManager::reloadBuffer and FileManager::loadFile
to a separate function, so that both exhibit the same feature level of
EOL/encoding detection. reloadBuffer() used to have less logic than loadFile() and incorrectly handled UTF-8 detection when the file was ANSI

Fixes #2637, fixes #2843, closes #4124
2018-01-30 09:43:58 +01:00
SinghRajenM
926a5f5300 Fix menu items' state is not maintained due to save macro command
Fixes #4112, fixes #4114, closes #4115
2018-01-30 09:26:08 +01:00
SinghRajenM
7132a8540c Add commandline support for few more languages
Closes #4084
2018-01-28 23:31:00 +01:00
SinghRajenM
fcb3ce31a0 Code improvement
Closes #4085
2018-01-28 23:22:47 +01:00
SinghRajenM
46d0f12c3e Fix line ending changes are not detected in reloaded changed files issue
Fixes #4033, closes #4043
2018-01-28 22:40:02 +01:00
Shreyas Jejurkar
e0c4011982 Added .coffee extension to CoffeeScript 2018-01-28 15:09:14 -05:00
Don HO
c05f24a3f6 Fix a typo 2018-01-28 21:07:48 +01:00
Don HO
3101a2f395 Plugins Admin (in progress) 2018-01-28 17:42:00 +01:00
dail8859
c97b35c815 Fix highlighting of <script> tags in XML files 2018-01-03 13:29:26 -05:00
Don Ho
1725c8f8c1 Notepad++ release 7.5.4 2018-01-01 02:58:59 +01:00
Joel Teichroeb
999b1cfa7b Improve smart highlighting performance
Abort highlight search if the selection crosses a line boundry.

Closes #3908
2017-12-31 12:55:29 +01:00
annbumagina
f07ebbf806 Autompletion enhancement: remove unwanted symbols
Fixes #3861
Closes #3917
2017-12-29 13:16:25 +01:00
Devin Nakamura
1002865144 Fix broken indicies in EncodingMapper
Fixes #3983
Fixes #3991
Closes #3992
2017-12-28 20:34:07 +01:00
Don HO
2390b19706 Fix a crash bug due to eventual disordered notifications sent to plugins
The Access Violation while closing Notepad++:
https://github.com/notepad-plus-plus/notepad-plus-plus/issues/3961
could be due to SCN_UPDATEUI sending after NPPN_SHUTDOWN, that makes
plugins treat SCN_UPDATEUI on the released handle.

To avoid such situation, once NPPN_SHUTDOWN has been sent, no more
message will be sent to plugin.

Fixes #3961, fixes #4021
2017-12-27 18:19:01 +01:00
Don Ho
b2c3e82ce7 Notepad++ release 7.5.3 2017-12-06 00:59:33 +01:00
Don Ho
5dcb0efedc Fix a crash issue in Plugin Admin 2017-11-28 02:32:40 +01:00
Don Ho
e339c0f600 Notepad++ 7.5.2 release 2017-11-27 09:32:44 +01:00
oirfeodent
16b62c9f45 Add BaanC Sections in functionlist.xml
Based on
https://notepad-plus-plus.org/community/topic/14494/functionlist-classrange-question

Closes #3842
2017-11-25 16:53:31 +01:00
SinghRajenM
60f113727c Remove unused/empty encoding from shortcut mapper
Closes #3763
2017-11-25 14:54:45 +01:00
Don HO
5eee71f493 Prevent from crash in TAB settings 2017-11-25 14:26:52 +01:00
SinghRajenM
dfeaa578f0 Fixed hang issue while opening JavaScript file
Fixes #3770, closes #3785
2017-11-25 13:34:09 +01:00
Don HO
4005bf4182 Add DSpellCheck plugin into distribution 2017-11-23 22:44:22 +01:00
Don HO
d975bc24a1 Fix compiling warning problem 2017-10-30 02:46:18 +01:00
Oleksandr Redko
c304b3b873 Fix static analyzer message "The ternary operator always returns constant"
V583 The '?:' operator, regardless of its conditional expression, always returns one and the same value: 22. nppcommands.cpp 1696
2017-10-29 18:18:22 +02:00
Oleksandr Redko
29f28098ae Fix static analyzer issue "A virtual function was overridden incorrectly"
V762 It is possible a virtual function was overridden incorrectly. See third argument of function 'create' in derived class 'UserDefineDialog' and base class 'StaticDialog'. userdefinedialog.h 332
V762 It is possible a virtual function was overridden incorrectly. See first argument of function 'redraw' in derived class 'SplitterContainer' and base class 'Window'. splittercontainer.h 61
V762 It is possible a virtual function was overridden incorrectly. See third argument of function 'create' in derived class 'FindReplaceDlg' and base class 'StaticDialog'. findreplacedlg.h 245
V762 It is possible a virtual function was overridden incorrectly. See third argument of function 'create' in derived class 'GoToLineDlg' and base class 'StaticDialog'. gotolinedlg.h 45
V762 It is possible a virtual function was overridden incorrectly. See third argument of function 'create' in derived class 'FindCharsInRangeDlg' and base class 'StaticDialog'. findcharsinrange.h 52
V762 It is possible a virtual function was overridden incorrectly. See third argument of function 'create' in derived class 'ColumnEditorDlg' and base class 'StaticDialog'. columneditor.h 45
V762 It is possible a virtual function was overridden incorrectly. See third argument of function 'create' in derived class 'WordStyleDlg' and base class 'StaticDialog'. wordstyledlg.h 77
V762 It is possible a virtual function was overridden incorrectly. See first argument of function 'redraw' in derived class 'WordStyleDlg' and base class 'Window'. wordstyledlg.h 99
V762 It is possible a virtual function was overridden incorrectly. See third argument of function 'create' in derived class 'PluginsAdminDlg' and base class 'StaticDialog'. pluginsadmin.h 100
2017-10-29 18:18:15 +02:00
Oleksandr Redko
81847599d0 Fix static analyzer issue "The enumeration constant 'inactiveText' is used as a variable of a Boolean-type."
V768 The enumeration constant 'inactiveText' is used as a variable of a Boolean-type. wordstyledlg.cpp 438
2017-10-29 18:18:07 +02:00
Oleksandr Redko
bdcc386a3a Fix static analyzer issue "An exception should be caught by reference"
V746 Object slicing. An exception should be caught by reference rather than by value. filedialog.cpp 183
V746 Object slicing. An exception should be caught by reference rather than by value. nppbigswitch.cpp 110
V746 Object slicing. An exception should be caught by reference rather than by value. pluginsmanager.cpp 259
2017-10-29 18:18:00 +02:00
Oleksandr Redko
9181f70d47 Fix static analyzer message "Expression is always true"
V547 Expression '_isFloating == true' is always true. dockingcont.cpp 1080
V547 Expression 'itemSelected == 2' is always true. treeview.cpp 504
V560 A part of conditional expression is always true: 0xff. babygrid.cpp 711
2017-10-29 18:17:44 +02:00
Don HO
8a01e5e29b Make mouse hook functions right 2017-10-29 12:17:59 +01:00
Don HO
7476ada223 Enhance Plugin Admin UI 2017-10-16 03:26:39 +02:00
Don HO
40163e0338 switch from VS2013 to VS2015 & VS2017 2017-10-01 23:16:17 +02:00
Don HO
1c5e6191bd Adapt json format for Plugin admin 2017-09-24 18:27:42 +02:00
Christophe Meriaux
2d1eee8b47 fix feedScintKeys when more than two shortcuts are configured
Closes #3732, fixes #3720
2017-09-19 20:04:56 +02:00
Don HO
505d2452d3 new easter eggs quotes 2017-09-19 09:41:30 +02:00
jeldert
ad959ac826 Fixed typo in help text
EsterEggName should be EasterEggName

Closes #3681
2017-09-17 01:21:16 +02:00
SinghRajenM
3cb8bc85a1 Fix certificate checking error message issue
1. Fixed issue (caption and message are interchanged)
2. Disabled lexerdll signature checking in debug mode

Closes #3691, Fix #3688
2017-09-17 01:16:47 +02:00
Rennie Petersen
97fce27cfe Nitpicking - quotations
Britain should be capitalized, one of the quotations is duplicated.

Closes #3743
2017-09-17 01:13:39 +02:00
Don HO
e2f5f51fbc Read plugin list as json format (in progress) 2017-09-17 00:52:35 +02:00
Don HO
b033d907b2 Export function list in json format 2017-09-11 02:46:15 +02:00
Don HO
405d4240cd Update spiritual quotes 2017-09-06 01:27:59 +02:00
Don HO
21adc62eed Add 1 quote and delete some. 2017-09-03 02:58:51 +02:00
Don Ho
d7f64d2027 Notepad++ 7.5.1 release 2017-08-29 03:01:24 +02:00
vlakoff
60b4aa6b75 Enhance Function List for PHP and JavaScript
Support interface and trait in PHP.
Support space between function name and opening parenthesis in PHP and JavaScript. Fixes at least #1919 and #2604.

About the JavaScript regex:

Current:
function(\s+[A-Za-z_]?\w*\([^\)\(]*\)|\([^\)\(]*\))

There are 2 parts, for named and anonymous functions. Note there is some duplication, let's simplify it:
function(\s+[A-Za-z_]?\w*)?\([^\)\(]*\)

The first character of function name is not optional (of course when the function is named), let's fix it:
function(\s+[A-Za-z_]\w*)?\([^\)\(]*\)

Finally let's support the possible spaces before opening parenthesis, for both named and anonymous functions:
function(\s+[A-Za-z_]\w*)?\s*\([^\)\(]*\)

Fixes #1919, fixes #2604, fixes #1667, fixes #2962
closes #2523, closes #2621
2017-08-27 02:04:19 +02:00
Don HO
5b5dfb90a8 Fix the bug that Notepad++ create %appdata%\local\notepad++\ folder even in doLocalConf mode 2017-08-27 00:04:40 +02:00
Don HO
f7dc09b5e8 Add a philosophy quote in easter eggs 2017-08-26 01:56:14 +02:00
Thomas Linder Puls
854acae4a1 Add Visual Prolog language support
Closes #1439
2017-08-25 09:43:36 +02:00