Commit Graph

1529 Commits (440577f6479adb0b8edecffea9ece54916dab8ab)

Author SHA1 Message Date
AngryGamer 694fd80fa5 Fix visual glitchy on clicking on tab due to Document Peeker.
Closes #3367
2017-06-13 20:53:52 +02:00
Roman Artiukhin b3be0b448b Make FindReplace dialog resizable horizontally
Closes #3376, closes #2516, closes #774
2017-06-13 09:24:13 +02:00
Roman Artiukhin e8e325b7c1 Fixed Toolbar initialization code
It seems REBARBANDINFO.cbSize initialization logic got broken after
migration to VS 2013 (last working version - 6.6.9)

That leads to various problems related to toolbar logic (like missing
chevron - #3385 or incorrect plugin toolbar placement #3094)

Closes #3386, fixes #3385, fixes #3094
2017-06-12 01:09:58 +02:00
Don HO eb43167fbf Disable document peeker as default 2017-06-11 16:52:03 +02:00
Don HO dbe2b698b1 Fix replace in files regression.
Make focus always on main editor, so we don't need to set document as
read only while it's being peeked.
2017-06-11 13:07:48 +02:00
Don HO 8e4b7014ff :) 2017-06-04 11:25:49 +02:00
AngryGamer 6b0977b0b8 Fix rapid swapping between two tabs during tab drag and drop.
Closes 3328, Fixes #3017, fixes #2771
2017-05-31 08:49:01 +02:00
Don HO a00a913752 Fix a crash issue while doing a column insertion on a CJK unicode document
Fixes #3314
2017-05-30 09:01:51 +02:00
Boris 85216fe577 Fix repeated requests of reloading from disk
A popuped message appear for the 1st modification from outside of
Notepad++, if users ignore it and save another change outside, the 2nd
popuped message appears. This commit fix this bad behaviour, which could
lead crash.

Closes #3307
2017-05-27 14:14:54 +02:00
Don Ho 71ffe870c5 Notepad++ 7.4.1 release 2017-05-18 03:22:33 +02:00
Don HO a067de8ce2 Improve Document Peeker performance issue for large files 2017-05-17 10:01:28 +02:00
Don HO 8dbd956344 Disable the certification chain verification
WinTrust library checks chain of trust on line which makes Notepad++
hanging due to the Firewall's restriction.
2017-05-16 19:50:22 +02:00
Don HO caee890960 Refine the empty file as UTF8 encoding feature 2017-05-16 19:45:56 +02:00
Don HO 8aa6562ac3 Fix the opened zero length file not saving bug 2017-05-16 01:02:18 +02:00
Don HO 2befd1321e Change to the right name 2017-05-15 09:22:31 +02:00
Don HO 66d91d93bb Notepad++ release 7.4 - make name right
Change "Document Snapshot" to "Document Peeker".
Fix a peeker bug on reading from setting file.
2017-05-14 20:26:23 +02:00
Don Ho 481a275ad6 Notepad++ 7.4 release 2017-05-14 14:54:14 +02:00
SinghRajenM b45b10385f Make folding style visible using proper color
Fixes #2948, closes #2949
2017-05-10 18:35:02 +02:00
jiffe f917abd1f4 Setting fold.quotes.python in setPythonLexer
Closes #3104
2017-05-10 18:28:57 +02:00
Supriyo Biswas 23cdf94926 Add ip(6)tables.* commands for bash.
Closes #3242
2017-05-10 18:24:48 +02:00
Egor 23dd7228d0 Fixed file attribute managing in FileManager::saveBuffer
Original code was flawed:
 * On +S+H (hidden and system) files, the attributes are set 4 times,
   when there's only need for 2 calls.
 * When clearing +S bit, it is masked out from the _original_
   attribute value, which means that if the +H was cleared previously,
   it is set back again. It doesn't seem like this was intended, so
   I assume it's a bug.
 * When restoring the attributes, there's a pointless OR operation.

Close #2881
2017-05-10 18:21:29 +02:00
Don HO bfb672d8bb A small modification regarding the certificate checking function 2017-05-10 18:14:27 +02:00
Don HO e2329fd15c Improve certificate verifying method 2017-05-10 02:12:10 +02:00
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
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 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
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 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
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
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 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
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
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
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
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