Using VisualLineElementGenerator will cause the caret position wrong #416

Closed
opened 2023-11-14 23:27:07 -06:00 by SuperSuperPepper · 1 comment
SuperSuperPepper commented 2023-11-14 23:27:07 -06:00 (Migrated from github.com)

When I want to use VisualLineElementGenerator generator custom components like menu replace some text.The caret position will get
the wrong position.

image

yellow line is the actual mouse position.

how can I fix this ?

than you

When I want to use VisualLineElementGenerator generator custom components like menu replace some text.The caret position will get the wrong position. ![image](https://github.com/icsharpcode/AvalonEdit/assets/19568580/0ea7395b-135e-48c3-9d65-b0091289e32b) yellow line is the actual mouse position. how can I fix this ? than you
SuperSuperPepper commented 2023-11-15 03:06:08 -06:00 (Migrated from github.com)

Can use #417 to fix.

Can use #417 to fix.
Sign in to join this conversation.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
gh-icsharpcode/AvalonEdit#416
No description provided.