Commit Graph

1453 Commits

Author SHA1 Message Date
Don HO
9faa97a6f9 Fix a regression of hidden status bar due to the enhancement of tab interface 2017-02-23 23:58:57 +01:00
Don HO
a482cbd215 Add tip in Find dialog for informing users the usage of Shift+Enter 2017-02-23 23:56:35 +01:00
fvannee
a435e68164 Add Find dialog enhancement
Change search direction when pressing 'shift' while searching

Closes #1739, closes #2008
2017-02-23 08:55:42 +01:00
Don HO
e1125f0bbc Improve multi-line mode for tab interface 2017-02-23 02:52:26 +01:00
AngryGamer
9967c59912 Enhance multiline tabs
Stop mutli-line tabs from changing rows when switching tabs.

Closes #1858
2017-02-21 21:21:25 +01:00
Don HO
3d6fc3f2d8 Add Ctrl+Shift+W fshortcut or Close All
Closes  #1572
2017-02-19 18:28:17 +01:00
Christophe Meriaux
7ab6458978 Add shortcut mapper clear command
In the shortcut mapper, shortcuts can be cleared easily

Close #2800
2017-02-19 15:04:51 +01:00
SinghRajenM
6388d48e0c Enhance Load/Save Session Feature
1. If any session ext is set, then give preference to session ext instead
of "All Types (* . *). This is applicable for both save/load session
methods.
2. Show error message when user tries to load wrong session file (e.g. any
text file which is not a valid session file).
3. Correct typo and wrong description in a messagebox.

Closes #2921
2017-02-19 13:21:34 +01:00
AraHaan
855e581e44 Add Support Highlight for 3.5.0+ Syntax.
This adds in highlighting for Python 3.5.0+ users who uses "async def" and
"await"'s for coroutines.
These keywords are also planned to change in 3.6.0 as well with PEP-530.
http://www.python.org/dev/peps/pep-0530

Closes #2650
2017-02-18 22:23:19 +01:00
SinghRajenM
24a3acfcc8 Retain Delimiter selection on several lines setting
Fixes #2911, closes #2911
2017-02-18 22:07:49 +01:00
SinghRajenM
2f7667a22a Fixed Text clip issue on preference->Print->Print Line Number
Closes #2913
2017-02-18 22:05:19 +01:00
Christian Grasser
bc84b83af0 Correction of bufferID for iface document
- corrections for interface of bufferID, as x64 requires usage of UINT_PTR aka WPARAM instead of INT
- used new EolType instead of formatType
- removed commented NPPM_ADDREBAR, NPPM_UPDATEREBAR, NPPM_REMOVEREBAR not available in n++ code
- corrected typos

Closes #2920
2017-02-18 22:00:26 +01:00
Don HO
4a0e880557 Fix the command "Empty recent files list" doesn't restore menu width
Closes #2399
2017-02-18 18:41:43 +01:00
Don HO
bd70dcbe0a Change 2 default settings
Activate parameter hint of auto-completion.
Make caret blink rate slower.
2017-02-18 02:04:59 +01:00
Don HO
ee5601960c Activate clicable URL by default 2017-02-17 10:12:20 +01:00
Don HO
f524dfaf06 Fix add char into word char list bug
New word characters are applied only on the current document, not on the
other documents or new opened document.
2017-02-17 00:35:28 +01:00
Don Ho
2f2b56eb43 Notepad++ release 7.3.2 2017-02-14 00:55:20 +01:00
Mark Raymond
28eedd86dd Detect "Vagrantfile" as Ruby file.
Closes #1981
2017-02-12 00:01:37 +01:00
SinghRajenM
896d0ab695 Fix toolbar not showing issue while launching Notepad++ from system tray
Fixes #2600, closes #2729
2017-02-11 12:26:03 +01:00
redmanmale
73ee4426e4 Fix uncomment in block for line comment bug
Fixed block uncomment in undoStreamComment func, new argument.
tryBlockComment is to avoid loop call.
Fixed typo in doStreamComment func.

