From 1e897e643d5acc133f9c90beeec20428d2037e41 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Thu, 22 Jul 2004 01:02:15 +0000 Subject: New method SCI_FINDCOLUMN. --- doc/ScintillaDoc.html | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'doc/ScintillaDoc.html') diff --git a/doc/ScintillaDoc.html b/doc/ScintillaDoc.html index 8cad4e364..7323caa9d 100644 --- a/doc/ScintillaDoc.html +++ b/doc/ScintillaDoc.html @@ -898,6 +898,7 @@ struct TextToFind { SCI_GETLINEENDPOSITION(int line)
SCI_LINELENGTH(int line)
SCI_GETCOLUMN(int position)
+ SCI_FINDCOLUMN(int line, int column)
SCI_POSITIONFROMPOINT(int x, int y)
SCI_POSITIONFROMPOINTCLOSE(int x, int y)
@@ -1226,6 +1227,11 @@ struct TextToFind { characters up to the position on the line. In both cases, double byte characters count as a single character. This is probably only useful with monospaced fonts.

+

SCI_FINDCOLUMN(int line, int column)
+ This message returns the position of a column on a line + taking the width of tabs into account. It treats a multi-byte character as a single column. + Column numbers, like lines start at 0.

+

SCI_POSITIONFROMPOINT(int x, int y)
SCI_POSITIONFROMPOINTCLOSE(int x, int y)
SCI_POSITIONFROMPOINT finds the closest character position to a point and -- cgit v1.2.3