Method ScreenToDisplay
ScreenToDisplay(int, int)
Converts given screen coordinates to display coordinates (index of line and character).
public virtual Point ScreenToDisplay(int x, int y)
Parameters
Returns
- Point
The Point representing display coordinate.
Remarks
Display coordinate represents point in SyntaxEdit control, it may be different from text coordinate due to tabulations, wordwrap and outlining.
ScreenToDisplay(int, int, bool)
Converts given screen coordinates to display coordinates (index of line and character).
public virtual Point ScreenToDisplay(int x, int y, bool checkBeyondEof)
Parameters
xintHorizontal screen coordinate to convert.
yintVertical screen coordinate to convert.
checkBeyondEofboolChecks if if y-coordinate is beyond the last text line and returns it in this case.
Returns
- Point
The Point representing display coordinate.
Remarks
Display coordinate represents point in SyntaxEdit control, it may be different from text coordinate due to tabulations, wordwrap and outlining.
ScreenToDisplay(double, double)
public virtual Point ScreenToDisplay(double x, double y)
Parameters
Returns
ScreenToDisplay(double, double, bool)
public virtual Point ScreenToDisplay(double x, double y, bool checkBeyondEof)