70 Commits

Author SHA1 Message Date
Don HO
3de506bf48
Update copyright
Close #5919
2020-04-04 23:03:18 +02:00
Don HO
6e6341cc61
Make some codes conform to the defined coding style 2020-01-28 02:20:44 +01:00
Don HO
1929cce416
Fix auto-insert bug
Fix #6078, fix #7733, close #7742
2019-12-15 14:27:08 +01:00
Don HO
06db9ee338
Code improvement for NppParameters 2019-08-14 22:13:24 +02:00
Rajendra Singh
105dcebb9e
Improved isAllDigits algo
Close #4530, close #5828
2019-06-25 21:03:33 +02:00
Rajendra Singh
9539a892eb
Code quality improvement: pass string by reference instead of value
Also remove not implemented methods addBufferToView(), moveBuffer() and doActionOrNot() from Notepad_plus.h

Close #5784
2019-06-25 14:21:35 +02:00
Don HO
344850aedb
Fix assert in AutoCompletion::isAllDigits methode
Fix debug mode assert in `AutoCompletion::isAllDigits` methode while inputting non ASCII characters.

Fix #5280
2019-06-09 16:04:53 +02:00
Don HO
d22d1609ab
Upgrade Scintilla - Adaptation of PowerEditor part 2019-05-08 11:13:21 +02:00
Don HO
784eea3ef7
Remove the test of null pointer for delete
Since deleting a null pointer just does nothing:
https://isocpp.org/wiki/faq/freestore-mgmt#delete-handles-null
2019-04-06 16:43:23 +02:00
Don HO
52a4e21af5
Remove ugly coding style 2019-03-16 05:33:50 +01:00
Don HO
5356f648c2
Remove some ugly coding styles 2019-03-13 02:02:35 +01:00
Don HO
bd7816755c [EU-FOSSA] Replace lstrcat by wcscat_s to avoid crash 2019-02-22 12:57:58 +01:00
Don HO
d6f5b7b13a Change folder location of auto-completion
from "<NPP_INST>\plugins\APIs\" to "<NPP_INST>\autoCompletion\"
2018-12-23 04:27:56 +01:00
Silent
08eb29e3d6 Force cpp standard const char pointer on string literals
const-ified all string literals to suppress warnings on gcc and allow /Zc:strictStrings to be used with Visual Studio

