Don Ho
fe62ff989b
Make function naming more explicite
2015-10-27 17:26:29 +01:00
Don Ho
280ddcd493
Make the EOL type more explicite
2015-10-27 15:35:19 +01:00
dail8859
459d59f8ba
Update DocMap when setting user or external lexer
...
Closes #1050 , fixes #1009
When setting the language to a user defined or external lexer, the DocMap
was not being refreshed to the new syntax.
2015-10-26 00:17:47 +01:00
dail8859
7781f1d03e
Fix possible file corruption during macro playback
...
closes #1007 , closes #919 , closes #834
When backups are enabled, playing back a macro that takes a while can
corrupt a file (see the mentioned issues). I tested this with a ~100,000
line text file, ~3.3MB in size. Created a macro of Down5, Delete10. Played
this till the end of the file. Took about 20s to run so it had a few
backup cycles during it. Reproduced it fairly easily and never had it
happen after this adjustment.
2015-10-24 19:32:37 +02:00
Don Ho
981ee5ed72
Fix macro playback inseting/removing characters randomly.
...
Fix macro playback inseting/removing characters randomly due to
auto-insert interfering during macro recording and playing back. (fixes
#649 , fixes #970 , fixes #304 , fixes #992 )
2015-10-07 17:55:29 +02:00
Don Ho
7a25c9827e
Make tabbar higher
2015-09-22 20:33:28 +02:00
Don Ho
46e810aa53
Add JSON language support; Add auto-detection for xml, php and bash.
2015-09-19 18:49:55 +02:00
Don Ho
2739a973d7
[RESTORE] Add back "Notepad++ Community (Forum)" menu item
2015-08-15 16:29:17 +02:00
Damien GERARD
d56d42269f
Code: remove useless code
2015-08-14 06:06:50 -07:00
Damien GERARD
2ad6ba5a44
Code: using enum class for FormatType
2015-08-14 05:57:19 -07:00
Damien GERARD
3fb1d96671
Some warning fixes
2015-08-14 04:32:38 -07:00
Damien GERARD
4a20a4c412
Fixed buffer overrun when opening a recent file ( fixes #558 )
2015-08-06 13:49:14 +02:00
Damien GERARD
366a393f13
minor code cleanup for future refactoring
2015-08-06 11:50:58 +02:00
Don Ho
11ad9f699a
[BUG_FIXED] Fix a regression of Preferences dialog ( closes #570 )
...
In v6.8, some options in Preferences dialog are not applied dynamically.
This fix makes them work again.
2015-07-25 17:25:10 +02:00
gallegretti
8bec636304
Added missing macro commands ( fixes #374 , closes #454 )
2015-07-15 11:59:05 +02:00
Christian Grasser
d6c72fa3f7
Merge branch 'master' of https://github.com/notepad-plus-plus/notepad-plus-plus into x64_build_adaptions
2015-06-18 07:23:03 +02:00
Don Ho
c14f87c4b0
[UPDATE] Replace "Forum" command by "Live Support" one.
2015-06-18 01:35:15 +02:00
Don Ho
4ace901a07
[UPDATE] Method getContextMenuFromXmlTree refactoring
...
The method getContextMenuFromXmlTree of NppParameters is too long to
maintain. Making 2 new methods to make the method in question more
readable.
2015-06-14 17:49:27 +02:00
Christian Grasser
edfa987f4e
x64 issue, replace int for bufferid by bufferid itself, otherwise x64 crashes as bufferid aka buffer * differs from int under x64
2015-06-08 12:11:10 +02:00
Don Ho
246c8bd168
[UPDATE] Unprecompile headers (part 3)
2015-06-02 18:01:47 +02:00
Andreas Jönsson
933aae4fc2
Improve str2Clipboard.
...
Make it take generic_string instead of TCHAR*, since at most callsites
we already have a generic_string.
Improve error handling. Depending on where we are in the function when
we get an error, we need to free the memory, unlock the memory, or
close the clipboard.
Note that if SetClipboardData succeeds then we should not do anything
more to the memory.
2015-06-01 18:47:24 +02:00
Don Ho
e9e710a3d4
[UPDATE] Unprecompile headers (part 2)
2015-05-31 22:40:07 +02:00
Andreas Jönsson
3ca488d0bc
Also sync when pasting.
...
See Sourceforge #5327 .
2015-05-30 10:16:19 +02:00
Andreas Jönsson
2a7ef2ecf0
Guard long-running operations with a mutex
...
The session snapshot feature runs in its own thread and access to
Scintilla etc is not thread-safe. As a *temporary* and *non-exhaustive*
fix we guard some long-running operations (undo, redo, replace, sort)
with a mutex to prevent data corruption.
2015-05-26 15:58:46 +02:00
Don HO
805ab2b9ff
Merge pull request #86 from andreas-jonsson/decimal_sort
...
[NEW_FEATURE] Refine sort lines feature: Add Sort Lines Lexicographically/Integer/Decimal (comma) /Decimal (dot) with Ascending and Descending commands.
2015-05-25 22:59:26 +02:00
Don HO
f7e5be4e2b
Merge pull request #12 from dail8859/splitlines
...
[ENHANCEMENT] "Split Lines" uses the edge mode if enabled.
2015-05-24 19:18:59 +02:00
Don Ho
b85fc02841
[RELEASE] Notepad++ 6.7.8.2 release
2015-05-23 14:14:33 +02:00
Don Ho
d3c7ade18c
[NEW] Prevent from launching updater under XP due to the obsolet security
...
layer
2015-05-22 21:11:08 +02:00
Andreas Jönsson
7c3376ae6b
Use a rectangular selection as sort key.
2015-05-21 15:53:48 +02:00
Andreas Jönsson
d0bafb7fba
Add more options for sorting.
...
User can now choose between lexicographic, integer and decimal sorting.
For decimal sorting there are two further options: decimal point ('.')
or decimal comma (',').
When doing integer/decimal sort, the parsing is not as strict as
before. E.g during integer sorting the program will interpret "123abc"
as 123.
Performance of integer sorting has been improved by 30%.
The implementation of sorting is delegated to classes which implement
the new "ISorter" interface. Unfortunately due to template issues most
of the code had to go in the header file.
2015-05-17 19:18:43 +02:00
Andreas Jönsson
351b9b6bff
Rename quickSortLines -> sortLines.
2015-05-09 10:05:45 +02:00
Andreas Jönsson
1f4a1fb2e7
Optimize sort.
...
Remove custom, recursive implementation of quicksort which becomes too
slow to use after a couple of hundred lines.
2015-05-08 23:27:21 +02:00
Don Ho
6bf823d3f8
[BUG_FIXED] Fix Tab close button too small issue with a very high resolution display.
2015-05-01 19:51:59 +02:00
dail8859
ec2bb7f8b7
[UPDATE] "Split Lines" uses the edgemode if enabled
2015-04-29 16:39:52 -04:00
Don Ho
ce9810ecb5
[NEW_FEATURE] Add "Restore last closed file" (Ctrl+Shift+T) feature.
2015-04-07 02:10:03 +02:00
Don Ho
55099cb4b7
[BUG_FIXED] (Author: Alexander Riccio) Fix several bugs.
...
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@1352 f5eea248-9336-0410-98b8-ebc06183d4e3
2015-03-14 22:55:03 +00:00
Don Ho
bab1575d2b
[BUG_FIXED] (Author: Mike Cowperthwaite) Restore focus to editor when a panel is closed.
...
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@1337 f5eea248-9336-0410-98b8-ebc06183d4e3
2015-02-09 08:33:01 +00:00
Don Ho
15542d7c8d
[BUG_FIXED] Fix NPPM_LAUNCHFINDINFILESDLG API regression issue.
...
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@1315 f5eea248-9336-0410-98b8-ebc06183d4e3
2014-12-24 02:03:52 +00:00
Don Ho
bf76a3f5ee
[RELEASE] Notepad++ 6.7.1 Release.
...
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@1313 f5eea248-9336-0410-98b8-ebc06183d4e3
2014-12-21 19:43:40 +00:00
Don Ho
d2651832ea
[BUG_FIXED] Fix undo actions on unsaved snapshot file removing the dirty state bug.
...
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@1304 f5eea248-9336-0410-98b8-ebc06183d4e3
2014-12-09 23:16:48 +00:00
Don Ho
428df19cbc
[NEW] Document map follows the current text direction (RTL/LTR).
...
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@1303 f5eea248-9336-0410-98b8-ebc06183d4e3
2014-12-07 16:43:31 +00:00
Don Ho
134920648d
[BUG_FIXED] Make "Text Direction RTL" command and "Text Direction LTR" command work without reloading file.
...
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@1302 f5eea248-9336-0410-98b8-ebc06183d4e3
2014-12-07 01:23:05 +00:00
Don Ho
80da43da5c
[NEW] Allow users to disable easter eggs in Notepad++ by adding noEasterEggs.xml in Notepad++ installed directory.
...
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@1300 f5eea248-9336-0410-98b8-ebc06183d4e3
2014-12-01 22:39:08 +00:00
Don Ho
a20c6693a9
[BUG_FIXED] Fix DocMap's syntax highlighting doesn't update while current doc apply a new syntax highlighting.
...
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@1266 f5eea248-9336-0410-98b8-ebc06183d4e3
2014-07-27 14:19:19 +00:00
Don Ho
0f6c6276b3
[BUG_FIXED] Fix "Settings on cloud - Dropbox" not working problem if the dropbox path has been changed.
...
[RELEASE] Notepad++ v6.6.6
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@1249 f5eea248-9336-0410-98b8-ebc06183d4e3
2014-06-12 23:30:28 +00:00
Don Ho
7bfcda086d
[RELEASE] Notepad++ 6.6.2 Release.
...
[BUG_FIXED] Fix session snapshot enabled issue even "remember current session" option is disabled.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@1235 f5eea248-9336-0410-98b8-ebc06183d4e3
2014-05-08 20:48:03 +00:00
Don Ho
4c49b023ca
[NEW_FEATURE] Automatic Backup System (in progress).
...
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@1220 f5eea248-9336-0410-98b8-ebc06183d4e3
2014-04-13 01:31:02 +00:00
Don Ho
b30c3246d4
[NEW_FEATURE] Automatic Backup System (in progress).
...
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@1218 f5eea248-9336-0410-98b8-ebc06183d4e3
2014-04-10 18:16:11 +00:00
Don Ho
db0489c8ed
[NEW_FEATURE] Automatic Backup System (in progress).
...
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@1213 f5eea248-9336-0410-98b8-ebc06183d4e3
2014-04-03 18:38:09 +00:00
Don Ho
33189832ba
[NEW_FEATURE] Automatic Backup System (in progress).
...
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@1206 f5eea248-9336-0410-98b8-ebc06183d4e3
2014-03-31 01:01:54 +00:00