From 91e3a4df19781acf31ea4bd429e44364b2e17e1b Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Sun, 22 Jun 2008 11:41:57 +0000 Subject: Updated number of styles since lexers can use 8 bits now. --- doc/ScintillaDoc.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'doc/ScintillaDoc.html') diff --git a/doc/ScintillaDoc.html b/doc/ScintillaDoc.html index 9bc173fec..1f3e43a3d 100644 --- a/doc/ScintillaDoc.html +++ b/doc/ScintillaDoc.html @@ -1880,8 +1880,8 @@ struct TextToFind {

Style definition

While the style setting messages mentioned above change the style numbers associated with - text, these messages define how those style numbers are interpreted visually. There are 128 - lexer styles that can be set, numbered 0 to STYLEMAX (127). Unless you use STYLE_MAX (255). Unless you use SCI_SETSTYLEBITS to change the number of style bits, styles 0 to 31 are used to set the text attributes. There are also some predefined numbered styles starting at 32, The following STYLE_* constants are @@ -1977,7 +1977,7 @@ struct TextToFind { STYLE_MAX - 127 + 255 This is not a style but is the number of the maximum style that can be set. Styles between STYLE_LASTPREDEFINED and STYLE_MAX would be appropriate -- cgit v1.2.3