Fixes #1200, fixes #1714, fixes #2125, fixes #2854, closes #2875
2017-02-11 11:48:17 +01:00
SinghRajenM
3dfe526019 Show OS platform (32/64 bit) in Debug Info.
Closes #2895
2017-02-11 11:28:46 +01:00
Don HO
1d59e3ed0e Plugin Admin (in progress) 2017-02-10 00:08:29 +01:00
Don Ho
67b0ed9b42 Minors fixes
Closes #2797, closes #2663
2017-02-09 23:35:17 +01:00
Dan Gibson
7ad86ad688 Enhance 'Open File' command - open file without selecting whole path.
Closes #2878
2017-02-09 23:12:45 +01:00
CFrank
389524d230 Fix check sign in Language menu not shown
Closes #1095, Closes #1677
2017-02-05 19:51:37 -05:00
SinghRajenM
2119b171af Fix crash issue on clomn mode editor
If empty column(s) is/are selected in column mode: create a new document
then Alt-Shift + Arrow right key to select, launch colomn mode editor to
insert some number -> NPP crash.

Fixes #2820, Closes #2850
2017-02-05 17:49:12 +01:00
redmanmale
1caa457aae Disable couple of File menu items when it's needed.i
Fixes #2620, Closes #2858
2017-02-05 17:30:37 +01:00
SinghRajenM
7f98067c12 Add error notification on run dialog
1. GetLastErrorAsString is moved from PluginsManager.cpp to Common.h and common.cpp and also function signature is changed
2. Below method were already defined in common.cpp, but not declared in common.h
       generic_string intToString(int val);
       generic_string uintToString(unsigned int val);
3. Updated RunDlg.cpp to show error if ShellExecute fails

Closes #2626, Fixes #2179
2017-02-05 13:12:03 +01:00
CyberDragon777
b939ec9c7f Treat Arduino .ino extension as C++
Fixes #1433, Closes #2834
2017-02-05 01:07:21 +01:00
Joey Novak
05e75b139b Added elif to the list of Inno Setup (.iss) preprocessor directive keywords.
Inno Setup has an "else if" preprocessor directive (elif).
Closes #2575
2017-02-05 00:57:33 +01:00
SinghRajenM
1ee8cbd21c Retain the caret position between document move
Close #2664, Fixes #2541
2017-02-04 18:57:56 +01:00
Don Ho
754b92871d Fix Word char list bug
Fix custom word char list doesn't take effect after relauching
Notepad++.
2017-02-04 13:17:40 +01:00
dail8859
f2756c2286 Go to correct position after word completion
Closes #2675, Closes #2802
2017-01-29 11:20:56 -05:00
Don Ho
6e3726950c Merge branch 'master' of https://github.com/notepad-plus-plus/notepad-plus-plus 2017-01-27 01:45:06 +01:00
MAPJe
9dc109f599 FunctionList Update 2
* Implemented XML Schema for functionList.xml.
* functionList.xml:
1. new layout of association map;
2. placed `displayName` before `id` attribute where applicable;
3. utilize inline comments;
4. parsers added: 'XML for FunctionList', Assembly, AutoIt3, InnoSetup, PowerShell, KRL, Sinumerik and UniVerse BASIC;
5. parsers improved: C, Java, Batch, Bash, XML and NSIS;
6. replaced `[\t\x20]` with `\h` where possible;
7. using upper case notation for hexadecimal values e.g. `\x7F-\xFF`;

Closes #2602
2017-01-27 01:40:57 +01:00
Don HO
1a0e6d7611 Fix the regression in settings
Closes #2814
2017-01-23 09:47:37 +01:00
oirfeodent
1b1265302f Enable Scintilla Lexer SCLEX_BAAN (BaanC Language)
Closes #2696
2017-01-22 23:10:08 +01:00
Christophe Meriaux
96ed68c24b Language VHDL updated
Reserved keyword from IEEE 1076-2008 LRM §15.10
Closes #2659
2017-01-22 15:53:15 +01:00
Don HO
f62bf83bca Make VS2015 compile again 2017-01-22 00:59:40 +01:00
Don Ho
c235e17f7d Add Plugins Administrator (UI part, in progress) 2017-01-20 14:13:41 +01:00
Don Ho
8f2977a018 Notepad++ v7.3.1 release 2017-01-17 20:34:41 +01:00
Don Ho
f3db698166 Fix warning display for Word char list bug 2017-01-17 02:08:54 +01:00
Motaz Alnuweiri
6a0b7653b0 Improve Folder Browse And Save Dialog
Enable the new user interface for "Folder Browse Dialog" including the
edit box and enable Vista style for "Save Dialog".

