Commit Graph

1829 Commits (f15e136fa32df1593f33cc72b395fec2475d4d17)

Author SHA1 Message Date
Don HO 11accf92e9 Fix issue of lossing syntax highlighting during "save as"
The new behaviour is: as user set a new syntax highlighting once, the
new file extension of "save as" will be ignored.

Fixes #1298
2017-05-09 01:59:05 +02:00
LinuxLab 675d586840 Update Portuguese translation
Fixes #2998, Closes #3021
2017-05-08 19:53:22 +02:00
Cimon Lucas (LCM) b2e46391ab Putting unused javascript.js type2 keywords into instre2 keywords
Fixes #3117, closes #3119
2017-05-08 19:49:12 +02:00
SinghRajenM 65a90fd91a Fixed regression for save session file
Fixes #3029, closes #3032
2017-05-08 19:45:18 +02:00
SinghRajenM 3661527fca Enhancement for saving workspace file
closes #3029, closes #3234
2017-05-08 19:41:55 +02:00
AngryGamer ca3c2a6016 Make "Window->Windows...->Sort Tabs" more user friendly
Closes #3248
2017-05-08 19:39:10 +02:00
Don HO 76395bb5e5 Add copyright information 2017-05-08 03:27:32 +02:00
Don Ho 5c714043fb Fix compiliing issue in VS2013 2017-05-08 01:43:04 +02:00
Don HO 6b0a3c8e6b Enhance certificate check 2017-05-08 00:19:56 +02:00
Don HO f4228f5e52 Add "droppong folder as workspace" warning while both files and folddrs are being dropped. 2017-05-02 20:01:53 +02:00
dail8859 74c24cf6b5 Fix issue with clicking links in html/js/asp/php 2017-05-01 20:47:38 -04:00
Richard Brock a9de79a550 Apply the new file custom encoding to an opened empty file
Closes #2997, fixes #2947, fixes #1874
2017-05-01 03:09:22 +02:00
Tmp341 4c03c3eab7 Update turkish.xml
Update to latest version.

Closes #3147
2017-05-01 00:25:56 +02:00
Steven Vascellaro d817584986 shortcuts.xml: Reword `Trim Trailing and save`
Reword option from `Trim Trailing and save` to `Trim Trailing Space and Save`

Closes #3154
2017-04-30 23:33:44 +02:00
AngryGamer adf02ca9eb Fix right clicking tabs with multiline enabled
Fixes #3186, closes #3110
2017-04-30 20:39:11 +02:00
AngryGamer cb2c8e102d Remove excess margin with multi-line. 2017-04-30 20:39:04 +02:00
SinghRajenM 336992ea77 Activate buffer after reload
Fixes #3080, closes #3082
2017-04-30 20:33:00 +02:00
SinghRajenM e10847b429 Improve whitespace visibility
Closes #3200
2017-04-30 20:30:22 +02:00
SinghRajenM ea87ffd7d0 Support RTL for header & footer printing
Closes #3208
2017-04-30 20:25:34 +02:00
Patriccollu 6d28c81a6c Add Corsican as Installer Language
Closes #3164
2017-04-30 20:21:33 +02:00
Patriccollu 80083c7388 Updates localizationCode for Corsican
closes #3165
2017-04-30 20:12:54 +02:00
SinghRajenM 257cdf2812 FIxed Preference(MISC) UI Issue
Issue fixed:
1. UI clipping
2. Tab order

Closes #3218
2017-04-29 18:08:34 +02:00
Don HO 8752bcad57 Add UI part for Document snapshot feature
Enhance doc snapshot on several points.
2017-04-27 13:03:31 +02:00
Don HO a43c9b9745 Add snapshot on document map feature 2017-04-25 09:28:24 +02:00
Don Ho c1f6b9e7df Fix VS2013 compiling error 2017-04-18 02:47:39 +02:00
Don HO 20e669ff01 Add document snapshot feature (in progress) 2017-04-18 01:31:41 +02:00
Don HO f57a565b6b Fix typos and grammar errors 2017-04-16 21:31:15 +02:00
Don HO 14639c01af :) 2017-04-16 18:58:02 +02:00
dail8859 c63673a1d8 Fix buffer overrun for wordchar list 2017-04-07 16:30:12 -04:00
MISE Yasuhiro 315a161ae2 update japanese.xml to v7.3.3
* Add new lines to catch up with v7.3.3.

Closes #3011
2017-03-25 15:05:49 +01:00
Lando 5fe42667ef Some fixes
Some orthography and typo corrections, also, changed the texts that meant programming "language" from "idioma" to "lenguaje" since idioma in spanish is meant mostly for human language, and for programming languages is "lenguaje de programación". (It sounds really weird to say "idioma de programación")

Closes #3031
2017-03-25 14:43:04 +01:00
Lando 7755542b3a Added missing js es2017 keywords
`async` and `await` are now part of javascript since es2017. `yield` was there even before that

