| Age | Commit message (Collapse) | Author | Files | Lines | |
|---|---|---|---|---|---|
| 2018-02-27 | text-motion: ignore blank lines for next/prev paragraph motions | Marc André Tanner | 1 | -6/+4 | |
| 2018-02-27 | text-motion: implement text_line_blank_{prev,next} | Marc André Tanner | 1 | -0/+23 | |
| 2017-04-09 | text: use MB_LEN_MAX instead of MB_CUR_MAX | Marc André Tanner | 1 | -2/+3 | |
| 2017-04-09 | text: drop special handling of \r\n line endings | Marc André Tanner | 1 | -54/+20 | |
| 2017-04-08 | text: simplify \r\n handling | Marc André Tanner | 1 | -21/+17 | |
| 2017-04-04 | vis: add motions to move by codepoints | Marc André Tanner | 1 | -0/+12 | |
| Some people might prefer this for <Backspace> behavior. Except for that and debugging purposes using `ga` and `g8` it is not yet that useful. | |||||
| 2017-03-19 | vis: make sure g_ does not cross line boundaries | Marc André Tanner | 1 | -8/+2 | |
| This also eliminates dead code as reported by CID 142387. | |||||
| 2017-02-25 | vis: fix $ motion for lines containing \r | Marc André Tanner | 1 | -2/+2 | |
| 2017-02-25 | vis: make ^ and g_ only skip blank (spaces+tabs) characters | Marc André Tanner | 1 | -2/+3 | |
| 2017-02-24 | vis: fix ^ motion for blank lines terminated by \r\n | Marc André Tanner | 1 | -1/+1 | |
| 2017-02-15 | vis: remove motion and text objects related to C functions | Marc André Tanner | 1 | -75/+0 | |
| These do not really belong into the editor core. If desired they could be implemented in Lua instead. | |||||
| 2017-02-15 | text-motions: remove unused text_line_lastchar | Marc André Tanner | 1 | -8/+0 | |
| 2016-10-09 | vis: fix g_ motion to never cross line boundaries | Marc André Tanner | 1 | -3/+11 | |
| 2016-08-24 | text-motions: improve matching quotation marks heuristic | Marc André Tanner | 1 | -32/+55 | |
| Prefer quotation marks on the same line to when looking for matching pairs. Improves #358. | |||||
| 2016-04-27 | text-motions: fix character next motion within a line | Marc André Tanner | 1 | -2/+1 | |
| 2016-04-13 | text-motion: simplify implementation of [{, ]}, [( and ]) motions | Marc André Tanner | 1 | -21/+8 | |
| 2016-04-12 | Add "[(" and "])" motions for jumping to a parenthese pair's start/end | Rob Pilling | 1 | -0/+8 | |
| 2016-04-12 | Add "[{" and "]}" motions to jump to a block's start/end | Rob Pilling | 1 | -0/+26 | |
| 2016-04-11 | text-motions: fix misspelled function name "is_word_boundry" | Steven Noonan | 1 | -5/+5 | |
| Should be "is_word_boundary" Signed-off-by: Steven Noonan <steven@uplinklabs.net> | |||||
| 2016-04-06 | text-motion: restore old text_{line_,}find_prev behavior | Marc André Tanner | 1 | -3/+1 | |
| This partially reversts the "Fix to/till movements" commit 0d4093c3371079c5f75055338f0341f684542465 The pos += len hunk was interfering with other code which does not want this behavior. The original issue should be fixed directly within the to/till movements. | |||||
| 2016-03-23 | Remove identically replicated copyright comments from source files | Marc André Tanner | 1 | -15/+0 | |
| 2016-02-13 | Convert call sites of text_line_char_{get,set} to text_line_width_{get,set} | Marc André Tanner | 1 | -4/+4 | |
| 2016-02-13 | text-motion: add functions to get/set position based on display width | Marc André Tanner | 1 | -0/+77 | |
| This is inherently a tricky thing to do because we cannot rely on the current display state. The reason being that the position/cursor which is modified might not currently be in the visible area. Tabs are a particular problem because they have a variable display width. However this new code is certainly not worse than the current behaviour which relies on text_line_char_{get,set} and thus simply counts graphemes. Not yet completely convinced that this is the right approach. | |||||
| 2016-02-03 | text-motion: hide ugly casts for isboundary behind a #define | Marc André Tanner | 1 | -16/+17 | |
| 2016-02-03 | text-motion: hide ugly casts for isspace behind a #define | Marc André Tanner | 1 | -17/+19 | |
| 2016-02-03 | text-motion: export custom word motion functions | Marc André Tanner | 1 | -4/+4 | |
| 2016-02-03 | fix {, }, (, ) movements | Markus Teich | 1 | -70/+44 | |
| - split the functions, so the algorithms are more clear - paragraph movements work backwards - paragraph movements work consistently with \r\n line breaks always placing the cursor on the first character of the first empty line before/after the paragraph - sentence movements now work better at BOF/EOF - save a few lines of code | |||||
| 2016-01-27 | text-motion: change text_bracket_match API | Marc André Tanner | 1 | -3/+3 | |
| 2016-01-20 | Fix to/till movements | Markus Teich | 1 | -5/+6 | |
| Some corner cases allowed to move between lines with the to/till movements. The change in find_prev serves two purposes. When searching for a string which the cursor is already above the match, this match is returned (pos += len). Secondly there was a failure when searching for strings with len == 1 which lead to `matched == 0` which was always true, even if the string was not found, therefore leading to a wrong return value. | |||||
| 2016-01-10 | text-motion: fix integer overflow in text_search_{forward,backward} | Marc André Tanner | 1 | -6/+6 | |
| 2015-11-23 | Cast argument to ctype.h is* functions to unsigned char | Marc André Tanner | 1 | -27/+27 | |
| The signedness of char is implemenation defined, calling the is* type of functions with negative values leads to undefined behaviour. | |||||
| 2015-11-08 | Update year numbers in Copyright clause | Marc André Tanner | 1 | -1/+1 | |
| 2015-11-07 | text-motion: do not treat ' as string delimiter in match bracket | Marc André Tanner | 1 | -2/+2 | |
| Currently symbols inside a string are ignored. This means that if the opening (closing) symbol is inside (outside) the string while the closing (opening) one is outside (inside), it will not be matched. It is not yet clear whether this "optimization" is useful. Closes #97 | |||||
| 2015-08-07 | vis: limit to/till movements to current line | Marc André Tanner | 1 | -2/+22 | |
| 2015-08-02 | text-motion: make text_bracket_match more robust | Marc André Tanner | 1 | -8/+17 | |
| Brackets which occur inside strings are ignored. | |||||
| 2015-08-02 | vis: add motions [[, [], ][, ]] | Marc André Tanner | 1 | -0/+107 | |
| They behave not like in vim, but instead try to find the start/end of C-like function definitions. The first character stands for the direction [ for backwards, ] for forwards. The second character denotes the start [ or end ] respectively. | |||||
| 2015-08-01 | text-motion: fix text_find_{next,prev} | Marc André Tanner | 1 | -5/+12 | |
| It is after all a stupid O(n*m) algorithm, hence restart after a failed partial match. Code like this would benefit from a proper test suite ... | |||||
| 2015-07-28 | text-motion: introduce text_line_char_{get,set} | Marc André Tanner | 1 | -6/+27 | |
| 2015-07-28 | text-motion: add functions to iterate over lines of a range | Marc André Tanner | 1 | -0/+33 | |
| 2015-07-24 | text-motion: introduce text_line_{up,down} | Marc André Tanner | 1 | -0/+12 | |
| 2015-07-03 | Add movements to next/previous character within same line | Marc André Tanner | 1 | -0/+18 | |
| These movements always keep the cursor on the same line and do not move over newlines. | |||||
| 2015-04-21 | Clean up to/till movements | Marc André Tanner | 1 | -8/+10 | |
| 2015-04-10 | Highlight matching cursor symbol | Marc André Tanner | 1 | -2/+7 | |
| 2015-01-13 | Add new logical linewise movements | Marc André Tanner | 1 | -0/+9 | |
| The column position is currently not correctly preserved when there are lines with multibyte characters involved spanning multiple screen lines. In general this might still be a bit fragile. | |||||
| 2015-01-05 | define underscores to be part of a word | Matthias Braun | 1 | -1/+1 | |
| 2014-09-27 | Add text objects for word (lowercase) variant | Marc André Tanner | 1 | -1/+1 | |
| 2014-09-27 | Simplify text_line_finish | Marc André Tanner | 1 | -5/+1 | |
| 2014-09-27 | Implement proper distinction between word and WORD | Marc André Tanner | 1 | -26/+37 | |
| 2014-09-25 | Add infrastructure for word (lowercase) motions | Marc André Tanner | 1 | -0/+25 | |
| This unfortunately doesn't work as is which is why it is not actually hooked up to key bindings. | |||||
| 2014-09-25 | Perform some renames in preparation for different word types | Marc André Tanner | 1 | -4/+4 | |
