| Age | Commit message (Collapse) | Author | Files | Lines | |
|---|---|---|---|---|---|
| 2015-11-28 | view: preserve column position when moving across lines | Marc André Tanner | 1 | -8/+18 | |
| 2015-11-28 | view: remove special treatment of tabs in cell matrix | Marc André Tanner | 1 | -9/+3 | |
| 2015-11-27 | vis: improve cursor alignment command <C-a> | Marc André Tanner | 1 | -0/+11 | |
| 2015-11-23 | view: fix cell placement of combining characters | Marc André Tanner | 1 | -7/+17 | |
| 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-14 | view: increase range to consider for syntax highlighting | David B. Lamkins | 1 | -1/+1 | |
| Increase the number of bytes to consider for syntax highligthing before the visisble area. This should improve the handling of long block comments. Closes #110 | |||||
| 2015-11-09 | view: improve window redrawing for shared files/split windows | Marc André Tanner | 1 | -1/+1 | |
| When a file was being displayed in multiple windows changes in one could confuse the other. | |||||
| 2015-11-09 | view: correctly redraw window content | Marc André Tanner | 1 | -1/+4 | |
| If a change occured on the very first shown character, it was not properly reflected in the view. | |||||
| 2015-11-08 | Fix warnings found by static analyzer | Marc André Tanner | 1 | -2/+1 | |
| 2015-11-08 | Update year numbers in Copyright clause | Marc André Tanner | 1 | -1/+1 | |
| 2015-11-08 | Remove trailing white space from source files | Marc André Tanner | 1 | -8/+8 | |
| 2015-11-08 | Delete now obsolete syntax.h | Marc André Tanner | 1 | -1/+14 | |
| 2015-11-08 | view: do not highlight matching symbols if selection is active | Marc André Tanner | 1 | -1/+1 | |
| 2015-11-08 | vis: introduce vis namespace for lua objects | Marc André Tanner | 1 | -9/+7 | |
| For now the vis table has only one member "lexers". | |||||
| 2015-11-08 | vis: implement :set colorcolumn | Marc André Tanner | 1 | -0/+22 | |
| 2015-11-08 | vis: factor out syntax highlighting code | Marc André Tanner | 1 | -47/+58 | |
| 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: implement :set cursorline | Marc André Tanner | 1 | -0/+3 | |
| 2015-11-08 | vis: experimental support for lua/lpeg based syntax highlighting | Marc André Tanner | 1 | -15/+166 | |
| 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 | -76/+7 | |
| 2015-10-31 | view: make zb command more robust | Marc André Tanner | 1 | -4/+2 | |
| The new approach first scrolls the window up such that the current cursor line lies below the current visible area, then the viewport is adjusted until the line is once again visible (at the bottom of the window). Closes #85 | |||||
| 2015-10-26 | vis: merge editor.c into vis.c | Marc André Tanner | 1 | -1/+1 | |
| 2015-10-20 | view: ensure minimal window size | Marc André Tanner | 1 | -0/+4 | |
| Do not create empty windows, more importantly do not overwrite random memory. Closes #80 | |||||
| 2015-10-15 | ui: cleanup redrawing | Marc André Tanner | 1 | -1/+1 | |
| 2015-10-14 | view: cleanup whitespace replacement symbol handling | Marc André Tanner | 1 | -31/+27 | |
| 2015-10-14 | view: cleanup option handling | Marc André Tanner | 1 | -0/+8 | |
| 2015-10-14 | ui: refactor syntax style definitions | Marc André Tanner | 1 | -9/+10 | |
| Styles can now be specified as strings which will make them easier to specify from outside the editor. The following style attributes can be given in a comma separated list: bold italics underlined fore:color back:color where color is either a hex value of the form #aabbcc or one of the predefined colors: black red green yellow blue magenta cyan white | |||||
| 2015-08-06 | vis: implement gv to restore last selection | Marc André Tanner | 1 | -2/+24 | |
| 2015-08-01 | view: hide API to free main cursor | Marc André Tanner | 1 | -1/+2 | |
| 2015-07-31 | vis: cleanup handling of charwise/linewise motions | Marc André Tanner | 1 | -7/+13 | |
| Also text objects in visual mode should now work better. | |||||
| 2015-07-28 | vis: use multiple cursor/selection infrastructure | Marc André Tanner | 1 | -0/+11 | |
| 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 | -2/+10 | |
| 2015-07-28 | vis: add per cursor registers | Marc André Tanner | 1 | -0/+6 | |
| 2015-07-28 | text: move utility functions to separate file | Marc André Tanner | 1 | -0/+1 | |
| 2015-07-26 | view: use a mark to keep track of the visible area | Marc André Tanner | 1 | -2/+10 | |
| This should fix "corruptions" caused by wrong offsets when editing the same file in multiple windows. | |||||
| 2015-07-26 | view: do not set cursor position after resize | Marc André Tanner | 1 | -1/+0 | |
| The problem is that a cursor movement might cause a redraw which in turn causes the sidebar width to change thus the view to be resized which will override the cursor position. | |||||
| 2015-07-26 | view: always fill out complete cell matrix | Marc André Tanner | 1 | -12/+17 | |
| 2015-07-26 | vis: add infrastructure to support multiple cursors/selections | Marc André Tanner | 1 | -179/+410 | |
| 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 | -5/+5 | |
| 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-07 | view: properly NUL terminate whitespace replacement symbols | Marc André Tanner | 1 | -3/+3 | |
| This should not be a problem in practice, since cell->data is large enough anyway. | |||||
| 2015-07-06 | Make selection contiguous over whitespace symbols | Marc André Tanner | 1 | -2/+3 | |
| 2015-07-06 | Move filename from Text to File | Marc André Tanner | 1 | -2/+0 | |
| Also apply syntax rules every time the file name changes. | |||||
| 2015-07-03 | Fix handling of multibyte characters (at start of display area) | David B. Lamkins | 1 | -1/+3 | |
| Previously a sequence of Unicode REPLACEMENT CHARACTER was displayed. Use an explicitly initialized mbstate_t object in the call to mbrtowc(). While this should not strictly be necessary, it works around a bug in certain implementations. Closes #56. | |||||
| 2015-07-03 | Add :show command to display special symbols for whitespaces | Marc André Tanner | 1 | -16/+78 | |
| 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 | -40/+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 | -74/+6 | |
| View should only display the file content, but not modify it. | |||||
| 2015-04-22 | Rename window.[ch] to view.[ch] | Marc André Tanner | 1 | -0/+898 | |