examples:
````
//async and await:
function resolveAfter2Seconds(x) {
  return new Promise(resolve => {
    setTimeout(() => {
      resolve(x);
    }, 2000);
  });
}

async function add1(x) {
  var a = resolveAfter2Seconds(20);
  var b = resolveAfter2Seconds(30);
  return x + await a + await b;
}

add1(10).then(v => {
  console.log(v);  // prints 60 after 2 seconds.
});

async function add2(x) {
  var a = await resolveAfter2Seconds(20);
  var b = await resolveAfter2Seconds(30);
  return x + a + b;
}

add2(10).then(v => {
  console.log(v);  // prints 60 after 4 seconds.
});
//yield:
function* foo() {
  var index = 0;
  while (index <= 2)
    yield index++;
}
````
This should close issue #2455 too.

References:
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/async_function
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/await
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/yield

Closes #3041, fixes #2455
2017-03-25 14:32:53 +01:00
rddim 73a928aa56 Update Bulgarian translation
Closes #3074
2017-03-25 14:29:34 +01:00
SinghRajenM fe45f2e9b1 Remove duplicate code for checking certificate
Closes #3076
2017-03-25 14:17:33 +01:00
Damien Gerard 6947bf3909 winmain: add newline at the end of file
winmain: move local functions to anonymous namespace
winmain: remove redundant static keyword
winmain: add newline at the end of file
winmain: move UAC related code to anonymous function
winmain: declare MSGFLT_ADD/MSGFLT_ALLOW only if not already defined
winmain: check only for emptiness
parameters: move winKeyDefs & scintKeyDefs & PGNSI to anonymous names
parameters: remove redundant static/inline keywords
misc: remove unused source code

