issues
search
mjakeman
/
text-engine
A lightweight rich text framework for GTK
Other
21
stars
1
forks
source link
Add Attachment and Complex Character Positioning
#19
Closed
mjakeman
closed
2 years ago
mjakeman
commented
2 years ago
Adds 'attachment' - this is a term borrowed from webkit to describe the process of attaching semantic model nodes to view-specific layout nodes.
Implements home and end line traversal according to #17
Implements mouse-based picking for determining index under mouse position
TODO
[x] Add up/down movement
[x] Add cursor selection
[x]
Add unit tests for home/end
Deferred until traversal is separated from view
[x] Issues:
[x] Fix issue with splitting then entering at the start of the paragraph
[x]
Cannot select final index in paragraph with mouse
Pango issue, deferred until resolution on use of paragraph break characters
[x] Clean up:
[X] Rework cursor drawing to only reallocate when necessary
[X] Use fuzzy cursor picking (i.e. choose nearest when no exact match is found)
[x] Up/down within paragraphs
TODO
Add unit tests for home/endDeferred until traversal is separated from viewCannot select final index in paragraph with mousePango issue, deferred until resolution on use of paragraph break characters