aboutsummaryrefslogtreecommitdiffhomepage
path: root/lexers
AgeCommit message (Collapse)AuthorFilesLines
2013-01-11Feature: [#970]. Latex folding and better syntax highlighting.nyamatongwe2-297/+539
From G. Hu.
2013-01-10Updated to style hidden commands differently.nyamatongwe1-69/+116
From Mike Lischke.
2012-12-30Fix parsing of JavaScript regular expressions containing a delimiter in a rangeColomban Wendling1-6/+11
Regular expression "/[/]/" is valid, the second "/" being escaped by the character range ("[]"). Also, escape any \-prefixed character, including "[" and "]".
2012-12-30Bug #3578824. Ignore comments when evaluating preprocessor expressions.nyamatongwe1-1/+4
From Isiledhel.
2012-12-30Bug #3578824. Avoid crashes due to char being signed so negative for non-ASCII.nyamatongwe1-5/+5
From Isiledhel.
2012-10-11LexCPP: recognize hexadecimal floating point binary exponentsColomban Wendling1-1/+3
--- lexers/LexCPP.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
2012-09-25Fix bad folding with CASE statement when it is used for assignment.Jerome LAFORGE1-15/+13
Reported by : Erik Sinde Bug #3571820
2012-09-19Handle nested delimiter pairs. Feature #3569352.nyamatongwe1-7/+124
Bugs #1515556, #3008483, #3512208, #3515392. From Kein-Hong Man.
2012-09-16Fix multiple issues with Bash lexing and folding. Bug #3526563.nyamatongwe1-5/+20
From Kein-Hong Man. - fixed SCE_PL_DEFAULT constant reported by Matthew Brush - backtracks to previous line if necessary to resolve refresh issues for multiline segments (this SF bug 3526563) - properly refreshes HERE document body and code following it when HERE delimiter is changed - HERE delimiter with no ending quote is properly highlighted as an error, this did not previously work - leading spaces highlighted properly in quoted HERE delimiters - recognizes '' and "" HERE delimiters to match blank lines
2012-09-15Fix bad folding block when LOOP statement nested into CASE statement.Jerome LAFORGE1-2/+3
Bug #3567905.
2012-09-14Recognize Ruby HereDoc after an instance or class variableColomban Wendling1-1/+6
This fixes highlighting HereDoc in constructs like this: @foo.concat <<END ... END
2012-09-13Fix folding of "for" Ruby loopsColomban Wendling1-2/+5
The "for" loops can end with a "do" keyword, and this "do" shouldn't start its own scope.
2012-09-13Remove duplicated branch in PO lexerColomban Wendling1-2/+1
2012-09-13Move PO lexer out of LexOthersColomban Wendling2-112/+150
2012-09-08Rewrite the GetText translation (po) lexerColomban Wendling1-66/+105
The old one had a few bugs and was somewhat limited, this one should hopefully fix the issues. The new one should behave like the old one but adding some more styles and following better the file format.
2012-09-04Don't treat '//' in include path as comment start. Bug #3519260.nyamatongwe1-3/+8
From Sakshi Verma.
2012-08-25Long XML script tag correctly lexed. Bug #3534190.nyamatongwe1-1/+1
From Sakshi Verma.
2012-08-23Initialize strings to avoid warnings from Clang Analyze.nyamatongwe2-2/+2
2012-08-17Ensure variable NUL terminated and limit its scope.nyamatongwe1-1/+1
Avoids warning from Visual C++ code analysis.
2012-07-29Extra checks to stop Clang analyze warnings.nyamatongwe1-8/+10
2012-07-10Turn off '$' when lexer.cpp.allow.dollars changes to 0. Bug #3541461.nyamatongwe1-1/+6
2012-07-05LexHTML: Fix folding of CDATA blocks when fold.html.preprocessor is offColomban Wendling1-1/+1
2012-07-09Bugs #3540486, #3087226, #2906275, #2809176.nyamatongwe1-10/+23
Style fixed format comments from column 73. Bug #3540486. Fold CRITICAL .. END CRITICAL. Bug #3540486. Fix styling after comment line ending with '&'. Bug #3087226. Style preprocessor lines so they do not trigger incorrect folding. Bug #2906275. Fix folding of nested ifs. Bug #2809176. From darmar.
2012-06-22Bug #3487406. New style SCE_C_PREPROCESSORCOMMENT for stream commentsnyamatongwe1-2/+14
inside preprocessor directives. Includes code from Marko Njezic.
2012-06-22Prevent empty lines from continuing preprocessor style.nyamatongwe1-3/+4
2012-06-09support LESS/HSSpelsass1-8/+21
2012-06-08Bug #3533036. Properly mask state when determining previousMarko Njezic1-1/+1
non whitespace character and counting visible characters in line.
2012-05-16Fix signed/unsigned comparison warning.nyamatongwe1-1/+1
2012-05-15Avoid assertion failure at end of PHP document.nyamatongwe1-1/+2
2012-05-10Lexer added for Visual Prolog. Feature #3523018.nyamatongwe1-0/+470
From Thomas Linder Puls.
2012-05-09OScript lexer by Ferdinand Prantl added. Feature #3523018.nyamatongwe1-0/+548
2012-05-05Make destructors virtual to avoid warnings from g++ 4.7.nyamatongwe6-5/+7
2012-04-21Fix problem where PHP sequence stops backtracking to tag start. Bug #3520027.nyamatongwe1-3/+4
Now backtracks by whole lines until not inside tag.
2012-04-21Fix problem with JavaScript /*/ which starts a comment. Bug #3520032.nyamatongwe1-0/+4
2012-03-29Fixed a bug with the bash lexer's handling of singly-quoted strings. SF Bug ↵James Ribe1-2/+9
Tracker ID: 3512208
2012-03-22Bug #3509317. Properly mask state when re-lexing. Remove dead code.Marko Njezic1-12/+7
2012-03-22Use SparseState instead of std::vector.Jerome LAFORGE1-12/+4
Cleaning dead code. Feature #3510158.
2012-03-21Bug #3508602. Avoid hang with diff files. From zenico.nyamatongwe1-5/+16
2012-03-13Improvement of folding for CASE/MERGE statement.Jerome LAFORGE1-24/+72
Bug #3503277.
2012-03-11Manage MERGE statement like CASE statement.Jerome LAFORGE1-3/+31
Bug #3499664.
2012-02-28Bug #3495445. Properly mask restored state after processing keywords in documentMarko Njezic1-1/+1
comment that's inside disabled preprocessor macro.
2012-02-25Fix dead code warnings from Xcode Analyze.nyamatongwe2-4/+1
2012-02-23Fix warning from PVS-Studio that could have trated non-operators as ↵nyamatongwe1-1/+1
operators for folding.
2012-02-19Enable differentiation of --! bang comments as this was disabled by poorlynyamatongwe1-3/+0
written code. Noticed by PVS-Studio.
2012-02-18Lexer added for ECL language. Feature #3488209.nyamatongwe1-0/+512
2012-02-17Ensure start of string always initialized to avoid warning from Xcode analyze.nyamatongwe1-0/+1
2012-02-16Avoid switching to PHP in XML unless explicit. Bug #3488060.nyamatongwe1-1/+1
2012-02-09LexPascal folding improvements:Marko Njezic1-0/+20
- Ignore forward interface declarations as fold points - Fold dispinterface code blocks
2012-01-23Lexer for AviSynth from Bruno Barbieri. Feature #3475611.nyamatongwe1-0/+293
2012-01-23Better handling of data URLs by maintaining state until a ')' marks their end.nyamatongwe1-8/+19
From Ross McKay.