summaryrefslogtreecommitdiff
path: root/text.c
AgeCommit message (Collapse)Author
2014-09-10If text has been created from an empty file, store filename upon first saveMarc André Tanner
2014-09-10Add comments where appropriateMarc André Tanner
2014-09-09Fix a few memory leaksMarc André Tanner
2014-09-08Hook up search as a movementMarc André Tanner
2014-09-08Unify variable namingMarc André Tanner
Only textual substitution no functional changes.
2014-09-08Use named struct initializers where appropriateMarc André Tanner
2014-08-28text: fix iterator_char{prev,next} to accept NULL argumentMarc André Tanner
2014-08-25Move motion related stuff into own fileMarc André Tanner
2014-08-24Add license headerMarc André Tanner
2014-08-23Share common macros in util.hMarc André Tanner
2014-08-23text: invalidate line <-> pos mapping upon undo/redoMarc André Tanner
2014-08-23text: redesing mark implementationMarc André Tanner
Previously a mark was a byte offset from the start of the file which required updates whenever a text modification happened before it. Now it is simply a pointer into the underlying (mostly) append only buffer which remains valid throughout the whole life cycle.
2014-08-23text: refactor piece_getMarc André Tanner
2014-08-14Remove useless replace APIMarc André Tanner
The removed junk might not have the same length as the newly inserted one.
2014-08-14Rename files editor.[ch] -> text.[ch]Marc André Tanner