From 5d8cf4794e4e97ba82f75c6169a42e7d492c8328 Mon Sep 17 00:00:00 2001
From: Neil SCI_POSITIONRELATIVE(int pos, int relative) → position SCI_COUNTCHARACTERS(int start, int end) → int SCI_POSITIONRELATIVECODEUNITS(int pos, int relative) → int SCI_POSITIONRELATIVECODEUNITS(int pos, int relative) → position
-
+
@@ -1549,7 +1549,7 @@ struct Sci_TextToFind {
Returns the number of whole characters between two positions.
+
SCI_COUNTCODEUNITS(int start, int end) → int
These are the UTF-16 versions of SCI_POSITIONRELATIVE and SCI_COUNTCHARACTERS
working in terms of UTF-16 code units.
SCI_LINEFROMINDEXPOSITION(int pos, int lineCharacterIndex) → int
- SCI_INDEXPOSITIONFROMLINE(int line, int lineCharacterIndex) → int
+ SCI_INDEXPOSITIONFROMLINE(int line, int lineCharacterIndex) → position
The document line of a particular character or code unit may be found by calling SCI_LINEFROMINDEXPOSITION with one of
SC_LINECHARACTERINDEX_UTF32(1) or SC_LINECHARACTERINDEX_UTF16(2).
The inverse action, finds the starting position of a document line either in characters or code units from the document start by calling
--
cgit v1.2.3