aboutsummaryrefslogtreecommitdiffhomepage
path: root/lexers
AgeCommit message (Collapse)AuthorFilesLines
2017-06-22Backport: Use same types for CheckLevelCommentLine to allow 64-bit Sci_Position.Neil1-1/+1
Backport of changeset 6321:0adf7fb8f003.
2017-06-07Backport: Bug [#1919]. Rust - Update integer suffixes.Pavel Sountsov1-1/+3
Backport of changeset 6302:0577ec50750e.
2017-06-09Backport: Use min and max from std instead of own version from platform.Neil1-1/+3
Backport of changeset 6297:4bf96081f6e6.
2018-03-11Added optional Lua lexer support.mitchell1-0/+795
This support is disabled by default and must be enabled via compile-time option.
2017-10-15Apply patch set #6396 to LongTerm3 Branch.oirfeodent1-4/+6
New pre_processor added recently to baan. Baan lexer and folder support #context_on / #context_off preprocessor feature.
2017-08-30Apply patch set #6385 to LongTerm3 Branch.oirfeodent1-1/+4
The Baan lexer checks that matches to 3rd set of keywords are function calls and leaves as identifiers if not. Fix issue, where in few cases the lexing needs to be done only for functions.
2017-07-05Apply patch set #6335 to LongTerm3 Branch.oirfeodent1-1/+1
SCE_BAAN_NUMBER was not highlighted, if followed by an operator... This Bug is fixed.
2017-05-18Handle Hex & Exp representations properly. Octal representation not ↵oirfeodent1-3/+20
available in BaanC. Undo auto indentation by editor. Add + as well similar to -. V3. Replace ascii value of e & x to actual value.
2017-05-12If "Show End of Line" is enabled, using sc.atLineEnd causes <CR> to be ↵oirfeodent1-1/+2
coloured as comment in windows due to <CR><LF>. Checking for <CR> or <LF> directly should work for Windows/Linux/Mac. Escape Sequence corrected.
2017-05-08Bug [#1944]. Recognize strings in lists in more cases.Kein-Hong Man1-2/+15
2017-04-21Treat comments at the end of the file as separate from the preceding structure.Neil1-2/+8
2017-04-19Include header needed for std::lower_bound used in SparseState.h.Neil1-0/+1
2017-04-18Bug [#1936]. Implement comment folding.darmar1-9/+211
2017-04-18Bug [#1935]. Recognize a preprocessor line after a line continuation.darmar1-9/+13
2017-04-15Use bool literals true and false instead of 1 and 0.Neil1-4/+4
2017-04-10Bug [#1931]. Recognize comments in more situations and treat "..." like "---".Jim Pattee1-1/+5
2017-04-09Further use of range-for.Neil1-9/+9
2017-04-07Prefer C++ static cast over C-style casts.Neil2-5/+5
2017-04-06Added const to some lexers.Neil6-61/+61
2017-04-05Made formatting more consistent by running astyle.Neil1-6/+6
2017-04-05Bug [#1929]. Recognize escaped quotes within quotes.Jim Pattee1-0/+4
2017-03-28Fix Xcode warning.Neil Hodgson1-1/+1
2017-03-27Keep positions in Sci_Position variables so can adapt to changes.Neil1-3/+3
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-07Avoid potential problems with memcmp reading past end of object.Neil1-1/+2
2017-03-07Handle nested comments for adjacent markers like "/*/*" or "*/*/".Matt Gilarde1-1/+6
2017-03-06New "indent" lexer styled as plain text but folded by indentation level.Vicente1-0/+73
2017-03-06Fold a VHDL "entity" on the first line of the file.Vicente1-3/+5
2017-03-04Use C++11 keyword "override" for methods in lexers that override an interface.Neil18-223/+223
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
2017-01-22Correctly color code deleted lines starting with "--"Sven Strickroth1-1/+3
This fixes the coloring of deleted lines in which starts with "--" such as closing HTML comments ("-->"). Signed-off-by: Sven Strickroth <email@cs-ware.de>
2017-01-19Bug [#1902]. Require Matlab block comment start/end to be alone on a line.Neil1-9/+24
2017-01-14Require the first line to start with "#!" to be treated as a shebang comment.jedailey1-2/+2
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-11-27Make EDIFACT lexer work on macOS.Neil Hodgson1-0/+4
2016-11-25Feature [feature-requests:#1166]. EDIFACT lexer and folder added.Iain Clarke1-0/+315
2016-11-24Bug [#1692]. LexMatlab: update fold functions to use keywords instead of ↵John Donoghue1-38/+79
indenting. * lexers/LexMatlab.cxx (IsMatlabComment): removed unused function. (IsOctaveComment): removed unused function. (LowerCase): Added inline function. (CheckKeywordFoldPoint): New function. (FoldMatlabOctaveDoc): use style and keyword to identify fold points. (FoldMatlabDoc): Use IsMatlabCommentChar. (FoldOctaveDoc): Use IsOctaveCommentChar.
2016-11-17Subsection Folding breaks, when Comment placed between Main & Sub Sections. ↵oirfeodent1-2/+25
Bug Fix.
2016-11-15Fixed return type to match interface.Neil1-1/+1
2016-11-08LexBaan, Folds based additional inner clauses. Default is off.oirfeodent1-0/+35
2016-11-05StyleContext no longer needs mask argument.Neil2-2/+2
Remove warning suppression pragma no longer needed for Perl's StyleContext.
2016-10-27Add Subsection folding & Fix Preprocessor without spaces.oirfeodent1-11/+43
2016-10-27Fix truncation warning from Xcode.Neil Hodgson1-1/+1
2016-10-25Sections Folding option, baan specific preprocessor, declaration folding ↵oirfeodent1-76/+150
grouped. fold.baan.keywords.based adds declaration folding. Hence added fold.baan.sections property. Preprocessor does not allow space in between # and words. Lexes only defined preprocessors. Declarations are folded as well.