public GetTextPointInfoFromCaretPoint ( int caretX ) : |
||
caretX | int | |
Résultat |
public VisualPointInfo FindTextRunOnPosition(int x, int y) { if (y < 0) { return(null); } else { int j = textLineWriter.LineCount; if (j > 0) { EditableTextLine textLine = textLineWriter.GetTextLineAtPos(y); if (textLine != null) { return(textLine.GetTextPointInfoFromCaretPoint(x)); } } return(null); } }