aboutsummaryrefslogtreecommitdiffhomepage
path: root/lexers
AgeCommit message (Collapse)AuthorFilesLines
2019-01-06Backport: Feature [feature-requests:#1251]. Properly ignore backslash in raw ↵Jad Altahan1-2/+7
strings. Backport of changeset 7193:c7115cdddcfe.
2019-01-05Backport: Modernize errorlist lexer a little - unnamed namespace, reducing ↵Neil1-20/+19
variable scope, nullptr, constexpr, noexcept. Backport of changeset 7192:eed22a260842.
2019-01-05Backport: Recognize negative line numbers in GCC-format messages.Neil1-1/+1
Cppcheck shows some whole-file errors as line -1. Backport of changeset 7191:c9ef21df2e3c.
2018-12-12Backport: Feature [feature-requests:#1247]. Handles message groups as well ↵Iain Clarke1-31/+78
as messages. Backport of changeset 7186:8849447859eb.
2018-12-12Backport: Bug [#2069]. LexerCPP: modernize int to std::string conversionJannick1-3/+1
* LexCPP.cxx (LexerCPP::EvaluateTokens): Use std::to_string to convert int to std::string. Backport of changeset 7185:bff457790150.
2018-12-12Backport: Bug [#2069]. LexCPP: fix bug in arithmetic calculation by adding ↵Jannick1-5/+9
precedence 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 Backport of changeset 7184:48861f53f719.
2018-12-04Backport: Bug [#2062]. Interpret continued preprocessor lines correctly by ↵Neil1-10/+20
reading all of the logical line. Backport of changeset 7182:a40b6aac5b1f.
2018-11-28Backport: Move functions to unnamed namespaceJad Altahan1-101/+106
Backport of changeset 7180:473d0b0941fb.
2018-11-28Backport: Removed description of fold.comment as it is shared with other ↵Neil1-2/+1
lexers and the desription from LexCPP.cxx takes precedence. Backport of changeset 7179:16fd3ed0b26d.
2018-11-28Backport: Bug [#2054]. Reimplemented as an object lexer to support substyles ↵Kacper Kasper1-44/+221
for multiple sets of keywords and SCI_PROPERTYNAMES. Backport of changeset 7178:a581d5f71f49.
2019-01-12Fixed LexNim backport error.mitchell1-2/+2
2018-11-21Backport: Changes 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. Backport of changeset 7174:caa5c5b342a1.
2018-11-21Backport: Feature [feature-requests:#1242]. Add lexer for NimJad Altahan1-0/+701
Backport of changeset 7173:3e6cf75864cc.
2018-11-18Backport: Bug [#2059]. Update URL in comment.Neil1-1/+1
Backport of changeset 7170:6a7abb3a43c7.
2018-09-24Backport: Bug [#2045]. LexCPP: Fix 'elif' token lengthhuki1-1/+1
Backport of changeset 7094:fa4b41e8a452.
2018-09-20Backport: Fix highlighting of non-ASCII characters in links.maboroshin1-30/+30
Backport of changeset 7092:a55c26c645f8.
2018-09-18Backport: Guard against shifting by negative amount as that is undefined ↵Neil Hodgson2-2/+10
behaviour. Backport of changeset 7090:041e498f21d3.
2018-09-18Backport: Initialize variables to ensure no undefined behaviour.Neil Hodgson1-4/+4
Backport of changeset 7089:d9edff9c928d.
2018-09-04Backport: Feature [feature-requests:#1144]. Add folding for shell if, do, ↵Colomban Wendling1-0/+15
and case. Implemented by Zufu Liu and Colomban Wendling. Backport of changeset 7078:54561e3cbdff.
2018-06-21Backport: Feature [feature-requests:#1185]. Add lexers for SAS and Stata.Luke Rasmussen2-0/+423
Backport of changeset 7056:974bc87e0696.
2018-06-04Backport: Use const and noexcept, initialize, avoid casts and improve ↵Neil1-29/+29
variable name. Backport of changeset 7020:9e7cc77d3970.
2018-06-04Backport: Use lambda in preference to function object.Neil1-10/+2
Backport of changeset 7019:6023ccf7f06c.
2018-05-28Backport: Add styles for diffs containing patches.Andreas Rönnquist1-0/+8
Backport of changeset 7004:a1f932ccdee6.
2018-05-23Backport: Replace C-style casts with C++ casts. Use const.Neil1-21/+21
Backport of changeset 6969:6f765b942713.
2018-05-25Backport: Change from function to object lexer. Use string and set types to ↵mitchell1-211/+307
simplify code. Backport of changeset 6968:a57461cd09a0.
2018-05-22Backport: Move 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. Backport of changeset 6967:ca223744bb0c.
2018-05-16Backport: Use standard library function.Neil1-1/+2
Backport of changeset 6954:e8727d804074.
2018-05-07Updated LPeg lexer with PropSetSimple.h changes introduced recently.mitchell1-6/+10
2018-05-06Backport: Feature [feature-requests:#1166]. Property ↵Iain Clarke1-10/+28
lexer.edifact.highlight.un.all highlights UN* segments. Backport of changeset 6923:5f511df4fe9f.
2018-05-02Backport: Add "change team" and "endteam" folding terms.darmar1-1/+3
Backport of changeset 6781:6ededeebe34c.
2018-04-23Backport: Remove include of Platform.h that is not used by the CoffeeScript ↵Neil1-1/+0
lexer as that makes it more difficult to change Platform.h. Backport of changeset 6732:6bdd215bedf9.
2018-04-19Backport: Templatize MakeUpperCase/MakeLowerCase so they work on char/int ↵Neil1-2/+2
without casts. Backport of changeset 6707:29e80e764b46.
2018-04-14Backport: Undo some changes that snuck in the last change set.Neil1-7/+7
Backport of changeset 6688:281d0952d89b.
2018-05-05Backport: Make some changes recommended by clang-tidy.mitchell2-13/+14
Backport of changeset 6687:4cbf987c7590.
2018-03-25Fixed LPeg lexer incorrectly applying style changes to stale property sets.mitchell1-6/+11
Also, when manually updating the default style, call SCI_STYLECLEARALL in order for subsequent style updates to inherit from the default style.
2018-03-16Backport: Remove line-end white space.Neil6-23/+23
Backport of changeset 6625:2dd6b8049c4e.
2018-03-16Fixed compiler warnings in LPeg lexer.mitchell1-8/+7
2018-03-08Backport: Fix relexing from inside multiline comments.Gunter Königsmann1-9/+17
Fix some warnings. Backport of changeset 6479:065b6d800991.
2018-03-08Backport: Bug [#1952]. Match identifier chains with dots and colons.Kein-Hong Man1-56/+94
Backport of changeset 6475:8fb85a29591f.
2018-03-06Backport: Feature [feature-requests:#1210]. Maxima lexer added.Gunter Königsmann1-0/+214
Backport of changeset 6474:7a2aeece58b6.
2018-01-02Backport: [Bug #1985] Add 'while' keyword to Matlab lexer keywords that ↵John Donoghue1-0/+1
start a fold block * lexers/LexMatlab.cxx (CheckKeywordFoldPoint): add check for while keyword Backport of changeset 6423:0fc72517fb07.
2017-11-05Backport: Stop treating '\' as an escape character in strings.Vicente1-7/+26
Detect character literals and assign SCE_VHDL_STRING to them. Backport of changeset 6415:2407bf63ca01.
2017-11-05Backport: Indent more uniformly with spaces instead of tabs.Vicente1-34/+34
Backport of changeset 6414:5f0b123ccdee.
2017-10-26Backport: Fix nested Django tags inside a comment breaking highlighting of ↵Stephan Deibel1-1/+1
rest of file. Backport of changeset 6408:9b831c859b2e.
2017-10-15Backport: Bug [#1977]. Folder treats triple-quoted f-strings like ↵Zufu Liu1-3/+3
triple-quoted strings. Backport of changeset 6399:2a06100a1fdc.
2017-09-25Backport: Avoiding comma operator warnings from Clang in lexers.Neil Hodgson3-5/+15
Backport of changeset 6395:1ca06526aa8e.
2017-09-15Backport: Bug [#1972]. Change encoding used in comments to UTF-8.Zufu Liu4-4/+8
Backport of changeset 6392:dd15228b06e7.
2018-03-15Use active Scintilla namespace in LPeg lexer.mitchell1-4/+0
2017-09-11Backport: The Scintilla namespace is always active for internal symbols and ↵Neil105-210/+0
for the lexer and document interfaces. Backport of changeset 6388:d62863ae40a3.
2017-09-01Backport: Use "Falls through" comments to avoid warnings from GCC 7.1.Neil Hodgson6-0/+8
Backport of changeset 6387:4ad398cbd71f.