From dc0398d650e75efe9641f0c48d630f2c2027281a Mon Sep 17 00:00:00 2001
From: Neil CreateLexer(const char *name)
is exposed which will create a lexer object (ILexer5 *) for any object lexer or function lexer.
Lexer libraries that provide the same functions as Lexilla may provide lexers for use by Scintilla, augmenting or replacing those provided by Lexilla.
@@ -3337,14 +3337,14 @@ struct Sci_TextToFind { SCI_GETELEMENTALLOWSTRANSLUCENT(int element) → bool
SCI_GETELEMENTBASECOLOUR(int element) → colouralpha
Returns the default colour of an element.
This may be a value defined by Scintilla or it may be derived from the operating system or platform.
- Which values are set from the operating system may differ between operating systems and operating system versions.
+ Which values are set from the operating system may differ between operating systems and operating system versions.
When undefined the return value is 0 which is equivalent to completely transparent black.
These colours may be useful when defining styles with similarities such as synthesizing dark
mode styles that use the same colours as the system
SCI_SETSELALPHA(alpha alpha)
SCI_GETSELALPHA → int
- These APIs are now discouraged and should be replaced with
+ These APIs are now discouraged and should be replaced with
a combination of setting the layer with SCI_SETSELECTIONLAYER and
setting translucency through the SC_ELEMENT_SELECTION_BACK element.
INDIC_STRIKE, INDIC_BOX, INDIC_ROUNDBOX, INDIC_STRAIGHTBOX,
INDIC_FULLBOX, INDIC_DASH, INDIC_DOTS, INDIC_SQUIGGLELOW.
- Fractional pixel widths are possible such as 50 for half a pixel wide. +
Fractional pixel widths are possible such as 50 for half a pixel wide.
On many systems a half pixel value will appear as a fainter line but it allows drawing very thin lines on systems with multiple physical pixels
per logical pixel.
Half (logical) pixel lines are available on macOS with 'retina' displays,
@@ -9517,7 +9517,7 @@ EM_FORMATRANGE
Any use of these symbols should be removed and replaced with standard indicators.
SCI_GETSTYLEBITS and SCI_GETSTYLEBITSNEEDED always return 8,
indicating that 8 bits are used for styling and there are 256 styles.
Discouraged APIs are a step before deprecation. A new preferred API has been implemented that new code should use but the old API is unlikely to be removed. Discouraged APIs are marked with a orange strikethrough and their documentation mentions the preferred API. -- cgit v1.2.3