Commit Graph

1165 Commits

Author SHA1 Message Date
Andreas Jönsson
83de4a9da2 Use long long in numeric sort (ie 64 bit numbers). 2015-05-11 09:26:31 +02:00
Jean-Yves LAUGEL
22f2e101a6 Added the "config" extension for XML files. 2015-05-10 16:59:57 +02:00
Lin Xiao
ba0e08f06e Conform to translation file format 2015-05-10 20:22:28 +08:00
Lin Xiao
2968fb9a29 Translate "Restore Recent Closed File" 2015-05-10 20:01:29 +08:00
Andreas Jönsson
f4132c1634 Add "repeat" option to column editor.
This allows the inserted text to be repeated x times. As an example,
if we have selected 6 columns and let initial number = 10,
increase by = 5 and repeat = 2, then the column editor will insert the
following:

10
10
15
15
20
20
2015-05-10 13:06:25 +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
60505765cc Remove ScintillaEditView::getLine, no longer used. 2015-05-10 10:29:21 +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
6f004d86a4 Rename sortAllLines -> sortEntireDocument. 2015-05-09 13:21:35 +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
6e84be21f4 Fix newline bug when not sorting all lines. 2015-05-09 10:22:50 +02:00
Andreas Jönsson
351b9b6bff Rename quickSortLines -> sortLines. 2015-05-09 10:05:45 +02:00
Andreas Jönsson
01c1667b09 Use TCHAR instead of _TCHAR. 2015-05-09 08:34:56 +02:00
Andreas Jönsson
c926e18f42 Use more const. 2015-05-09 08:34:44 +02:00
Don HO
00c2e09d98 Merge pull request #40 from andreas-jonsson/optimize_sort
[ENHANCEMENT] Improve largely the performance of sort lines feature
2015-05-09 01:54:37 +02:00
Andreas Jönsson
4f7752e4a3 Add more const. 2015-05-09 00:17:18 +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
4e065b2d3f [UPDATE] Conform to GitHub project standard format. 2015-05-08 16:00:42 +02:00
Don HO
b02adce942 Merge branch 'master' of https://github.com/donho/notepad-plus-plus 2015-05-08 12:53:51 +02:00
Don HO
c40a6fc384 [UPDATE] Make project recompilable on VS2005 2015-05-08 12:53:32 +02:00
Don Ho
91f9751a85 [BUG_FIXED] Fix Setting on cloud for Google drive unrecognized regression. 2015-05-08 04:12:12 +02:00
Christophe Meriaux
352965b2e7 go to next indicator broken with only one char 2015-05-07 10:02:30 +02:00
Don HO
572f67f511 Merge pull request #9 from andreas-jonsson/tabbar
[CHANGE_BEHAVIOUR] When hiding tab bar via command-line parameter, don't affect settings.
2015-05-07 00:40:05 +02:00
Don Ho
9aa5d708ed [BUG_FIXED] Fix a annoying regression about "the buffer passed to GetFullPathName was too small!" message dialog. 2015-05-06 20:45:56 +02:00
Don HO
a2a75be11d Merge pull request #21 from kmb32123/patch-1
[UPDATE] Add readme.md hyperlinks.
2015-05-06 01:00:00 +02:00
Don HO
055481ab32 Update CONTRIBUTING.md 2015-05-06 00:46:37 +02:00
Don HO
68ad9c4b45 Merge pull request #22 from kmb32123/patch-2
Create CONTRIBUTING.md
2015-05-06 00:43:10 +02:00
Don HO
078cf28864 Merge pull request #28 from pnedev/unused_code_remove
Remove unused code piece
2015-05-06 00:39:04 +02:00
Pavel Nedev
ea8bf88130 Remove unused code piece 2015-05-05 18:11:09 +03:00
Kevin Brey
3ce1ac28f5 Create CONTRIBUTING.md 2015-05-04 18:26:39 -05:00
Kevin Brey
5456a45d4e [DOCS] add hyperlinks to readme 2015-05-04 18:04:47 -05:00
Don HO
b03eb6a8d9 Merge pull request #3 from rddim/master
[UPDATE] Update incorrect language code for bulgarian.xml
2015-05-02 11:54:05 +02:00
Don HO
1c49679fc2 Merge pull request #4 from stenox/patch-1
Update ukrainian.xml
2015-05-02 11:51:03 +02:00
Don HO
2fe9845dbe Merge pull request #7 from andreas-jonsson/find_ampersands
Fix ampersands in find dialog status bar.
2015-05-02 11:49:36 +02:00
Don HO
46cb58069f Merge pull request #8 from andreas-jonsson/plurals
Fix plurals in find-replace dialog.
2015-05-02 02:26:31 +02:00
Don HO
532ec666cf Merge pull request #10 from MAPJe71/master
Let's ignore some files i.e. added '.gitignore'.
2015-05-02 00:08:01 +02:00
MAPJe71
f43a4025be Merge pull request #1 from donho/master
Sync with master repository
2015-05-01 20:47:22 +02:00
Don HO
a92d142911 Merge pull request #5 from dail8859/readme-format
[FIX] Fix readme.md formatting
2015-05-01 20:15:56 +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
dail8859
8ed68c3826 [FIX] More readme.md formatting and path fixes 2015-04-28 10:11:28 -04:00
Andreas Jönsson
31f6bf8398 When hiding tab bar via command-line parameter, don't affect settings. 2015-04-25 13:11:35 +02:00
Andreas Jönsson
930464fb8c Cleanup after comments in pull review. 2015-04-25 08:59:38 +02:00