| Age | Commit message (Collapse) | Author | Files | Lines | |
|---|---|---|---|---|---|
| 2025-06-13 | doc: fix Doxygen comments for view.h | Matěj Cepl | 1 | -18/+23 | |
| 2025-02-22 | style_set: add option to keep non-default style values | infastin | 1 | -1/+1 | |
| 2024-05-24 | combine Win and UiWin | Randy Palamar | 1 | -4/+3 | |
| These are not seperate things and keeping them this way makes gives this convoluted mess where both Wins and UiWins must have linked lists to the other Wins and UiWins in the program despite the fact that neither of them can exist in isolation. This, like my previous cleanup commits, is part of a larger goal of properly isolating the various subsystems in vis. Doing so is required if we ever want to be able to have a vis-server and a vis-client. | |||||
| 2024-05-24 | remove SyntaxSymbol redirection type | Randy Palamar | 1 | -7/+1 | |
| There is no reason why this isn't just a char *. | |||||
| 2024-05-23 | drop cell_blank from View | Randy Palamar | 1 | -1/+0 | |
| No need for this to be stored in every View since its just a never modified cell with a space. Also delete the cell_unused global since all it does is provide a 0 initialized Cell. | |||||
| 2024-05-21 | remove some view pointer chasing | Randy Palamar | 1 | -2/+2 | |
| Same as previous commit each window only has a single View. No need for it to be stored elsewhere in memory. | |||||
| 2024-05-21 | replace UiTerm with Ui & delete function pointers | Randy Palamar | 1 | -12/+0 | |
| 2024-05-21 | replace UiTermWin with UiWin & remove function pointers | Randy Palamar | 1 | -3/+0 | |
| 2024-05-21 | make Selection unopaque | Randy Palamar | 1 | -49/+22 | |
| 2024-05-21 | make View unopaque | Randy Palamar | 1 | -29/+50 | |
| 2024-03-25 | ui: refactor style handling | Randy Palamar | 1 | -2/+3 | |
| The old style handling had a lot edge cases where one of the colours or the attribute wouldn't get applied correctly. This commit adds a new style_set() method to the Ui which should be called instead of manually touching a cell's style. This also means that the Cell struct can be made opaque since all the handling is now done inside the ui-terminal files. With this it is now viable to combine the light and dark 16 colour themes into a single base-16 theme. This theme works very well with the Linux virtual console and will now be the default theme regardless of if the terminal supports 256 colours or not. This should address the common complaints about vis not respecting the users default terminal colours. fixes #1151: Theming is sometimes partially applied or ignored see #1103: terminal no longer has transparency/opacity see #1040: Transparent background and setting options by default | |||||
| 2023-08-27 | Make tabwidth option window-local | Alexey Yerin | 1 | -0/+2 | |
| 2023-08-24 | Lua API: access and set all available options | Randy Palamar | 1 | -0/+2 | |
| The first point of this commit is to allow all options to be read from lua. This has a number of uses for plugin writers. They are grouped into a couple of tables depending on what they control: `vis.options`: table with global configuration `win.options`: table with window specific configuration The second point is to allow you to set all these options as if they were simply lua variables. Technically this is already possible by using `vis:command("set ...")` but personally I think this interface is cleaner. Note that this already possible for some things like the current mode (eg. vis.mode = vis.modes.VISUAL). Examples: `vis.options.ai = true` `win.options.brk = " !?."` `win.options = { showeof = true, showtabs = true } There are a number of related issues and pull requests: closes #803: Lua API: let plugins read the values of options closes #812: Window layout property supersedes/closes #717: Add ability to access tabwidth from Lua supersedes/closes #1066: expose UI layout and allow it to be set from lua API | |||||
| 2023-07-28 | view.c: add word wrapping | Andrey Proskurin | 1 | -0/+2 | |
| this is contolled by the wrapcolumn/wc and breakat/brk options related #142: Word wrap and line breaks related #932: Vis for Prose? related #1092: Disabling line wrapping | |||||
| 2022-11-29 | fix miscellaneous spelling mistakes | Nick Hanley | 1 | -1/+1 | |
| 2020-12-10 | fix typos in comments | Moesasji | 1 | -5/+5 | |
| 2020-08-01 | doc: fix a couple of API doc warnings | Marc André Tanner | 1 | -8/+8 | |
| In restructured text double backquotes are used for inline literals. | |||||
| 2020-01-30 | view: Fix a @param name in a comment | TwoFinger | 1 | -1/+1 | |
| 2017-07-14 | vis-lua: make selection first class primitives in Lua API | Marc André Tanner | 1 | -1/+1 | |
| 2017-07-05 | vis: make sure all selections have same anchored state | Marc André Tanner | 1 | -2/+3 | |
| With the current model the differences between normal and visual mode is that in the latter selections are anchored (meaning one endpoint remains fixed), while in normal mode both endpoints can in principle be updated simultaneously (currently they are always colapsed to a singleton selection, giving the impression of cursors). | |||||
| 2017-07-04 | vis: implement `gv` by means of new "^ register | Marc André Tanner | 1 | -10/+0 | |
| This window local register holds the last active selections. | |||||
| 2017-06-27 | Merge branch 'show-eof' of https://github.com/p-e-w/vis | Marc André Tanner | 1 | -0/+2 | |
| Conflicts: view.c view.h | |||||
| 2017-06-15 | view: add functions to save/restore arbitrary ranges | Marc André Tanner | 1 | -0/+3 | |
| 2017-06-15 | view: add functions to get/set all selections | Marc André Tanner | 1 | -0/+13 | |
| 2017-06-15 | view: disallow setting of invalid selections | Marc André Tanner | 1 | -1/+1 | |
| 2017-06-15 | view: introduce view_selections_normalize | Marc André Tanner | 1 | -0/+2 | |
| Dispose all invalid and merge all overlapping selections. | |||||
| 2017-06-15 | vis: rename uses of Cursor to Selection | Marc André Tanner | 1 | -37/+36 | |
| 2017-06-15 | view: rename view_cursors_column | Marc André Tanner | 1 | -1/+1 | |
| 2017-06-15 | view: rename view_cursors | Marc André Tanner | 1 | -1/+1 | |
| 2017-06-15 | view: rename view_selection_anchored | Marc André Tanner | 1 | -1/+1 | |
| 2017-06-15 | view: rename view_cursors_column{,count,next} | Marc André Tanner | 1 | -2/+2 | |
| 2017-06-15 | view: rename view_cursors_number | Marc André Tanner | 1 | -1/+1 | |
| 2017-06-15 | view: rename view_cursors_count | Marc André Tanner | 1 | -1/+1 | |
| 2017-06-15 | view: rename view_cursors_next | Marc André Tanner | 1 | -1/+1 | |
| 2017-06-15 | view: rename view_cursors_prev | Marc André Tanner | 1 | -1/+1 | |
| 2017-06-15 | view: view_cursors_selection_restore | Marc André Tanner | 1 | -1/+1 | |
| 2017-06-15 | view: rename view_cursors_selection_save | Marc André Tanner | 1 | -1/+1 | |
| 2017-06-15 | view: rename view_cursors_selection_start | Marc André Tanner | 1 | -1/+1 | |
| 2017-06-15 | view: rename view_cursors_selection_swap | Marc André Tanner | 1 | -1/+1 | |
| 2017-06-15 | view: rename view_cursors_selection_clear | Marc André Tanner | 1 | -1/+1 | |
| 2017-06-15 | view: rename view_selections_clear | Marc André Tanner | 1 | -1/+1 | |
| 2017-06-15 | view: rename view_cursors_selection_get | Marc André Tanner | 1 | -2/+2 | |
| 2017-06-15 | view: rename view_cursors_primary_{get,set} | Marc André Tanner | 1 | -2/+2 | |
| 2017-06-15 | view: rename view_cursors_clear | Marc André Tanner | 1 | -1/+1 | |
| 2017-06-15 | view: rename view_cursor_disposed | Marc André Tanner | 1 | -1/+1 | |
| 2017-06-15 | view: rename view_cursors_dispose | Marc André Tanner | 1 | -2/+2 | |
| 2017-06-15 | view: rename view_cursors_new | Marc André Tanner | 1 | -2/+2 | |
| 2017-06-15 | view: remove view_cursors_multiple | Marc André Tanner | 1 | -2/+0 | |
| 2017-06-15 | view: clean up and add documentation | Marc André Tanner | 1 | -118/+292 | |
| 2017-06-15 | vis: promote selections to first class primitives | Marc André Tanner | 1 | -16/+6 | |
| This unifies cursors and selections. The cursor are now represendted as singleton selections. | |||||
