eric7.QScintilla.Lexers.LexerTeX
Module implementing a Tex lexer with some additional methods.
Global Attributes
Classes
LexerTeX |
Subclass to implement some additional lexer dependant methods. |
Functions
LexerTeX
Subclass to implement some additional lexer dependant methods.
Derived from
Lexer, QsciLexerTeX
Class Attributes
Class Methods
Methods
Static Methods
LexerTeX (Constructor)
LexerTeX(parent=None)
Constructor
- parent
-
parent widget of this lexer
LexerTeX.defaultKeywords
defaultKeywords(kwSet)
Public method to get the default keywords.
- kwSet
-
number of the keyword set (integer)
- Return:
-
string giving the keywords (string) or None
LexerTeX.initProperties
initProperties()
Public slot to initialize the properties.
LexerTeX.isCommentStyle
isCommentStyle(style)
LexerTeX.isStringStyle
isStringStyle(style)
Public method to check, if a style is a string style.
- style
-
style to check (integer)
- Return:
-
flag indicating a string style (boolean)
createLexer
createLexer(variant="", parent=None)