summaryrefslogtreecommitdiff
path: root/ui.h
AgeCommit message (Collapse)Author
2015-10-22ui: introduce and use ui specific die(...) functionMarc André Tanner
2015-10-15ui: cleanup redrawingMarc André Tanner
2015-10-14view: cleanup whitespace replacement symbol handlingMarc André Tanner
2015-10-14view: cleanup option handlingMarc André Tanner
2015-10-14ui: refactor syntax style definitionsMarc André Tanner
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-10-05vis: rework input handling using libtermkeyMarc André Tanner
Key bindings are now specified as symbolic key strings, this will eventually allow run time configurable key mappings. This introduces a bulid time dependency on libtermkey which can be found at: http://www.leonerd.org.uk/code/libtermkey/
2015-07-26vis: add infrastructure to support multiple cursors/selectionsMarc André Tanner
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-21ui: further separate curses related user interface codeMarc André Tanner
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-09ui: move terminal state handling code to ui specific fileMarc André Tanner
2015-07-09ui: move input handling code to ui specific filesMarc André Tanner
2015-07-06Move filename from Text to FileMarc André Tanner
Also apply syntax rules every time the file name changes.
2015-04-22Rename window.[ch] to view.[ch]Marc André Tanner
2015-04-22More renames, no functional changesMarc André Tanner
Win -> View, window_* -> view_*
2015-04-07Set '< and '> marksMarc André Tanner
2015-04-03Add option to display relative line numbersMarc André Tanner
:set rnu Based on a patch by Sebastian Götte.
2015-04-03Preliminary user interface separationMarc André Tanner
In theory only ui-curses.[hc] should depend on curses, however in practice keyboard input is still handled in vis.c. Furthermore the syntax definitions as well as keyboard bindings and selection code in window.c still depends on some curses constants. There is also a slight regression in that the window status bar does not show the current mode name. This and related global state should be eliminated in the future.