Closes #2631
2017-01-17 00:02:32 +01:00
vlakoff
b7cf7271fd Add some missing AutoIt keywords
Closes #2728
2017-01-16 23:31:38 +01:00
Don HO
80004ebe7c Add new language Breton 2017-01-16 22:08:14 +01:00
Don HO
d923ece38d Fix an issue due to VS2015 compiling result (bug) 2017-01-16 21:52:52 +01:00
Don HO
6a05bedd05 Enhancement of "Word characters list"
While double-clicking to select or searching with "Match whole word
only" option, the selected characters stop on non-word characters. With
this enhancement, users can include any non-word character into word
characters list, to change its default behaviour.
2017-01-15 22:16:17 +01:00
Don HO
b0a625913c Fix the shadow declarations & make VS2015 compile again 2017-01-10 01:09:18 +01:00
Don Ho
f98686d9f4 Add some functions for future use 2017-01-08 23:59:36 +01:00
Don Ho
e838758e9b Fix geneation of MD5 on Unicode bug
"Geneate MD5 fom text dialog" has geneated wrong result on non ANSI
character (Unicode text).  This bug is due to wong input data.

Fixes #2743
2017-01-04 20:31:53 +01:00
Don Ho
cad87a0124 Fix "Don't check at launch time" not working problem
Preferences... -> Recent Files History -> Don't check at launch time
does not work anymore. If it is unchecked, it will be checked again on
next Notepad++ launch time.
Fixes #2746
2017-01-04 03:08:05 +01:00
Don Ho
8efadf9bf7 Notepad++ v7.3 release 2017-01-01 23:24:48 +01:00
Don Ho
8fc1a2ed30 Add MD5 functionalities 2017-01-01 18:28:25 +01:00
SinghRajenM
746c3da88a Add to recent file history only if file is removed from all the views
There might be cases when file is cloned/moved to view. Don't add to recent list unless file is removed from all the views
Closes #2665, Fixes #2277
2016-12-24 20:57:34 +01:00
Don Ho
ac871cacd4 Get back Find dialog while you lost it
In the environment of multi-monitor with a laptop + a stantion, it
happens all the time that users have lost Find dialog after detaching
and retatching - the solution: Ctrl-F twice will get back your Find
dialog.
2016-12-18 17:37:43 +01:00
dail8859
911fd9a7bd Simplify determination of URL at click location
Closes #1248, Closes #1255, Closes #1595, Closes #1762, Closes #1768, Closes #2583
2016-12-11 10:54:59 -05:00
Don Ho
4c23de61b4 Notepad++ 7.2.2 release 2016-11-27 19:55:58 +01:00
dail8859
5045b02fa3 Remove duplicate keywords from langs.model.xml
Closes #2592
2016-11-27 09:57:47 -05:00
SinghRajenM
a07fcd8f9a Fixed auto-updater setting toggles between startups bug
Fixes #2597, closes #2599
2016-11-27 13:06:48 +01:00
Don Ho
1ce7df0408 Restore "Find All in Current Document" buttons none shorcut status
In Find dialog, the new shortcut of "Find All in Current Document"
buttons (in v7.2.1) has hijacked the one of Replace &All.  Here's the
fix for this regression.
2016-11-26 12:42:45 +01:00
Don Ho
7ee1a5d935 Notepad++ v6.2.1 released 2016-11-21 00:25:54 +01:00
evpobr
44d90cd228 CMake: use WIN32 variable
Closes #2434
2016-11-19 18:33:18 +01:00
Chris
407fccba67 Added new VB keywords
Added new VB keywords; all from addhandler to xor are official keywords
of the current VB.NET; those from attribute to unload are legacy
keywords (VB6 etc.); those from aggregate to yiels are not reserved but
still have a special meaning in most cases

