aboutsummaryrefslogtreecommitdiff
path: root/view.c
AgeCommit message (Collapse)AuthorFilesLines
2015-07-07view: properly NUL terminate whitespace replacement symbolsMarc André Tanner1-3/+3
This should not be a problem in practice, since cell->data is large enough anyway.
2015-07-06Make selection contiguous over whitespace symbolsMarc André Tanner1-2/+3
2015-07-06Move filename from Text to FileMarc André Tanner1-2/+0
Also apply syntax rules every time the file name changes.
2015-07-03Fix handling of multibyte characters (at start of display area)David B. Lamkins1-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-03Add :show command to display special symbols for whitespacesMarc André Tanner1-16/+78
Enable/disable by setting to 0/1 respectively: :set show spaces=0 tabs=0 newlines=1
2015-06-30Perform character prev/next movements based on Text not ViewMarc André Tanner1-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-30Cleanup insert/replace mode input handlingMarc André Tanner1-74/+6
View should only display the file content, but not modify it.
2015-04-22Rename window.[ch] to view.[ch]Marc André Tanner1-0/+898