| Age | Commit message (Collapse) | Author | Files | Lines | |
|---|---|---|---|---|---|
| 2025-12-22 | move all standard library includes into util.h | Randy Palamar | 1 | -1/+0 | |
| 2025-12-16 | delete functions which were exposed as unused | Randy Palamar | 1 | -8/+0 | |
| 2025-12-16 | mark all functions in headers with VIS_EXPORT or VIS_INTERNAL | Randy Palamar | 1 | -58/+58 | |
| if vis actually wants to be a library exported symbols may need mark up depending on the platform (eg. __declspec(dllexport)). This needs to be hidden behind a macro because the way you export is not the same on every platform. I did this based on the assumption that vis.h was supposed to be the only interface to the "vis" library. Since nobody actually uses vis as a library I have no idea if this is actually correct. Anyway marking up all prototypes like this allows for one to convert all functions to static if a single translation unit is used by inserting at the start: #define VIS_INTERNAL static #define VIS_EXPORT static | |||||
| 2022-11-29 | fix miscellaneous spelling mistakes | Nick Hanley | 1 | -1/+1 | |
| 2020-12-10 | fix typos in comments | Moesasji | 1 | -7/+7 | |
| 2020-01-26 | vis: don't search off screen when highlighting matches | Georgi Kirilov | 1 | -2/+2 | |
| 2018-04-08 | Fix "parenthese" in identifiers | TwoFinger | 1 | -2/+2 | |
| 2018-02-27 | text-motion: implement text_line_blank_{prev,next} | Marc André Tanner | 1 | -0/+3 | |
| 2017-04-09 | text: drop special handling of \r\n line endings | Marc André Tanner | 1 | -5/+5 | |
| 2017-04-04 | vis: add motions to move by codepoints | Marc André Tanner | 1 | -0/+3 | |
| 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-02-15 | vis: remove motion and text objects related to C functions | Marc André Tanner | 1 | -5/+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 | -3/+2 | |
| 2016-04-12 | Add "[(" and "])" motions for jumping to a parenthese pair's start/end | Rob Pilling | 1 | -0/+2 | |
| 2016-04-12 | Add "[{" and "]}" motions to jump to a block's start/end | Rob Pilling | 1 | -0/+2 | |
| 2016-04-11 | text-motions: fix misspelled function name "is_word_boundry" | Steven Noonan | 1 | -1/+1 | |
| Should be "is_word_boundary" Signed-off-by: Steven Noonan <steven@uplinklabs.net> | |||||
| 2016-02-13 | text-motion: add functions to get/set position based on display width | Marc André Tanner | 1 | -0/+4 | |
| 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 | -4/+4 | |
| 2016-02-03 | text-motion: export custom word motion functions | Marc André Tanner | 1 | -0/+7 | |
| 2016-01-27 | text-motion: change text_bracket_match API | Marc André Tanner | 1 | -2/+2 | |
| 2015-11-23 | text: introduce functions to iterate over graphemes | Marc André Tanner | 1 | -4/+4 | |
| They currently consider any character for which wcwidth(3) return 0 as a combining character. | |||||
| 2015-08-07 | vis: limit to/till movements to current line | Marc André Tanner | 1 | -0/+3 | |
| 2015-08-02 | vis: add motions [[, [], ][, ]] | Marc André Tanner | 1 | -0/+8 | |
| 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-07-28 | text-motion: introduce text_line_char_{get,set} | Marc André Tanner | 1 | -0/+4 | |
| 2015-07-28 | text-motion: add functions to iterate over lines of a range | Marc André Tanner | 1 | -0/+5 | |
| 2015-07-24 | text-motion: introduce text_line_{up,down} | Marc André Tanner | 1 | -0/+3 | |
| 2015-07-19 | text: move regex related functions to separate file | Marc André Tanner | 1 | -0/+1 | |
| Eventually this should probably be rewritten to use an iternal regex engine, currently it has unacceptable memory usage, it copies the whole text. | |||||
| 2015-07-03 | Add movements to next/previous character within same line | Marc André Tanner | 1 | -0/+3 | |
| 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 | -2/+2 | |
| 2015-04-10 | Highlight matching cursor symbol | Marc André Tanner | 1 | -0/+2 | |
| 2015-01-13 | Add new logical linewise movements | Marc André Tanner | 1 | -0/+1 | |
| 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. | |||||
| 2014-09-27 | Add text objects for word (lowercase) variant | Marc André Tanner | 1 | -0/+3 | |
| 2014-09-25 | Add infrastructure for word (lowercase) motions | Marc André Tanner | 1 | -9/+10 | |
| 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 | |
| 2014-09-25 | Introduce text_line_lastchar | Marc André Tanner | 1 | -4/+5 | |
| 2014-09-25 | Revert "Change semantics of text_line_end" | Marc André Tanner | 1 | -2/+2 | |
| This reverts commit 3a24e6a5562e4b1ea456fbe36607bd8a9c92744d. | |||||
| 2014-09-24 | Change semantics of text_line_end | Marc André Tanner | 1 | -2/+2 | |
| Also make movement to end of line inclusive. This has the effect that $ moves to the last character on a line but d$ still deletes said character. | |||||
| 2014-09-19 | Windows style newlines are actually \r\n not \n\r | Marc André Tanner | 1 | -1/+1 | |
| This is fiddely stuff, hopefully it doesn't break too much | |||||
| 2014-09-10 | text-motions: add text_line_prev function | Marc André Tanner | 1 | -2/+3 | |
| 2014-09-10 | text-motions: fix no match case of text_find_char_{next,prev} | Marc André Tanner | 1 | -1/+2 | |
| These functions should return the original position in case no match was found. | |||||
| 2014-09-10 | Add comments where appropriate | Marc André Tanner | 1 | -5/+14 | |
| 2014-09-09 | Remove trailing whitespaces (sed 's/[ \t]*$//') | Marc André Tanner | 1 | -3/+3 | |
| 2014-09-08 | Hook up search as a movement | Marc André Tanner | 1 | -0/+3 | |
| 2014-09-05 | Add helper function which finds the start of the next line | Marc André Tanner | 1 | -2/+3 | |
| 2014-08-30 | Add trivial text motions to start and end of file | Marc André Tanner | 1 | -0/+3 | |
| 2014-08-28 | motion: add character wise motion | Marc André Tanner | 1 | -0/+3 | |
| 2014-08-28 | Improve text motions | Marc André Tanner | 1 | -5/+8 | |
| 2014-08-25 | Move motion related stuff into own file | Marc André Tanner | 1 | -0/+58 | |