Closes #2496
2016-11-19 16:31:31 +01:00
Doug Ilijev
4c5a1f96bf Add an accelerator key in Find dialog
Add accelerator key to "Find &All in Current Document" in Find dialog.
Closes #2391
2016-11-19 15:27:04 +01:00
dail8859
642fdb421a Fix double click after double clicking hotspot
Closes #2547, Closes #1259, Closes #2569
2016-11-18 19:13:11 -05:00
evpobr
2007cac5a6 Fix incorrect type conversion
UINT -> UINT_PTR as declared in MSDN.
Closes #2448
2016-11-14 09:17:16 +01:00
dail8859
5af1c055d1 Correctly identify when a macro is playing
In certain cases (e.g. running the current macro until the end of file) and auto-completion and auto-indentation was not getting turned off, causing certain commands to get interpreted incorrectly. Closes #2553, Closes #2545, Closes #2556
2016-11-12 11:20:51 -05:00
SinghRajenM
6fdfd04704 Small tune on Run Macro dialog UI.
1. Radio button and edit box were overlapped
2. Edit box and comboxed were not vertically aligned.

Closes #2549
2016-11-11 19:12:43 +01:00
SinghRajenM
bc38c74c3a Improve Javascript string readability
Fixes #1543, closes #2550
2016-11-11 18:59:56 +01:00
dail8859
5f3654b362 Expand environment variables in backup path
Fixes #2520, Fixes #2525
2016-11-08 08:07:32 -05:00
Don Ho
6baac0afd7 Notepad++ release 7.2 2016-11-02 11:52:43 +01:00
Christian Grasser
b39c9a1848 cmake config update
- added usable cmake config file by transferring files structure from visual studio project file
- contains also basic support for mingw make file creation
- see https://ci.appveyor.com/project/chcg/notepad-plus-plus/build/1.0.38 for successful with own appveyor config

Closes #2477
2016-10-31 20:00:09 +01:00
Rajendra Singh
a4b03a1f57 Fix Encoding radio button issue in New Document
Sync UTF-8 checkbox with UTF-8 radio button

Closes #2377
2016-10-31 19:30:28 +01:00
Christian Grasser
5a96eb68b2 MinGW GCC update
- changes necessary to get back a buildable version with mingw, last adapted with https://github.com/notepad-plus-plus/notepad-plus-plus/pull/1229
- fixed some gcc compiler errors and warnings, see https://ci.appveyor.com/project/chcg/notepad-plus-plus/build/1.0.3 to https://ci.appveyor.com/project/chcg/notepad-plus-plus/build/1.0.13
- remaining task is the wincontrol "ReadDirectoryChanges", which uses ATL, propably not available with mingw
Closes #2478
2016-10-31 14:03:29 +01:00
SinghRajenM
f9d1341cf3 Change styler to make makefile more readable
Closes #2482
2016-10-31 12:34:49 +01:00
Don Ho
2897dee54a Fix a tab settings regression
Tab settings per language broken due to the entries are doubled by error
during the preferences dialog reorganization.
2016-10-30 01:02:32 +02:00
Don Ho
1b66acd5e9 Fix a regression of double click on several zones of status bar. 2016-10-29 22:02:06 +02:00
Don Ho
3924190fb1 Add smart highlighting extension to anothe view option
Add new option to enable smat highlighting extension to anothe view,
while both views are visible side by side.
2016-10-28 11:47:36 +02:00
dail8859
a82d9f9981 Ensure backup directory exists
Failed backups result in a user error message and asks to save the file anyways. Closes #2346, Closes #2441
2016-10-23 21:07:17 -04:00
squarefractal
b3f56a47cf Add .profile, .bash_profile, and .bashrc extensions. 2016-10-23 21:06:24 -04:00
SinghRajenM
3e3cbe0c22 Fixed disable smart highlihgt inconsistent behaviour
This bug can be reproduce by turning off smart highlight then restart
Notepad++ : some smart highlight options are still enabled.