Fix #4146, close #4150
2018-06-25 00:06:26 +02:00
annbumagina
f07ebbf806 Autompletion enhancement: remove unwanted symbols
Fixes #3861
Closes #3917
2017-12-29 13:16:25 +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
b0a625913c Fix the shadow declarations & make VS2015 compile again 2017-01-10 01:09:18 +01: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
dail8859
98a246c1e5 Add option to skip numbers during word completion
Closes #2365, Closes #2378
2016-10-07 09:08:58 -04:00
dail8859
10c6dc0174 Skip auto-complete of tags within HTML script
Closes #2282 Closes #2284
2016-09-24 16:56:10 -04:00
Don HO
d4bcec1c01 Lost in Translation 3 2016-08-11 22:29:39 +02:00
Don HO
2e82a99649 Lost in translation
while (true)
{
conversion<C++>(C-Style cast );
}
2016-08-06 01:29:54 +02:00
Don HO
83f291acf8 Merge branch 'master' of https://github.com/notepad-plus-plus/notepad-plus-plus 2016-07-23 11:39:04 +02:00
Don HO
30bd15f04a Use C++ conversion instead of C style cast 2016-07-23 11:37:58 +02:00
dail8859
daafd77c51 Skip auto-complete of XML processing instructions
Fixes #2050
2016-07-18 19:21:36 -04:00
dail8859
ace8a4cf58 Revert "Skip auto-complete of <?xml> tag"
This reverts commit 9183281921b180428e3cc748c074db9977d1d5e2.
2016-07-18 19:21:36 -04:00
dail8859
9183281921 Skip auto-complete of <?xml> tag
Closes #1999
2016-07-03 16:21:35 -04:00
dail8859
ed4143bbdf Skip attempt to auto-complete when closing XML comment
Closes #1977
2016-07-03 16:01:47 -04:00
Don HO
64d7535be1 x64 ready
1. Remove all warning while compiling in x64
2. Treat warning as error (W4) while compiling in x64
2016-06-05 20:30:22 +02:00
dail8859
ce0c298c3e Minor performance enhancement to autocomplete 2016-03-03 21:26:08 +01:00
Don Ho
8aeb6f3f20 Fix html tag auto-completion bug
Closes #1510
Prevent from auto-closing html tag for "br", "hr", "img", "link" and
"meta" not working under Windows 10 32 bits. This patch fix this bug.
This patch prevents also from closing <!doctype>.
2016-02-29 01:32:45 +01:00
squarefractal
74a0c8c398 Prevent HTML tags with no closing tags from being autocompleted.
Closes #1068
2016-01-10 00:11:28 +01:00
Don Ho
986492e47b Fix Javascript autocompletion not working regression. 2015-10-18 20:12:40 +02:00
Don Ho
6571731236 Enhance auto-insert for parenthesis, bracket and Braces
Enhance auto-insert behaviour for parenthesis, bracket and Braces inside
of
parenthesis, bracket or Braces.
2015-10-14 20:38:12 +02:00
Don Ho
e81ac898c0 Enhance auto-insert for quotes and double quotes
Enhance auto-insert behaviour for quotes and double quotes inside of
parenthesis or bracket.
2015-10-13 12:16:04 +02:00
Don Ho
35adb1910b Enhance auto-insert
Make auto-insert more usable - no auto-insert if the following (and
previous character - in the case of quote or double quote) character is
not blank character. (fixes #584, fixes #450)
2015-10-06 18:07:30 +02:00
dail8859
dd31ea2e66 Fix auto-insert for xml comment incorrect insertion (closes #598, fixes
Skip auto-insertion detection for xml comment tag.
2015-09-26 15:53:44 +02:00
Damien GERARD
660951bdf6 Coding style / Code cleanup 2015-08-04 18:09:17 +02:00
Don Ho
e9e710a3d4 [UPDATE] Unprecompile headers (part 2) 2015-05-31 22:40:07 +02:00
Don Ho
b35e759d11 [UPDATE] Unprecompile headers 2015-05-31 15:57:17 +02:00
Don Ho
7f6dd17f03 [CODE_ENHANCEMENT] Code enhancement. 2015-05-28 01:22:28 +02:00
Don Ho
435b1001b9 [BUG_FIXED] Fix auto-insert bad behaviour.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@1333 f5eea248-9336-0410-98b8-ebc06183d4e3
2015-02-04 01:13:58 +00:00
Don Ho
611736b95d [NEW_FEATURE] auto-insert skipping character feature works for "" and '' now.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@1311 f5eea248-9336-0410-98b8-ebc06183d4e3
2014-12-19 18:40:47 +00:00
Don Ho
88a8889c15 [BUG_FIXED] Fix the bug that ] and } don't be skipped if "auto-insert ()" is disabled.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@1309 f5eea248-9336-0410-98b8-ebc06183d4e3
2014-12-16 17:59:28 +00:00
Don Ho
57940d83f3 [NEW_FEATURE] Enhance Auto-insert feature (in progress).
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@1296 f5eea248-9336-0410-98b8-ebc06183d4e3
2014-11-24 19:20:57 +00:00
Don Ho
cb07a7715d [NEW_FEATURE] Enhance the auto-insert (in progress).
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@1295 f5eea248-9336-0410-98b8-ebc06183d4e3
2014-11-24 01:40:52 +00:00
Don Ho
5a7b30789b [NEW_FEATURE] Enhance Auto-insert feature (in progress).
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@1294 f5eea248-9336-0410-98b8-ebc06183d4e3
2014-11-23 16:46:44 +00:00
Don Ho
98cf4f3abd [BUG_FIXED] Fix the word-compltion hanging problem in Chinese ANSI document.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@1193 f5eea248-9336-0410-98b8-ebc06183d4e3
2014-03-05 01:06:49 +00:00
Don Ho
63626f65c1 [NEW_FEATURE] Add function + word completion option in auto-completion feature.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@1177 f5eea248-9336-0410-98b8-ebc06183d4e3
2014-02-16 02:13:05 +00:00
Don Ho
f1e1cfbe90 [CLEAN] Clean up the code.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@1176 f5eea248-9336-0410-98b8-ebc06183d4e3
2014-02-15 11:53:11 +00:00