Commit Graph

150 Commits (7fcc20f84a9ecbb013260f736fe5bd1ffc619473)

Author SHA1 Message Date
dail8859 bd373788ad Add thousands separator for Summary and Statusbar
Fixes #1329, Fixes #2103
2016-07-22 16:50:39 -04:00
Don HO 797765173d Improve code quality by using static code analysis tool (cppchecker) 2016-07-18 02:08:29 +02: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 0273917bbe Fix open in explorer problem while path contain unusual characters
Wrap path arg in quotes to properly open explorer

Closes #1689, fixes #1628
2016-05-15 22:42:59 +02:00
dail8859 4c6e5af484 Safely convert EOLs
Prevent eol conversion frrom readonly file.
Closes #1702, Closes #1701, Closes #1581, Closes #1371
2016-05-14 11:02:16 +02:00
Don Ho 4268349bf0 Fix crash bug in Log Monitoring while monitoring a large file 2016-05-11 02:18:04 +02:00
Don HO 2ff03fe250 New feature: Log Mornitoring (tail -f)
This feature allows users to monitor log files' writing, as Unix "tail -f"
command.
Here are the conditions of monitoring:
1. file to monitor should exist.
2. file will be set as readonly during monitoring.
3. each update will scroll to the last line.
2016-05-07 12:12:18 +02:00
Don Ho 93c704c857 Add "Open Folder as Workspace" command in file menu 2016-03-19 16:15:21 +01:00
dail8859 24c11375cf Use SCI_SETTARGETRANGE where possible 2016-03-03 21:25:48 +01:00
YWX cfa57b6818 Notepad++ support both SCLEX_FORTRAN and SCLEX_F77
Closes #1381
2016-03-01 21:34:52 +01:00
Don Ho 058c9d5923 Folder as Workspace (implementation done) 2016-02-08 01:34:33 +01:00
Don Ho 81deab0554 File Browser (In progress)
1. Memorize the opened folders for the next session.
2. Add tip infos.
3. Add "Explorer from here" & "Command from here" context menu.
2016-02-02 19:06:23 +01:00
Don Ho 773397d6ea Add Debug Info feature 2015-12-07 01:15:17 +01:00
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