Fixes #2442, closes #2465
2016-10-23 14:01:44 +02:00
Don Ho
39df01dab5 Add SmartHighLight node for config.xml generation 2016-10-23 13:43:28 +02:00
Don Ho
0746d1f4f7 config.xml is generated by notepad++
No more config.model.xml. config.xml is generated by notepad++ directly.
2016-10-23 03:50:41 +02:00
Don HO
76bc03fc92 Update config.model.xml 2016-10-21 01:47:26 +02:00
Don Ho
76f6ba8cb6 Notepad++ 7.1 release 2016-10-16 16:18:00 +02:00
Don Ho
b6b11d9f6d Update english.xml
Update english.xml, chinese.xml and french.xml
2016-10-14 09:26:28 +02:00
Don Ho
66c6aca759 Enhance smarthighting UI
Use checkboxes instead of combobox.
If "Use Find settings" is checked, use both "match case" & "whole word
only" (instead of only "whole word only")
2016-10-13 02:01:09 +02:00
dail8859
addc9b483a Add contextual keywords to C# word list
Closes #2413, Closes #2416
2016-10-12 12:28:35 -04:00
dail8859
e1f01e00ba Add C# type keywords to style configurator
Closes #2415
2016-10-12 12:27:59 -04:00
Don Ho
4fec265304 Reorganization of preferences dialog 2016-10-10 00:20:38 +02:00
Don Ho
8bf3decf21 Integrate Corsican language 2016-10-09 20:12:28 +02:00
Rajendra Singh
a7c87b8e72 Fixed UI issue for RTL layout
1. For RTL languages such as hebrew, "Close" button goes beyond the dialog.
2. Few Text is chopped (specially ". matches newline" and "Regular expression")

Closes #2337
2016-10-09 17:52:06 +02:00
Rajendra Singh
ae0f870ee6 Improve About OK button look
Fixes #2151, Closes #2152
2016-10-09 01:57:16 +02:00
MAPJe
9265620ce1 Avoid Auto-Close HTML tags
Updated list of void elements (self-closing tags).

Closes #2379
2016-10-09 01:23:55 +02:00
Rajendra Singh
11c71210b6 Fix some text display problems on preferences dialog
Adjusted static controls position

Closes #2300
2016-10-08 00:11:52 +02:00
MAPJe
5d438aa082 Normalize functionList.xml
- Updated file header and `associationMap`-header.
- Changed order of associations and parsers to follow ascending 'langID' numerical values.
- Removed `displayMode` attributes (are not used).
- Make functionList.xml XML compliant.
- Put set of characters in same order in all character groups.
- Correct `)/` to `/)` in `commentExpr`-attribute.
- Add pattern modifier to multi-line comment expression.
- Add pattern modifier to single-line comment expression.
- When applicable remove outer most parentheses of `commentExpr`-attribute.
- As an underscore is part of character class `\w` (equals group `[A-Za-z0-9_]`) remove the underscore when both are used in the same group.
- Replace the `A-Za-z0-9_` set in a group with character class `\w` as they are equal.
- No need to put one character class in a group e.g. change `[\w]` to `\w`.
- Replace space character with its hexdecimal representation i.e. \x20.
- Corrected Python parser i.e. renamed `funcNameExpr` to `nameExpr` in function-parser part.
- Changed use of L_JS (19) to L_JAVASCRIPT (58).

Closes #2335
2016-10-08 00:08:12 +02:00
Rajendra Singh
029cb09893 Fix Folder as Workspace toolbar icon inconsist behaviour
Fix Folder as Workspace toolbar button inconsist state while closing
Folder as Workspace windows directely (by clicking X button)

Fixes #2249, closes #2263
2016-10-07 20:15:10 +02:00
dail8859
c364144c39 Ignore numbers for autocompletion by default 2016-10-07 09:17:55 -04:00
dail8859
91e81d9f50 Set SQL lexer property after setting lexer
This way it respects the property's value the first time using the lexer.

Closes #2353, Closes #1330, Closes #1253, Closes #704, Closes #2385
2016-10-07 09:10:40 -04:00
dail8859
98a246c1e5 Add option to skip numbers during word completion
Closes #2365, Closes #2378
2016-10-07 09:08:58 -04:00