将指定位置的显示坐标转换为逻辑坐标,并检索 Point 对象中的位置。
point = document.ViewToLogical( x, y );
point = document.ViewToLogical( x, y )
x
指定基于单个的水平(字符)位置。
y
指定基于单个的垂直(行)位置。
point = document.ViewToLogical( 10, 1 );
x = point.x;
y = point.y;
point = document.ViewToLogical( 10, 1 )
x = point.x
y = point.y
支持 EmEditor Professional 17.0 或之后的版本。