aboutsummaryrefslogtreecommitdiffhomepage
path: root/lexers/LexPython.cxx
AgeCommit message (Collapse)AuthorFilesLines
2020-04-13Use const, constexpr, noexcept, & nullptr. Reduce headers and use C++ versions.Neil1-42/+39
Replace ctype functions with lexlib functions that don't fail for non-ASCII.
2020-03-26Fix spelling mistakes.Neil1-3/+3
2019-12-22Define ILexer5 with methods for retrieving name, ID, and property values.Neil1-3/+6
Implement ILexer5 on object lexers. Implement ILexer5 on LexerSimple wrapper for function lexers.
2018-05-16Use standard library function.Neil1-1/+2
2018-04-14Make some changes recommended by clang-tidy.Neil Hodgson1-4/+4
2017-10-15Bug [#1977]. Folder treats triple-quoted f-strings like triple-quoted strings.Zufu Liu1-3/+3
2017-09-11The Scintilla namespace is always active for internal symbols and for the lexerNeil1-2/+0
interfaces ILexer4 and IDocument.
2017-07-17Update types for Unix LP64 after changes to Sci_Position/Sci_PositionU.Neil Hodgson1-3/+3
2017-07-17Implement style metadata for some languages.Neil1-0/+25
Add some helper methods to SubStyles for finding style metadata of substyles.
2017-06-22Merge Ilexer and ILexerWithSubStyles into ILexer4 to avoid need for versionNeil1-2/+2
checking in 4.0. Use lvRelease4 ID.
2017-06-22Add a DefaultLexer class which lexers can subclass if they want reasonableNeil1-1/+2
default implementations of the ILexerWithSubStyles interface methods.
2017-04-21Treat comments at the end of the file as separate from the preceding structure.Neil1-2/+8
2017-04-07Prefer C++ static cast over C-style casts.Neil1-2/+2
2017-04-06Added const to some lexers.Neil1-12/+12
2017-03-23The Python lexer recognizes identifiers more accurately when they includeNeil1-10/+4
non-ASCII characters. Calls provided for determining whether characters are in the sets defined for identifiers by the Unicode standard in UAX #31.
2017-03-10Bug [#1918]. Fix failure when lexing starts at line 3+ of a multiline f-string.John Ehresman1-1/+2
2017-03-08Standardised formatting by running astyle as formatting had become inconsistent.Neil1-49/+45
2017-03-08Improve f-string support.John Ehresman1-32/+145
Add support for multiline expressions in triple quoted f-strings. Handle nested "()", "[]", and "{}" in f-string expressions and terminate expression coloring at ":" or "!". End f-string if ending quote is seen in a "{}" expression. Fix terminating single quoted f-string at EOL.
2017-03-04Use C++11 keyword "override" for methods in lexers that override an interface.Neil1-21/+21
2017-02-15Bug [#1848]. Line ends OK in f-strings for lexer.python.strings.over.newline=1.John Ehresman1-18/+36
2017-02-12Bug [#1848]. Support Python f-strings with new styles.John Ehresman1-17/+68
2016-12-22Don't style @1 as a decoratorJohn Ehresman1-1/+1
2016-12-22Allow Python 3 unicode identifiersJohn Ehresman1-8/+34
2016-12-22Recognize f as a string prefixJohn Ehresman1-3/+11
2016-03-16Support Python 3.5 '@' operator.John Ehresman1-1/+15
2015-07-30Use Sci_Position / Sci_PositionU for variables in lexers that representJoe Mueller1-21/+21
positions and line numbers and may be widened to 64-bits in a future release.
2015-07-25Use Sci_PositionU/Sci_Position for arguments to functional lexers, folders, andNeil1-1/+1
comment recognizers to allow for future implementation of 64-bit positions.
2015-07-20Use Sci_Position when required to implement interfaces.Neil1-8/+8
2015-07-06Upgrading Python to an object lexer that supports substyles.Neil1-73/+234
2013-07-21Replace all instances of isascii with Scintilla-specific IsASCII.Neil1-1/+1
iasascii is not part of ISO C or C++ but is a BSD extension so caused problems when compiling in strict compliance mode.
2011-07-09Fixed mistake in last change.nyamatongwe1-1/+0
2011-07-08Removed fold.comment.python property as it has not worked for many years.nyamatongwe1-24/+7
2011-07-08Bug #3325333. Property lexer.python.keywords2.no.sub.identifiers controlsnyamatongwe1-5/+14
whether keywords from the keywords2 list are valid after '.'. From Todd Whiteman.
2011-07-06Fix problems with folding not extending to final line. Bug #3349157.nyamatongwe1-5/+6
From Marko Njezic.
2011-06-24LexPython: keywords2: don't highlight sub-identifiers. Bug #3325333.nyamatongwe1-1/+6
From Todd Whiteman.
2011-04-16Support cython cpdef keyword. Bug #3279728.nyamatongwe1-6/+8
From Stephan R.A. Deibel.
2011-01-27Dropped inclusion of PropSetSimple.h in lexers which do not use ↵nyamatongwe1-1/+0
PropSetSimple directly. Dropped declaration not needed in LexCPP.
2010-07-13For new lexer design change includes to add new files and remove unused files.nyamatongwe1-7/+11
Normalise order of includes. Minor fixes for compatibility with new lexer design.
2010-07-13Moved lexers into lexers directory.nyamatongwe1-0/+569