aboutsummaryrefslogtreecommitdiffhomepage
path: root/lexers
AgeCommit message (Collapse)AuthorFilesLines
2014-07-29Rust: Highlight byte-string literals.SiegeLord1-22/+42
This adds support for two new string literals and one new string literal, corresponding to the existing versions of these. Compared to the originals, the new literals have slightly different escapes and are ASCII only. I've decided to simply add flags to the existing scanners to handle them. New styles had to be added to handle the line spanning string literals. The byte character style was added for consistency.
2014-07-29Rust: Allow escaping naked CR in strings.SiegeLord1-1/+1
2014-07-29Rust: Update hashbang comment syntax.SiegeLord1-1/+1
Hashbang comments that start with the following 3 characters: #![ do not count as hashbang comments, but rather some other syntax (inner attribute).
2014-07-30Ruby: fix theoretical missing assignment and remove dead oneColomban Wendling1-1/+1
2014-07-29Allow identifier suffix = in Ruby symbol literalsColomban Wendling1-1/+6
See comments in bug [#1627] for some details.
2014-07-29Allow global/class/instance variables as Ruby symbol literalsColomban Wendling1-0/+25
See comments in bug [#1627] for some details.
2014-07-29Bug [#1627]. Allow FIDs as Ruby symbol literalsColomban Wendling1-1/+5
2014-07-29Fixing previous change for mako to be type-safe.Neil1-1/+1
2014-07-26Bug [#1622]. Don't crash with ## comments in Mako.Neil1-1/+7
From John Ehresman.
2014-07-16Bug [#1622]. Don't crash with SGML after a Mako comment.Neil1-1/+3
2014-07-08Feature [feature-requests:#1053]. Add a block comment state.Neil1-0/+7
2014-06-22Add missing comma.XhmikosR1-1/+1
2014-06-19Bug [#1614]. Don't crash on incomplete macro definition "#define x(".Neil Hodgson1-1/+3
2014-06-02Bug [#1605]. Fix fold matching problem caused by "<<<".Neil1-1/+10
From Kein-Hong Man.
2014-05-31Safer handling of "#define X" which caused fault in debug build with Visual C++.Neil1-1/+1
2014-05-24Header include statements are now in a standardised order with that orderNeil9-11/+11
defined in scripts/HeaderOrder.txt.
2014-05-24Removing style byte indicators.Neil4-11/+9
2014-05-24Removing use of style byte indicator in Scriptol lexer.Neil1-31/+1
2014-05-24Removing use of style byte indicator in PostScript lexer.Neil1-22/+6
2014-05-24Moving declaration inside loop to prevent a 'scope can be reduced' warning.Neil1-2/+1
2014-05-24Fix raw string recognition so that R"xxx(blah)xxx" is styled as SCE_C_STRINGRAW.Neil1-3/+11
2014-01-20Fix typos in comments (lexers)Stefan Weil5-8/+8
2014-05-14Limit iterations when expanding macros in case a macro is recursive such asNeil1-1/+4
#define MAC(x) MAC(x+1) Also fixes macros that are co-recursive with other macros.
2014-05-13Feature [feature-requests:#1051]. Fixed shadowed local variable.Neil1-1/+1
2014-05-12Feature [feature-requests:#1051]. Support #if defined SYMBOL.Neil1-94/+252
Previously required braces around like #if defined(SYMBOL). Also understand macros with arguments such as version checking macros like #if GTK_CHECK_VERSION(2,22,0)
2014-05-02Add missing not sign to fix DMIS label highlightingAndreas Tscharner1-1/+1
2014-05-02DMIS Minor words can also start with the digits 2, 3 or 4Andreas Tscharner1-1/+1
2014-04-29Fix some warnings instead of relying upon #pragma to hide themNeil3-5/+5
2014-04-29Feature [feature-requests:#1049]. Lexer added for DMIS, a language for ↵Neil1-0/+355
coordinate measuring machines. From Andreas Tscharner.
2014-04-21Avoid warning about use of bitwise operators on boolean values.Neil1-2/+2
2014-04-19Use an unnamed namespace instead of static as classes and structs can't be ↵Neil1-9/+14
static.
2014-04-19Optionally highlight escape sequences in strings as SCE_C_ESCAPESEQUENCE.Neil1-2/+62
From nkmathew.
2014-04-14Fix write one past array end bug.Neil1-2/+3
2014-04-03Feature [feature-requests:#1047]. Supports Go back quoted raw string ↵Neil1-0/+9
literals with lexer.cpp.backquoted.strings option. From Eric Promislow.
2014-04-03C++ lexer can highlight task marker keywords in comments as SCE_C_TASKMARKER.Neil1-0/+42
From nkmathew.
2014-03-17Avoid warning about excessive variable scope.Neil1-2/+1
2014-03-17Bug [#1583]. Fix styling 0...myArray.length all as a number.Neil1-1/+1
From Alpha.
2014-03-17Bug [#1583]. Fix keyword style extending past end of word.Neil1-0/+7
From Alpha.
2014-03-14Assembler lexer variant As(SCLEX_AS) for Unix assembly code which uses '#'Neil1-3/+10
for comments and ';' to separate statements. From nkmathew.
2014-02-06Avoid warning for excessive variable scope.Neil1-2/+1
2014-02-06Fix crashes and other bugs by removing folding of do-label constructs.Neil1-32/+7
2014-02-02Avoid warnings.Neil2-8/+8
2014-01-19Avoid warnings for potential read from uninitialised buffer.Neil1-1/+1
2014-01-18Support octave vs matlab '!' handlingJohn Donoghue1-4/+9
* lexers/LexMatlab.cxx (ColouriseMatlabOctaveDocument): Add ismatlab boolean to function, and on getting the '!', check if matlab to set as a command vs operator. (ColouriseMatlabDoc): use true for call to ColouriseMatlabOctaveDocument. (ColouriseOctaveDoc): use false for call to ColouriseMatlabOctaveDocument.
2014-01-11Rust: Make lexing of float literals more correct.SiegeLord1-21/+23
2014-01-08Feature [feature-requests:#1041]. Highlight hex, octal, and binary numbers ↵Neil1-2/+2
in FreeBASIC which use the prefixes &h, &o and &b respectively. From Ebben.
2013-12-21rust: Implement nested block commentsSiegeLord1-18/+28
2013-12-21rust: Make the doc-comment detection more strict (and consistent with new ↵SiegeLord1-25/+18
Rust compiler rules)
2013-12-21rust: Highlight octal literalsSiegeLord1-0/+3
2013-12-21Fix whitespace in LexRust.cxxSiegeLord1-10/+10