aboutsummaryrefslogtreecommitdiffhomepage
path: root/lexers
AgeCommit message (Collapse)AuthorFilesLines
2019-03-23Simplified preprocessor conditional styling code, renamed 'active' to 'inactive'Neil1-33/+63
as that is more correct, added comments and helper methods, removed lines that had no effect. Behaviour unaltered.
2019-03-23Fix warnings from MSVC Code Analysis.Neil1-35/+44
2019-03-09Feature [feature-requests:#1268]. Improve the styling of numbers in NimJad Altahan1-13/+7
Improvements for SCE_NIM_NUMBER.
2019-02-28Feature [feature-requests:#1265]. Common Intermediate Language (CIL) lexer.Jed Altahan1-0/+404
2019-02-02Feature [feature-requests:#1262]. Enhance raw string identifier styling in NimJad Altahan1-1/+25
Adds property 'lexer.nim.raw.strings.highlight.ident'.
2019-01-30Feature [feature-requests:#1261]. Enhance the styling of backticks in NimJad Altahan1-4/+19
2019-01-29Bug [#1947]. Fix recognizing '"' after "," inside a bracketed substitution.Neil1-1/+3
2019-01-29Feature [feature-requests:#1260]. Fix inconsistency with dot styling in Nim.Jad Altahan1-2/+6
2019-01-23Feature [feature-requests:#1258]. Add function IsFuncName() to Nim lexer.Jad Altahan1-11/+21
2019-01-15Treat "#if(" as preprocessor directive "#if" followed by operator "(".Neil1-1/+1
2019-01-13Feature [feature-requests:#1254]. Fix bug causing fold line creation in commentsJad Altahan1-5/+6
2019-01-13Feature [feature-requests:#1253]. Critical fixes for raw stringsJad Altahan1-7/+56
2019-01-06Feature [feature-requests:#1251]. Properly ignore backslash in raw strings.Jad Altahan1-2/+7
2019-01-05Modernize errorlist lexer a little - unnamed namespace, reducing variable scope,Neil1-20/+19
nullptr, constexpr, noexcept.
2019-01-05Recognize negative line numbers in GCC-format messages.Neil1-1/+1
Cppcheck shows some whole-file errors as line -1.
2018-12-12Feature [feature-requests:#1247]. Handles message groups as well as messages.Iain Clarke1-31/+78
2018-12-12Bug [#2069]. LexerCPP: modernize int to std::string conversionJannick1-3/+1
* LexCPP.cxx (LexerCPP::EvaluateTokens): Use std::to_string to convert int to std::string.
2018-12-12Bug [#2069]. LexCPP: fix bug in arithmetic calculation by adding precedence ↵Jannick1-5/+9
levels The precedence for the implemented arithmetic operators +,-,%,*,/ is added, such that the calculations produce the correct results honoring the standard precedence levels. * Replace characterset setArithmeticOp by setAddOp and setMultOp. * Replace precedence precArithmetic by precMult and precAdd * (EvaluateTokens): Apply new precedences. This fixes the bug in the arithmetic calculation: // lines with 'false' should not be highlighted, // those with 'true' should be. #if 1 + 2 * 3 == 9 false #endif #if (1 + 2) * 3 == 9 true #endif #if 1 + 2 * 3 == 7 true #endif #if 1 == 5 % 2 true #endif #if 6 - 7 == -1 true #endif #if 25 / 5 * 5 == 25 true #endif #if 1 + 2 * 3 % 2 == 1 true #endif #if 1 + 2 * 3 % 2 == 2 + 1 false #endif
2018-12-04Bug [#2062]. Interpret continued preprocessor lines correctly by reading all ofNeil1-10/+20
the logical line.
2018-11-28Move functions to unnamed namespaceJad Altahan1-101/+106
2018-11-28Removed description of fold.comment as it is shared with other lexers and theNeil1-2/+1
desription from LexCPP.cxx takes precedence.
2018-11-28Bug [#2054]. Reimplemented as an object lexer to support substyles for multipleKacper Kasper1-44/+221
sets of keywords and SCI_PROPERTYNAMES.
2018-11-21Changes to IsNumOctal & SCE_NIM_IDENTIFIERJad Altahan1-5/+5
- Removed 0c/0C prefix in IsNumOctal(). Not supported. - Added upper-case type suffixes in SCE_NIM_NUMBER. They are case-insensitive.
2018-11-21Feature [feature-requests:#1242]. Add lexer for NimJad Altahan1-0/+701
2018-11-18Bug [#2059]. Update URL in comment.Neil1-1/+1
2018-09-24Bug [#2045]. LexCPP: Fix 'elif' token lengthhuki1-1/+1
2018-09-20Fix highlighting of non-ASCII characters in links.maboroshin1-30/+30
2018-09-18Guard against shifting by negative amount as that is undefined behaviour.Neil Hodgson2-2/+10
2018-09-18Initialize variables to ensure no undefined behaviour.Neil Hodgson1-4/+4
2018-09-04Feature [feature-requests:#1144]. Add folding for shell if, do, and case.Colomban Wendling1-0/+15
Implemented by Zufu Liu and Colomban Wendling.
2018-06-21Feature [feature-requests:#1185]. Add lexers for SAS and Stata.Luke Rasmussen2-0/+423
2018-06-04Use const and noexcept, initialize, avoid casts and improve variable name.Neil1-29/+29
2018-06-04Use lambda in preference to function object.Neil1-10/+2
2018-05-28Add styles for diffs containing patches.Andreas Rönnquist1-0/+8
2018-05-23Replace C-style casts with C++ casts. Use const.Neil1-21/+21
2018-05-23Change from function to object lexer. Use string and set types to simplify code.Neil1-212/+307
2018-05-22Move static functions into anonymous namespace and drop "static".Neil1-225/+225
Move data tables to end of local functions. These changes have no strong effect - this change set just tries to simplify the following change set which makes more significant changes.
2018-05-16Use standard library function.Neil1-1/+2
2018-05-06Feature [feature-requests:#1166]. Property lexer.edifact.highlight.un.allIain Clarke1-10/+28
highlights UN* segments.
2018-05-02Add "change team" and "endteam" folding terms.darmar1-1/+3
2018-04-23Remove include of Platform.h that is not used by the CoffeeScript lexer as thatNeil1-1/+0
makes it more difficult to change Platform.h.
2018-04-19Templatize MakeUpperCase/MakeLowerCase so they work on char/int without casts.Neil1-2/+2
2018-04-14Undo some changes that snuck in the last change set.Neil1-7/+7
2018-04-14Make some changes recommended by clang-tidy.Neil Hodgson2-13/+14
2018-03-16Remove line-end white space.Neil7-26/+26
2018-03-08Fix relexing from inside multiline comments.Gunter Königsmann1-9/+17
Fix some warnings.
2018-03-08Bug [#1952]. Match identifier chains with dots and colons.Kein-Hong Man1-56/+94
2018-03-06Feature [feature-requests:#1210]. Maxima lexer added.Gunter Königsmann1-0/+214
2018-01-02[Bug #1985] Add 'while' keyword to Matlab lexer keywords that start a fold blockJohn Donoghue1-0/+1
* lexers/LexMatlab.cxx (CheckKeywordFoldPoint): add check for while keyword
2017-11-05Stop treating '\' as an escape character in strings.Vicente1-7/+26
Detect character literals and assign SCE_VHDL_STRING to them.