| Age | Commit message (Collapse) | Author | Files | Lines | |
|---|---|---|---|---|---|
| 2016-05-22 | vis: refactor status line handling | Marc André Tanner | 1 | -1/+1 | |
| Make window status bar content configurable via Lua. | |||||
| 2016-05-22 | vis: consider :set horizon setting when syntax highlighting | Marc André Tanner | 1 | -2/+0 | |
| 2016-05-22 | vis: move syntax highlighting to pure Lua code | Marc André Tanner | 1 | -12/+10 | |
| 2016-05-22 | view: add functions to style a file range | Marc André Tanner | 1 | -0/+3 | |
| 2016-05-22 | ui: s/UiStyles/UiStyle/g | Marc André Tanner | 1 | -1/+1 | |
| 2016-05-04 | vis: clean up cursor column display | Marc André Tanner | 1 | -7/+2 | |
| 2016-04-27 | view: change view_cursors_place to take 1 based column number | Marc André Tanner | 1 | -0/+1 | |
| This should fix inconsistency in the Lua API. | |||||
| 2016-04-19 | vis: add :set horizon option | David B. Lamkins | 1 | -0/+2 | |
| Can be used to specify the number of bytes before the visible area to consider for syntax highlighting. Defaults to 32K for now, whereas before it was 16K. | |||||
| 2016-04-15 | view: add view_cursors_place(cursor, line, col) function | Marc André Tanner | 1 | -0/+1 | |
| 2016-04-15 | view: add view_cursors_col function | Marc André Tanner | 1 | -0/+2 | |
| 2016-04-15 | view: add view_cursors_line function | Marc André Tanner | 1 | -0/+2 | |
| 2016-04-13 | view: add view_cursors_new_force function | Marc André Tanner | 1 | -1/+6 | |
| To create a cursor even if there already exists one at the same position. Should only be used if all but one of the cursors will later be removed. | |||||
| 2016-04-08 | vis: indicate primary cursor number in status bar | Marc André Tanner | 1 | -0/+2 | |
| If there exist multiple cursors, [n/m] is added to the status bar. Meaning the n-th cursor out of the existing m cursors is currently the primary one. | |||||
| 2016-04-03 | view: add return value to view_cursors_dispose | Marc André Tanner | 1 | -1/+1 | |
| indicating whether cursor could be removed | |||||
| 2016-03-30 | view: constify functions to manipulate selections | Marc André Tanner | 1 | -2/+2 | |
| 2016-03-28 | view: add infrastructure to iterate through cursor columns | Marc André Tanner | 1 | -0/+7 | |
| The number of columns i.e. maximal number of cursors located on the same line can be obtained by view_cursors_column_count. Column addressing is zero based, valid indexes are [0, max-1]. Assuming there is a cursor on every letter: a b c d e f g h i max column would be 3, and the following would iterate over the cursors forming the second column [c, e, h]: for (Cursor *c = view_cursors_column(view, 1); c; c = view_cursors_column_next(c, 1)) ... | |||||
| 2016-03-28 | view: change cursor creation API to take an initial position | Marc André Tanner | 1 | -2/+2 | |
| 2016-03-12 | ui/view: general code cleanup | Marc André Tanner | 1 | -2/+2 | |
| 2016-03-10 | view: add query function for multiple cursors | Marc André Tanner | 1 | -0/+2 | |
| 2016-03-10 | ui: make primary cursor blink | Marc André Tanner | 1 | -0/+1 | |
| 2016-03-10 | view: clean up API functions related to primary cursor handling | Marc André Tanner | 1 | -2/+4 | |
| The currently visible display port is always adjusted in a way that the primary cursor is visible. | |||||
| 2016-02-18 | vis-lua: promote vis to a real object | Marc André Tanner | 1 | -0/+1 | |
| That is from now on use vis:method instead of vis.method | |||||
| 2016-02-17 | Display NUL bytes correctly | Richard Burke | 1 | -4/+4 | |
| 2016-01-13 | view: introduce view_selection_get | Marc André Tanner | 1 | -0/+2 | |
| It returns the range covered by the selection of the primary cursor. | |||||
| 2016-01-13 | Add -pedantic to debug CFLAGS and fix resulting warnings | Marc André Tanner | 1 | -1/+5 | |
| 2015-12-26 | vis: refactor Lua integration | Marc André Tanner | 1 | -1/+1 | |
| Lua support can now be disabled at compile time using: $ make CONFIG_LUA=0 This commit also adds an initial Lua API and provides a few default hooks. We now also require Lua >= 5.2 due to the uservalue constructs. In principle the same functionality could be implemented using function environments from Lua 5.1. | |||||
| 2015-11-28 | view: remove ViewEvent infrastructure | Marc André Tanner | 1 | -6/+1 | |
| The only used event handler was used to update the '< and '> marks which is now taken care of by the leave handler of the visual modes. | |||||
| 2015-11-28 | view: remove special treatment of tabs in cell matrix | Marc André Tanner | 1 | -1/+0 | |
| 2015-11-27 | vis: improve cursor alignment command <C-a> | Marc André Tanner | 1 | -0/+4 | |
| 2015-11-23 | view: fix cell placement of combining characters | Marc André Tanner | 1 | -2/+3 | |
| They now belong to the cell holding the corresponding regular (i.e. non-combining) character. This also means that at least in theory a cell could hold arbitrary amounts of data, in practice it is limited to 16 bytes. | |||||
| 2015-11-08 | Remove trailing white space from source files | Marc André Tanner | 1 | -1/+1 | |
| 2015-11-08 | Delete now obsolete syntax.h | Marc André Tanner | 1 | -1/+0 | |
| 2015-11-08 | vis: implement :set colorcolumn | Marc André Tanner | 1 | -0/+2 | |
| 2015-11-08 | vis: factor out syntax highlighting code | Marc André Tanner | 1 | -0/+1 | |
| The view_draw function renders the text into the cells array and resyncs the cursor position. The syntax highlighting is applied in view_update, which also instructs the ui to update. | |||||
| 2015-11-08 | vis: experimental support for lua/lpeg based syntax highlighting | Marc André Tanner | 1 | -1/+2 | |
| The lua based lexers are searched in the following order: $VIS_PATH/lexers $HOME/.vis/lexers /usr/share/vis/lexers followed by the standard lua package.path | |||||
| 2015-11-08 | vis: remove regex based syntax highlighting | Marc André Tanner | 1 | -2/+2 | |
| 2015-10-14 | view: cleanup whitespace replacement symbol handling | Marc André Tanner | 1 | -2/+0 | |
| 2015-10-14 | view: cleanup option handling | Marc André Tanner | 1 | -0/+3 | |
| 2015-08-06 | vis: implement gv to restore last selection | Marc André Tanner | 1 | -0/+2 | |
| 2015-08-01 | view: hide API to free main cursor | Marc André Tanner | 1 | -2/+0 | |
| 2015-07-31 | vis: cleanup handling of charwise/linewise motions | Marc André Tanner | 1 | -0/+2 | |
| Also text objects in visual mode should now work better. | |||||
| 2015-07-28 | vis: use multiple cursor/selection infrastructure | Marc André Tanner | 1 | -1/+4 | |
| This commits introduces the following keybindings, in normal mode: CTRL-N select word the cursor is currently over, switch to visual mode CTRL-P remove least recently added cursor ESC if a selection is active, clear it. Otherwise dispose all but the primary cursor. In visual mode: CTRL-N create new cursor and select next word matching current selection CTRL-X clear (skip) current selection, but select next matching word CTRL-P remove least recently added cursor | |||||
| 2015-07-28 | vis: ESC in normal mode clears all cursors | Marc André Tanner | 1 | -0/+2 | |
| 2015-07-28 | vis: add per cursor registers | Marc André Tanner | 1 | -0/+3 | |
| 2015-07-26 | view: always fill out complete cell matrix | Marc André Tanner | 1 | -0/+1 | |
| 2015-07-26 | vis: add infrastructure to support multiple cursors/selections | Marc André Tanner | 1 | -35/+69 | |
| This cleans up the existing selection handling code and adds the necessary bits to eventually support multiple cursors/selections. The cursor position is kept track of using marks, which means retrieving the cursor position is no longer a constant time operation. Furthermore the terminal cursor is no longer used, instead the whole window is redrawn after every cursor movement. | |||||
| 2015-07-21 | ui: further separate curses related user interface code | Marc André Tanner | 1 | -1/+2 | |
| By now ui-curses.[hc] are the only files dealing directly with curses related functions. Integration of a proper mainloop is still pending. | |||||
| 2015-07-03 | Add :show command to display special symbols for whitespaces | Marc André Tanner | 1 | -0/+2 | |
| Enable/disable by setting to 0/1 respectively: :set show spaces=0 tabs=0 newlines=1 | |||||
| 2015-06-30 | Perform character prev/next movements based on Text not View | Marc André Tanner | 1 | -2/+0 | |
| While it is slower, it allows to move to characters which are currently not visible. This will be handy when experimenting with multiple cursors. | |||||
| 2015-06-30 | Cleanup insert/replace mode input handling | Marc André Tanner | 1 | -6/+12 | |
| View should only display the file content, but not modify it. | |||||
