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
7f98067c12
Add error notification on run dialog
...
1. GetLastErrorAsString is moved from PluginsManager.cpp to Common.h and common.cpp and also function signature is changed
2. Below method were already defined in common.cpp, but not declared in common.h
generic_string intToString(int val);
generic_string uintToString(unsigned int val);
3. Updated RunDlg.cpp to show error if ShellExecute fails
Closes #2626 , Fixes #2179
2017-02-05 13:12:03 +01:00
Motaz Alnuweiri
6a0b7653b0
Improve Folder Browse And Save Dialog
...
Enable the new user interface for "Folder Browse Dialog" including the
edit box and enable Vista style for "Save Dialog".
Closes #2631
2017-01-17 00:02:32 +01:00
dail8859
eddafe55e8
CallTip text uses start/stop/separator settings
...
Closes #2274 Closes #2278
2016-09-24 16:56:09 -04:00
Don HO
d4bcec1c01
Lost in Translation 3
2016-08-11 22:29:39 +02:00
Don HO
37ed299743
Lost in Translation 2
2016-08-10 00:22:45 +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
bd373788ad
Add thousands separator for Summary and Statusbar
...
Fixes #1329 , Fixes #2103
2016-07-22 16:50:39 -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
Evgeny Mandrikov
91c9897baf
Exception treatment: throw object instead of pointer
...
Closes #1685
2016-05-14 11:11:01 +02:00
Don Ho
7d0d874296
File Browser (New name: Folder as Workspace) - in progress
...
Add "copy path", "add folder" and "remove all folders" 3 menu commands.
2016-02-06 14:58:42 +01:00
Don Ho
07ce6c2516
New feature: File browser
2016-01-23 02:25:44 +01:00
Markus Heidelberg
715a64a32a
Make GCC/MinGW build work again and support cross-building under Linux
...
Close #1229 , Fixes #385
Only build errors are fixed, compile warnings are left alone. To reduce
the number of changes, even the compiler option "-fpermissive" has been
used to downgrade several errors to warnings.
2015-12-15 17:10:46 +01:00
Damien GERARD
f2bb34ccb2
Code simplification
2015-08-14 23:32:23 +02:00
Damien GERARD
660951bdf6
Coding style / Code cleanup
2015-08-04 18:09:17 +02:00
Damien GERARD
23cd144198
Applied coding style / cleanup
2015-07-15 14:09:31 +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
Andreas Jönsson
d6081a5f37
Improve copy functionality in find results window
...
Just copy the actual results, without the additional formatting with
line and file name. It respects the hierarchy in the results, i.e.
you can copy all results from a search operation, or from a specific
file, or just the lines you selected.
2015-06-01 18:39:22 +02:00
Andreas Jönsson
be230c1a29
Add a version of std::stod which takes locale.
...
We need a string-to-double conversion function which acts the same on
all computers, irrespective of which locale is running. We need to
guarantee that the function expects '.' as the decimal point, and not
','. The choice of en-US is more or less arbitrary.
2015-05-17 21:23:08 +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
Don Ho
50410cc744
[BUG_FIXED] Fix compiling problem in debug mode
...
This problem is due to the sort lines enhancement.
2015-05-15 19:41:59 +02:00
Andreas Jönsson
83de4a9da2
Use long long in numeric sort (ie 64 bit numbers).
2015-05-11 09:26:31 +02:00
Andreas Jönsson
ee225f5cad
Handle empty lines properly in numeric sort.
2015-05-10 11:00:58 +02:00
Andreas Jönsson
936d9c56fc
When sorting, reserve enough space for work + output.
2015-05-10 10:30:17 +02:00
Andreas Jönsson
dd846658e6
Use new kind of loop.
2015-05-10 10:27:36 +02:00
Andreas Jönsson
501ce1d689
Make reference signs consistent.
2015-05-10 10:25:56 +02:00
Andreas Jönsson
83c16755ab
Don't cache int->string conversion, it doesn't speed up anything.
2015-05-09 21:23:40 +02:00
Andreas Jönsson
4b3fbdd570
Don't throw pointers (MFC habit).
2015-05-09 13:25:36 +02:00
Andreas Jönsson
e258bcb3a7
Speed up numeric sorting by 10x.
...
Convert strings to int, sort, then convert back to strings.
2015-05-09 13:20:37 +02:00
Andreas Jönsson
bcbe48b13f
Make stoi_CountEmptyLinesAsMinimum more restrictive.
...
It now only accepts digits and possibly a single minus character as the first character.
Ordinary std::stoi has too much special magic, e.g. it converts "1 a" to "1".
2015-05-09 12:49:47 +02:00
Andreas Jönsson
0eca4db949
Improve numeric sorting. No need to read lines from Scintilla, we already
...
have them in a vector.
2015-05-09 11:25:07 +02:00
Andreas Jönsson
eee7c4f16e
Sort numerically (not lexicographically) if all lines are integers.
2015-05-09 11:02:58 +02:00
Andreas Jönsson
c926e18f42
Use more const.
2015-05-09 08:34:44 +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
Andreas Jönsson
930464fb8c
Cleanup after comments in pull review.
2015-04-25 08:59:38 +02:00
Don Ho
73f47a2c04
[BUG_FIXED] Fix Setting on Cloud for dropbox not working issue.
2015-04-06 01:49:53 +02:00
Don Ho
b09a7c17f3
[NEW_FEATURE] Add new possibility to launch the auto-typing text from command line:
...
-qnQuoterName
-qfQuoteFileNameFullPath
-qtQuoteText
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@1328 f5eea248-9336-0410-98b8-ebc06183d4e3
2015-02-01 12:16:12 +00:00
Don Ho
bad9b9dbbf
[NEW_FEATURE] Settings on cloud - dropbox.
...
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@1242 f5eea248-9336-0410-98b8-ebc06183d4e3
2014-06-02 07:02:46 +00:00
Don Ho
0da8942be8
[NEW_FEATURE] Add search ability into function list.
...
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@1130 f5eea248-9336-0410-98b8-ebc06183d4e3
2013-10-12 09:10:03 +00:00
Don Ho
31b15392a5
[ENHANCEMENT] Enhance delimiter selection settings GUI.
...
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@1083 f5eea248-9336-0410-98b8-ebc06183d4e3
2013-07-24 00:35:27 +00:00
Don Ho
6264ef03d0
[ENHANCEMENT] Code optimization.
...
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@1073 f5eea248-9336-0410-98b8-ebc06183d4e3
2013-07-08 00:12:50 +00:00
Don Ho
f80a49148e
[BUG_FIXED] (Author: Andreas Jonsson) Minor fixes.
...
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@1072 f5eea248-9336-0410-98b8-ebc06183d4e3
2013-07-07 21:33:19 +00:00
Don Ho
a62ecb6449
[ENHANCEMENT] Enhance the performance to get once the length in the for loop.
...
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@1041 f5eea248-9336-0410-98b8-ebc06183d4e3
2013-05-15 07:28:55 +00:00
Don Ho
36b9b7cc8c
[NEW_BEHAVIOUR] Remove the result dialogs of Find/Replace dialog. Display the error/result in the new added statusbar of Find/Replace dialog. (di Sardegna)
...
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@1039 f5eea248-9336-0410-98b8-ebc06183d4e3
2013-05-11 20:55:09 +00:00
Don Ho
ba935673e5
[BUG_FIXED] (Author: Mike Stratoti) Enhance and stabilize the build.
...
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@999 f5eea248-9336-0410-98b8-ebc06183d4e3
2013-01-03 01:17:59 +00:00
Don Ho
0011deec48
[ENHANCEMENT] (Author: FLS) Enhance comment operations: Stream Uncomment added, cross-calling of block.
...
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@948 f5eea248-9336-0410-98b8-ebc06183d4e3
2012-08-31 19:14:00 +00:00
Don Ho
5d28d74ac7
[ENHANCEMENT] (Author: Anton Vasiliev) Add some enhancement to common functions.
...
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@908 f5eea248-9336-0410-98b8-ebc06183d4e3
2012-05-03 01:02:54 +00:00
Don Ho
a896922136
[UPDATE] Update the GPL of all project source code to avoid the bundle version made by the tiers sites : cnet, softonic and 01net.
...
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@896 f5eea248-9336-0410-98b8-ebc06183d4e3
2012-04-15 16:54:38 +00:00