| Age | Commit message (Collapse) | Author |
|
It now instead iterates the actual unicode code points. This is better
than what it was previously doing but it is still not entirely correct
w.r.t to unicode sequences.
This handling of unicode code points does however make it slightly
easier to handle UTF-16 if needed in the future.
This also adds some long needed tests for buffer methods.
|
|
|
|
Also implement searching.
fix undo boundaries
when it checked for other save point, it used && instead of == which
caused it to overwrite other types.
Fix bytes vs chars bug in text_get_region
|
|
This also fixes a bunch of valgrind errors
|
|
This means that empty lines are not added until they have content.
|
|
Also fix some memory leaks
|
|
|
|
|
|
It now handles a range of characters and correctly merges lines. It is
not the most slick implementation but it works as a start.
|
|
|