diff options
author | Michael Drake <tlsa@netsurf-browser.org> | 2013-03-17 22:06:48 +0000 |
---|---|---|
committer | Michael Drake <tlsa@netsurf-browser.org> | 2013-03-17 22:06:48 +0000 |
commit | 8d0c1f9207709a0e2019b4e21b8f5eb5228b8626 (patch) | |
tree | 24bed1e661eadf093fb1493c87c081a101d0aa5e /render | |
parent | c3f21572ed18b9319aeba0fc5caf4a6394fd3905 (diff) | |
download | netsurf-8d0c1f9207709a0e2019b4e21b8f5eb5228b8626.tar.gz netsurf-8d0c1f9207709a0e2019b4e21b8f5eb5228b8626.tar.bz2 |
Loads of changes including fixes, new functionality, and optimisation.
+ Refactor internals to be byte, rather than character based.
+ Don't need to hammer utf8_* functions everywhere
+ Optimises:
+ Redraw (lots)
+ Editing (insertion, replacement, removal)
+ Caret placement
+ Selection
+ Early avoid of zero length autoscroll during selection drag.
+ Optimised redraw to avoid nsfont_width when:
+ There's no selection at all.
+ We're on last part of line, and it's unselected.
+ Implemented WORD_LEFT and WORD_RIGHT keys (shift + cursor left/right)
+ Fixed UP and DOWN (cursor up/down) keys to handle non-monospace fonts.
(Now based on 'x' offset on line, rather than character offset on line.)
+ Fixed PAGE_UP and PAGE_DOWN to scroll without moving the caret.
+ Fixed redraw bug in text selection edge case.
+ Changed textarea_replace_text and textarea_insert_text to return
a byte delta for caret position changes.
+ Coordinate to text offset function handles global and viewport coords.
+ Many small improvements and tidying.
Diffstat (limited to 'render')
0 files changed, 0 insertions, 0 deletions