Commit Graph

27 Commits

Author SHA1 Message Date
fretep
21908548d4 Fix exception in todo#MarkAsDone and todo#UnMarkAsDone 2017-09-22 23:33:18 +10:00
David Beniamine
ebdde99ac4 Fix #21
Better handling of priority on done tasks
Also added <localleader>ff to fix format. this will remove leading
whitespaces and convert old (wrong) done tasks to the correct format
2017-09-20 13:28:07 +02:00
David Beniamine
c6e472c048 Fix #23 2017-09-20 12:43:22 +02:00
fretep
c8092640df Fix for <Leader>x and other minor issues
Fixed a bug in <Leader>x (todo#PrependDate) introduced last commit.
Fixed case sensitivity bug in todo#ToggleMarkAsDone() and todo#UnMarkAsDone()
Fixed errors being reported for repeat#set if vim-repeat plugin is not installed.
Fixed modeline in .vim files to work (only works on first/last 5 lines of file), and made the modelines consistent across all files.
New unit tests for todo#ToggleMarkAsDone()
Minor fixes for README.md and man page
Fix anchoring of RegExp in todo#ToggleMarkAsDone
Fixed a bug in overdue highlighting that resulted in the current date being matched on round dates like the 20th and 30th.
Added more unit tests for overdue date highlighting.
Corrected RegExp anchoring on today date highlighting.
Added a few bash scripts to make running unit tests easier and more reliable, including testing with ignorecase user preference set.
2017-09-20 01:32:59 +10:00
David Beniamine
c2ad4bc58b make sort case insensitive 2017-09-15 13:02:57 +02:00
David Beniamine
22fb99260e fix bad indent 2017-09-15 12:27:01 +02:00
fretep
f39504bea8 Added myself to author line 2017-09-15 18:44:08 +10:00
Peter
4119ff026f Merge branch 'master' into SortDueFixes 2017-09-14 01:18:42 +10:00
fretep
ff533b85f5 Bug fixes for case sensitivity and cursor positioning 2017-09-14 01:06:59 +10:00
fretep
0ed7d4848e Fix sorting bugs with 'due:' at the start of the line, and properly handle completed tasks with lastdue and notoverdue post sort cursor preferences 2017-09-12 23:50:56 +10:00
David Beniamine
7bebc01020 Fix issue #17 2017-09-12 15:44:25 +02:00
David Beniamine
6d1d2d035a Do not consider done tasks when sorting by due date 2017-09-10 12:13:25 +02:00
fretep
70b05c2c76 Modified SortDue() to fix error if every line of the todo.txt had a
due:date specified, also allow setting a global variable to specify
the line the cursor should be place on after the sort
2017-09-10 12:13:25 +02:00
Rene Vergara
484c12771e Improve todo#PrependDate to follow format
Add logic to place the completion date after the priority, if it exists,
when completing a task.
2017-04-05 11:15:59 -05:00
David Beniamine
f77215ca80 Fix issue #11
Complete function assumed that a line started with x <date> or a
priority which is not necessarily true, thus some lines where ignored
from completion.
2017-03-30 18:57:18 +02:00
David Beniamine
849a7d5f61 Better way to put done at the end
+ Limit side effects
+ Sort done entries at the end
+ Work fine also without done entries
2016-11-25 11:26:44 +01:00
David Karwowski
303ab65237 priorities at top, x at bottom 2016-09-28 12:31:37 -04:00
David Beniamine
f3c5e7b892 Included Guilherme Victal works on overduedate
See https://github.com/freitass/todo.txt-vim/pull/45
2016-05-14 12:03:55 +02:00
David Beniamine
a21fd1198c Fix missing items in completion
FIX: This commit fix dbeniamine/todo.txt-vim#7 some the last completion item
was not added to the completion list
CHG: This commit also provide a small refactor of todo#Complete
2016-02-09 22:31:00 +01:00
David Beniamine
a03d01e58e Get linescount in a more conventional way
This should solve issue #5 see
https://github.com/dbeniamine/todo.txt-vim/issues/5
2015-12-18 10:17:26 +01:00
David Beniamine
81c2772905 Add debug info in hierarchical sort
ADD: Debug info needed for solving issue #5
FIX: Incomplete group detection in hierarchical sort (should not impact
    issue #5)
2015-12-17 23:23:10 +01:00
David Beniamine
45bfb325ae FIX getcurpos incompatibility with old versions
It seems that getcurpos() (used on PrioritizeAdd) appeared on vim 7.4.313
therefore using it was causing troubles to some users ...
2015-12-08 10:51:21 +01:00
David Beniamine
081d9d2e3a Merge branch 'fix_getcurpos_missing' of https://github.com/citec/todo.txt-vim into citec-fix_getcurpos_missing 2015-12-08 10:41:53 +01:00
David Beniamine
41a75a8f50 FIX issue #2
FIX: hasmapto was use wrongly, there is now a setting to forbid todo-txt.vim to set
mappings.
FIX: There was a bug and MarkAllAsDone
2015-10-25 01:57:29 -02:00
Jaime Alberto Sanchez Hidalgo
cc281c47eb FIX getcurpos invalid expression 2015-10-20 08:43:13 -02:00
David Beniamine
644b6d6628 Cancel tasks with <localleader>c 2015-09-16 17:02:42 +02:00
David Beniamine
f9715af4a4 move hierarchical sort to auto start
Note: because of this, TodoComplete is now known as todo#Complete, you might
need to update your vimrc.
2015-08-22 18:39:59 +02:00