Textbox Caret Selection/Control
Status: Alpha
Brought to you by:
acolytee
The textbox caret needs a more flexible detection
algorithm for a smoother and easier position calculation.
Current one is a bit dodgy, because it goes through ALL
characters and finds if mouse is being clicked in one of
them, and only after assigns caret position. Proposition:
track caret' position using only Character offset (X,Y) in
characters and Absolute offset (X,Y) in pixels. Determine
character being clicked on using above coordinates and
optimize the algorithm. Also add caret flickering.