mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Corrected (x; y) -> visual position mapping in situation when target offset points to line feed
This commit is contained in:
@@ -1015,7 +1015,7 @@ public final class EditorImpl extends UserDataHolderBase implements EditorEx, Hi
|
||||
charWidth = EditorUtil.charWidth(c, fontType, this);
|
||||
}
|
||||
|
||||
if (charWidth <= 0) {
|
||||
if (charWidth < 0) {
|
||||
charWidth = spaceSize;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user