From 23b2a54292964dc653d7ebb64c4b2a044eeaa8e7 Mon Sep 17 00:00:00 2001
From: Neil Last edited 2 February 2021 NH Last edited 9 March 2022 NH Scintilla 5 has moved the lexers from Scintilla into a new
Lexilla project. SCI_GETSTYLEAT(position pos) → int
+ SCI_GETSTYLEAT(position pos) → intScintilla Documentation
-
@@ -543,6 +543,7 @@
+
@@ -694,9 +695,15 @@
This returns the character at pos in the document or 0 if pos is
negative or past the end of the document.
+
+ SCI_GETSTYLEINDEXAT(position pos) → int
This returns the style at pos in the document, or 0 if pos is
- negative or past the end of the document.SCI_GETSTYLEAT may return a negative number for styles over 127 whereas SCI_GETSTYLEINDEXAT
+ will only return positive numbers.
+ SCI_GETSTYLEINDEXAT should be preferred as it handles styles more consistently and may avoid problems
+ with lexers that define more than 128 styles.
SCI_RELEASEALLEXTENDEDSTYLES
SCI_ALLOCATEEXTENDEDSTYLES(int numberStyles) → int
--
cgit v1.2.3