Closes #3030
2017-03-25 12:15:48 +01:00
Don HO a308ea57b7 Fix a typo
Closes #3077
2017-03-20 11:27:11 +01:00
AngryGamer 5184880161 Fix drag and dropping tabs with multi-line enabled.
Closes #3075
2017-03-20 00:25:36 +01:00
AngryGamer e94036114b Hijack shift+MW hotkey to move tabs rather than switch to them (while drag and drop enabled) 2017-03-20 00:19:50 +01:00
AngryGamer 96c0943ad6 Fix tab switching hotkeys in multi-line (shift+MW, ctrl+MW, shift+ctrl+MW) 2017-03-20 00:19:48 +01:00
AngryGamer b7a560c012 Fix text on active tabs being clipped (multi-line) 2017-03-20 00:19:46 +01:00
AngryGamer 07a565e935 Add two functions: one correctly switches to the active tab, the second swaps tab item data when given two tab indexes 2017-03-20 00:19:43 +01:00
Don HO 1205ab9805 Clean up 2017-03-19 13:47:11 +01:00
Don HO 568248b127 Disable undone feature 2017-03-14 09:25:34 +01:00
Don HO 6a3d9e994d Fix a minor bug in "Show content in doc map on mous hover"
Fix a compiling error for x64 build
2017-03-14 09:09:01 +01:00
Don HO fe463dc03a Check content via document map on hovering (in progress) 2017-03-13 02:10:47 +01:00
Don Ho 388c430e21 Notepad++ v7.3.3 release
In this release:
Fix CIA Hacking Notepad++ issue
(https://wikileaks.org/ciav7p1/cms/page_26968090.html).
and more...
2017-03-08 04:04:59 +01:00
Don Ho e5f4344f69 Add Crypto lib in vcproj to make Notepad++ compiled under VC2013 2017-03-08 03:14:54 +01:00
Don HO 7aa7788af0 Add clean up for isCertificateValidated() function 2017-03-08 02:57:11 +01:00
Don HO b869163609 Check SciLexer.dll certificate
This fix is about the issue "Vault 7: CIA Hacking Tools Revealed"
published on Wikileak:
https://wikileaks.org/ciav7p1/cms/page_26968090.html
2017-03-08 02:52:58 +01:00
Richard Brock 133977da67 Fix the mouse wheel to task list scroll crash issue
Closes #2982, fixes #1616, fixes #2603, fixes #2828, fixes #607
2017-03-06 03:25:42 +01:00
Artem Polivanchuk 71b3c499a3 Update belarusian.xml
Closes #2961
2017-03-06 02:17:48 +01:00
BdR76 a3a7fadac8 Incorrectly translated "space" to Dutch "ruimte"
In Dutch a space-character is commonly refered to as "spatie".
(the Dutch word "ruimte" does mean "space" but more in the sense of a physical area or location, like living space or shelf space)

Closes #2942
2017-03-05 16:08:57 +01:00
Christian Grasser b335fd156b update docu from udl v2.0 to v2.1
see https://github.com/notepad-plus-plus/notepad-plus-plus/issues/2713
Closes #2943
2017-03-05 16:03:50 +01:00
SinghRajenM eaf8f8e0e6 Remove ANSI version of: Hungarian (ANSI), Slovak (ANSI)
Corrected order for: Friulian, Kannada
Fixes #1789, closese #2954
2017-03-05 15:53:43 +01:00
popcorner ae5cd04100 Update chineseSimplified.xml
Closes #2994
2017-03-05 15:49:53 +01:00
rddim 24c47fd172 Update Bulgarian translation
Closes #2955
2017-03-05 15:40:47 +01:00
SinghRajenM e82110395e Update Hindi translation
Closes #2959
2017-03-05 15:33:08 +01:00
schnurlos 07da57eace Update german.xml to v7.3.2
Closes #2967
2017-03-05 14:51:28 +01:00
Don HO 97573c80a0 (In progress) New feature: check content via Document Map while mouse hovering on a inactivated tab 2017-03-05 14:03:02 +01:00
dail8859 739593fb66 Update HTML attribute wordlist
Closes #2938
2017-03-01 19:07:21 -05:00
Don HO 5b3818288b Remove BOM from langs4Npp.nsh 2017-03-01 19:44:24 +01:00
Don HO f4bddcac3d Add new function names for Java auto-completion
Closes #2926
2017-02-27 00:27:58 +01:00
AndresTraks 03ff54910d Estonian translation
Close #2951
2017-02-26 23:03:02 +01:00
Eduard Braun ffe2ddace3 Fix flickering issue if Doc is deleted from outside
Improve behavior when notifying the user about a buffer change (opened file changed or deleted)
- Restore the Notepad++ window and switch to the document in question *before* showing the dialog (this was only done afterwards before)
- Fix flickering issue described in #1018 and #2010 which was exposed by f2cd779066

Closes #2956
2017-02-26 18:53:36 +01:00
Don HO 61bc5e27bb Add more keywords for Assembly syntax highlighting
Add the instructions movabs and cvtsi2sdq; and the register sets r8-15
and xmm8-15.

Closes #1821
2017-02-26 14:46:18 +01:00
Geoffray 53c3a2ab03 Add new PHP7 functions to syntax highlight
Add following new functions :
random_bytes
random_int
error_clear_last
gmp_random_seed
preg_replace_callback_array
gc_mem_caches
get_resources
posix_setrlimit

Closes #1729
2017-02-26 12:49:01 +01:00
Don HO cf32cb0ede Add keywords for MS SQL Server
Add the UNIQUEIDENTIFIER, MERGE and NVARCHAR  keywords for MS SQL Server

Closes #1672, fixes #1097, fixes #1616
2017-02-26 02:52:57 +01:00
Markus Heidelberg 6b6b81278b Integrate lexers for several hex file formats
Integrate Motorola S-Record lexer.
Integrate Intel HEX lexer.
Integrate Tektronix extended HEX lexer.

Fixes #1256, closes #1257
2017-02-26 00:25:05 +01:00
SinghRajenM beda685dc6 Fix flickering issue if Doc is modified outside Notepad++
Fixes #2010, fixes #1018, fixes #1761, closes #2952
2017-02-25 19:06:52 +01:00
Don HO 701d1f79d7 Add Shift+Enter tip translations 2017-02-24 21:15:21 +01:00
Don HO 3ba1b100f2 Refactoring and clean up for tab interface 2017-02-24 03:14:47 +01:00
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
Don Ho 82dd554c49 Move xsd file 2017-02-22 00:15:54 +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
SinghRajenM c36ee6ec9a Make uninstaller cleaner again!!
Fixed uinstaller issues:
1. Folder "localization" is not removed even all the files are removed from
this folder.
2. Folder "pluging\APIs" is not removed even all the files are removed from
this folder.
3. Three files are not removed (contextMenu.xml, functionList.xml and
shortcuts.xml). There might be more files.
From "%appdata%\Notepad"
4. Bakcup folder (form %appdata%\Notepad++) is not removed if backup folder
is not empty.
5. Folder "themes" is not removed even all the files are removed.
6. Because of above two items, parent folder ("%appdata%\Notepad") is also
not removed.
7. Rephrase user message when user tries to install 64 bit while 32 is
already installed (vice versa).

Closes #2565
2017-02-18 22:29:13 +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
rddim f787d22a70 Update Bulgarian language
Closes #2900
2017-02-18 22:16:14 +01:00
SinghRajenM 4ac288a944 Add NPP icon for uninstaller as well
Closes #2905
2017-02-18 22:13:44 +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 6373222668 Updated slovenian.xml
Closes #2902
2017-02-18 16:02:17 +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
Don Ho cc4b47975f Update translation files 2017-02-12 23:10:26 +01:00
Magnus Österlund 2d138e9752 Update Swedish.xml to version 7.3.1
Closes #2899
2017-02-12 23:07:14 +01:00
Marcus 6dacca9508 Fixed fontname and font size in Obsidian.xml
See changes mentioned in #1299; This update fixes it in the files used by the installer so it works by default without requiring the steps in #1299.

Closes #1799
2017-02-12 23:03:44 +01:00
Don Ho 343aae1f7a Update Russian translation
Closes #2862, closes #1410
2017-02-12 01:48:22 +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