Menu

#1 Textbox Caret Selection/Control

open
nobody
None
7
2004-09-08
2004-09-08
No

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.

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.