From fcd6000ae9db0766a65cc0ab1b7da2cfa2b2f30f Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Sun, 3 May 2009 08:45:26 +0000 Subject: Added CharPositionFromPoint and CharPositionFromPointClose and merged the implementation for these and PositionFromPoint and PositionFromPointClose into a single function with flags for the different modes. --- doc/ScintillaDoc.html | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'doc/ScintillaDoc.html') diff --git a/doc/ScintillaDoc.html b/doc/ScintillaDoc.html index bf1f0bbb0..ab7cb5da0 100644 --- a/doc/ScintillaDoc.html +++ b/doc/ScintillaDoc.html @@ -1006,6 +1006,9 @@ struct TextToFind { SCI_FINDCOLUMN(int line, int column)
SCI_POSITIONFROMPOINT(int x, int y)
SCI_POSITIONFROMPOINTCLOSE(int x, int + y)
+ SCI_CHARPOSITIONFROMPOINT(int x, int y)
+ SCI_CHARPOSITIONFROMPOINTCLOSE(int x, int y)
SCI_POINTXFROMPOSITION(<unused>, int position)
@@ -1343,6 +1346,13 @@ struct TextToFind { SCI_POSITIONFROMPOINTCLOSE is similar but returns -1 if the point is outside the window or not close to any characters.

+

SCI_CHARPOSITIONFROMPOINT(int x, int y)
+ SCI_CHARPOSITIONFROMPOINTCLOSE(int x, int y)
+ SCI_CHARPOSITIONFROMPOINT finds the closest character to a point and + SCI_CHARPOSITIONFROMPOINTCLOSE is similar but returns -1 if the point is outside the + window or not close to any characters. This is similar to the previous methods but finds characters rather than + inter-character positions.

+

SCI_POINTXFROMPOSITION(<unused>, int pos)
SCI_POINTYFROMPOSITION(<unused>, int pos)
These messages return the x and y display pixel location of text at position pos -- cgit v1.2.3