Update the bundled Scintilla version to 3.4.1.
There are relatively few changes, see Scintilla changelog at http://www.scintilla.org/ScintillaHistory.html Closes #16182. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@78042 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -239,6 +239,7 @@ class WXDLLIMPEXP_FWD_CORE wxScrollBar;
|
||||
#define wxSTC_WRAP_NONE 0
|
||||
#define wxSTC_WRAP_WORD 1
|
||||
#define wxSTC_WRAP_CHAR 2
|
||||
#define wxSTC_WRAP_WHITESPACE 3
|
||||
#define wxSTC_WRAPVISUALFLAG_NONE 0x0000
|
||||
#define wxSTC_WRAPVISUALFLAG_END 0x0001
|
||||
#define wxSTC_WRAPVISUALFLAG_START 0x0002
|
||||
@@ -332,6 +333,12 @@ class WXDLLIMPEXP_FWD_CORE wxScrollBar;
|
||||
#define wxSTC_TECHNOLOGY_DEFAULT 0
|
||||
#define wxSTC_TECHNOLOGY_DIRECTWRITE 1
|
||||
|
||||
/// Line end types which may be used in addition to LF, CR, and CRLF
|
||||
/// SC_LINE_END_TYPE_UNICODE includes U+2028 Line Separator,
|
||||
/// U+2029 Paragraph Separator, and U+0085 Next Line
|
||||
#define wxSTC_LINE_END_TYPE_DEFAULT 0
|
||||
#define wxSTC_LINE_END_TYPE_UNICODE 1
|
||||
|
||||
/// Maximum value of keywordSet parameter of SetKeyWords.
|
||||
#define wxSTC_KEYWORDSET_MAX 8
|
||||
#define wxSTC_TYPE_BOOLEAN 0
|
||||
@@ -510,6 +517,7 @@ class WXDLLIMPEXP_FWD_CORE wxScrollBar;
|
||||
#define wxSTC_LEX_KVIRC 110
|
||||
#define wxSTC_LEX_RUST 111
|
||||
#define wxSTC_LEX_DMAP 112
|
||||
#define wxSTC_LEX_AS 113
|
||||
|
||||
/// When a lexer specifies its language as SCLEX_AUTOMATIC it receives a
|
||||
/// value assigned in sequence from SCLEX_AUTOMATIC+1.
|
||||
@@ -1107,7 +1115,7 @@ class WXDLLIMPEXP_FWD_CORE wxScrollBar;
|
||||
#define wxSTC_SCRIPTOL_CLASSNAME 14
|
||||
#define wxSTC_SCRIPTOL_PREPROCESSOR 15
|
||||
|
||||
/// Lexical states for SCLEX_ASM
|
||||
/// Lexical states for SCLEX_ASM, SCLEX_AS
|
||||
#define wxSTC_ASM_DEFAULT 0
|
||||
#define wxSTC_ASM_COMMENT 1
|
||||
#define wxSTC_ASM_NUMBER 2
|
||||
@@ -2293,14 +2301,6 @@ class WXDLLIMPEXP_FWD_CORE wxScrollBar;
|
||||
#define wxSTC_DMAP_WORD2 9
|
||||
#define wxSTC_DMAP_WORD3 10
|
||||
|
||||
/// Events
|
||||
/// GTK+ Specific to work around focus and accelerator problems:
|
||||
/// Line end types which may be used in addition to LF, CR, and CRLF
|
||||
/// SC_LINE_END_TYPE_UNICODE includes U+2028 Line Separator,
|
||||
/// U+2029 Paragraph Separator, and U+0085 Next Line
|
||||
#define wxSTC_LINE_END_TYPE_DEFAULT 0
|
||||
#define wxSTC_LINE_END_TYPE_UNICODE 1
|
||||
|
||||
//}}}
|
||||
//----------------------------------------------------------------------
|
||||
|
||||
@@ -2920,7 +2920,7 @@ public:
|
||||
// Get is a style mixed case, or to force upper or lower case.
|
||||
int StyleGetCase(int style) const;
|
||||
|
||||
// Get the character set of the font in a style.
|
||||
// Get the character get of the font in a style.
|
||||
int StyleGetCharacterSet(int style) const;
|
||||
|
||||
// Get is a style visible or not.
|
||||
@@ -3610,7 +3610,7 @@ public:
|
||||
// Append a string to the end of the document without changing the selection.
|
||||
void AppendText(const wxString& text);
|
||||
|
||||
// Is drawing done in two phases with backgrounds drawn before foregrounds?
|
||||
// Is drawing done in two phases with backgrounds drawn before faoregrounds?
|
||||
bool GetTwoPhaseDraw() const;
|
||||
|
||||
// In twoPhaseDraw mode, drawing is performed in two phases, first the background
|
||||
@@ -4526,10 +4526,19 @@ public:
|
||||
// Sets the caret line to always visible.
|
||||
void SetCaretLineVisibleAlways(bool alwaysVisible);
|
||||
|
||||
// Set the line end types that the application wants to use. May not be used if incompatible with lexer or encoding.
|
||||
void SetLineEndTypesAllowed(int lineEndBitSet);
|
||||
|
||||
// Get the line end types currently allowed.
|
||||
int GetLineEndTypesAllowed() const;
|
||||
|
||||
// Get the line end types currently recognised. May be a subset of the allowed types due to lexer limitation.
|
||||
int GetLineEndTypesActive() const;
|
||||
|
||||
// Set the way a character is drawn.
|
||||
void SetRepresentation(const wxString& encodedCharacter, const wxString& representation);
|
||||
|
||||
// Get the way a character is drawn.
|
||||
// Set the way a character is drawn.
|
||||
wxString GetRepresentation(const wxString& encodedCharacter) const;
|
||||
|
||||
// Remove a character representation.
|
||||
@@ -4588,15 +4597,6 @@ public:
|
||||
// Retrieve a '\n' separated list of descriptions of the keyword sets understood by the current lexer.
|
||||
wxString DescribeKeyWordSets() const;
|
||||
|
||||
// Set the line end types that the application wants to use. May not be used if incompatible with lexer or encoding.
|
||||
void SetLineEndTypesAllowed(int lineEndBitSet);
|
||||
|
||||
// Get the line end types currently allowed.
|
||||
int GetLineEndTypesAllowed() const;
|
||||
|
||||
// Get the line end types currently recognised. May be a subset of the allowed types due to lexer limitation.
|
||||
int GetLineEndTypesActive() const;
|
||||
|
||||
// Bit set of LineEndType enumertion for which line ends beyond the standard
|
||||
// LF, CR, and CRLF are supported by the lexer.
|
||||
int GetLineEndTypesSupported() const;
|
||||
|
Reference in New Issue
Block a user