aboutsummaryrefslogtreecommitdiffhomepage
path: root/lexers
AgeCommit message (Collapse)AuthorFilesLines
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
2013-12-21rust: NULL is a valid Rust source character, so do not explicitly consider ↵SiegeLord1-4/+4
it as an error state.
2013-12-21rust: Fix highlighting of r#"""# raw string literal.SiegeLord1-3/+5
2013-12-22Avoid unsafe strcpy, strncpy, and strcat replacing with safer functions whichNeil1-8/+9
guaranty termination where possible.
2013-12-17Bug [#1564]. Keyword followed immediately by quoted string continued keyword ↵Neil1-0/+2
style.
2013-12-15Make single argument constructors explicit to avoid unexpected conversions.Neil1-2/+2
2013-12-15Format normalization - whitespace and braces made consistent.Neil6-11/+12
Parameter names added to method declarations.
2013-12-02Fixed a problem when lexing started at the start of a comment line so theNeil1-0/+1
previous character had not been set and was 0.
2013-11-18Bash: fix comment detection inside a wordColomban Wendling1-1/+7
A comment in bash is defined as "[...] a word beginning with # causes that word and all remaining characters on that line to be ignored". A word is defined as "a sequence of characters considered as a single unit by the shell"; and there is a set of metacharacters defined as "a character that, when unquoted, separates words. One of the following: | & ; ( ) < > space tab". In practice, "foo#bar" is one single word, not "foo" followed by a comment. Trickier, "foo\;#bar" is also a single word, but "foo;bar" are 2 words and a control character. So, fix the Bash lexer to check whether the character preceding the hash sign to be either a metacharacter or part of a word. A maybe better fix would be to understand the Bash conception of a word, and analyze those, but it would require a large rewrite.
2013-11-17Highlight comment doc keywords at end of document.Neil1-1/+1
2013-11-17Bug [#1551]. Doxygen keywords @code{.fileExtension} and @param[in,out] are ↵Neil1-1/+7
split. From Alpha.
2013-11-15CMake: fix continuation after empty commentsColomban Wendling1-9/+5
Fixes [bugs:#1550].
2013-11-12Fix out-of-bounds bug. Use symbolic constants instead of numbers.Neil Hodgson1-6/+9
From SiegeLord.
2013-11-07Feature [feature-requests:#962]. Improvement of folding for Fortran.Neil1-24/+79
Treats "else" as fold header. From darmar.
2013-11-07Normalize indentation to tabs.Neil1-45/+45
2013-11-04Remove local functions that are not used.Neil5-40/+0
2013-10-28Allow single quote digit separators for C++14.Neil1-0/+1
2013-10-28Added lexical class for user defined literals in C++11.Neil1-4/+19
2013-10-19Remove shadowing declarations to avoid warnings.Neil1-2/+2
2013-10-18Feature [feature-requests:#1026]. DMAP lexer added.Neil1-0/+228
From Mark Robinson.
2013-10-17Avoid namespace pollution by making lexer functions static.Neil2-4/+4
2013-10-17Feature [feature-requests:#1025]. Support multiline comments in FreeBASIC.Neil1-16/+72
From Erik.
2013-10-17Bug [#1538]. PP-line comments lost from EOL string.Neil1-1/+1
From Alpha.
2013-10-17Fix sign warning in debug code.Neil1-1/+1
2013-10-10Bug [#1528]. Perl: POD problems with multibyte characters.Neil1-4/+4
From Colomban Wendling and Kein-Hong Man.
2013-10-09Bug [#1528]. Perl: multibyte character problems.Neil1-8/+12
From Colomban Wendling and Kein-Hong Man.
2013-10-09Feature [feature-requests:#1025]. Better support for string literals and ↵Neil1-90/+124
Unicode. From Thomas Linder Puls.
2013-10-08Feature [feature-requests:#1024]. Lexer added for Rust language.Neil1-0/+768
From SiegeLord.
2013-09-26Feature [feature-requests:#1020]. Fold 'create view' statements.Neil1-31/+131
Fold on the 'AS' ... ; in `create view [name] as ... ;' From Eric Promislow.
2013-09-22Stricter checking for ctags lines in errorlist lexer.Neil1-3/+10
2013-09-05Added SCI_GETPRIMARYSTYLEFROMSTYLE.Neil1-0/+3
2013-09-05Bug [#1520]. Make SCI_GETSTYLEFROMSUBSTYLE work for secondary styles.Neil1-1/+3
2013-09-05Update Pascal lexer keywords.Marko Njezic1-10/+11
2013-09-03Added GetStyleFromSubStyle.Neil1-0/+3
Tests for this and other sub styles methods.
2013-08-17Fix CoffeeScript styles usageColomban Wendling1-71/+71
Properly use SCE_COFFEESCRIPT_..., not SCE_C_..., even if they have the same value.
2013-08-23Updated information on script location.nyamatongwe1-2/+2
2013-08-21Feature: [feature-requests:#1008]. Lexer added for KVIrc script.Neil1-0/+473
From OmegaPhil.
2013-08-08Avoid warnings for uninitialized strings.Neil3-1/+5
2013-08-07Ensure strings initialised to avoid warnings.Neil4-4/+4
2013-08-03Initialise string to avoid warnings.Neil1-1/+1
2013-08-03Bug [#1509]. ';' not styled as an operator.Neil1-14/+1
From Eric Promislow.
2013-08-03Bug [#1508]. Coloring for enumeration member malfunctions.Neil1-4/+9
From Pavel Bulochkin.
2013-07-26Avoid a switch fall-through even though it makes no difference to behaviour.Neil1-0/+1
2013-07-23Fix potential write beyond allocation found by Visual C++ analyzer.Neil2-2/+2