aboutsummaryrefslogtreecommitdiffhomepage
path: root/lexers
AgeCommit message (Collapse)AuthorFilesLines
2013-05-04* Allow arbitrary amount of # suffixes in identifiers with ↵kudah1-61/+118
lexer.haskell.allow.hash * Allow only one dot in base 10 numeric literals * Comments are now treated as whitespace by the folder * Fixed inconsistent folding at end of the file
2013-04-21* Fixed a bug when a dashes-only comment double-counted a line and could ↵kudah1-76/+148
hang the editor * Comments inside pragmas are now highlighted * Reserved operators are now highlighted
2013-04-30Bug: [#1468]. Latex highlighting breaks Unicode characters if preceeded by \.nyamatongwe1-3/+3
From Colomban Wendling.
2013-04-19* Use SCE_HA_COMMENTBLOCK2, SCE_HA_COMMENTBLOCK3kudah1-27/+68
* Implicit params * «Nice Character-lexing»
2013-04-18Fix clang warningkudah1-3/+2
2013-04-18Fold indented imports.kudah1-8/+39
2013-04-17Fixed import folding interfering with indentation foldingkudah1-2/+14
2013-04-17Removed importCurrentkudah1-6/+6
2013-04-17Removed dead assignment.nyamatongwe1-1/+0
2013-04-13Really minor refactorkudah1-13/+12
2013-04-12* Converted Haskell lexer to a classkudah1-125/+235
* Removed external lexer * Haskell lexer now folds imports
2013-04-12LexPowerShell fixes and improvementsgentoo901-2/+49
* fix here-string highlighting * add doccomment keyword highlighting * add #region folding
2013-04-09Haskell lexerkudah1-56/+203
* Fixed line counting * Fixed string escaping * Pragmas ending at start of the line are rejected (GHC only accepts pragmas with the end indented further) * Copied Python's Folder
2013-04-07Fixed few things in haskell lexerkudah1-25/+87
* MagicHash now applies to literals. * MagicHash is now only allowed at the end of identifier. * SafeHaskell imports are now highlighted (lexer.haskell.import.safe) * TemplateHaskell quoted names are now highlighted * Constructors promoted to types are now highlighted * Promoted tuples, lists, and operator constructors are now highlighted. * Qualified constructor are now properly highlighted as constructors, not operators. * Capital and qualified names in import lists are now properly highlighted. * A.$b is not properly highlighted as an operator and an identifier, not just operator. * String and preprocessor continuations now work with CRLF.
2013-04-05Fix crash in 64-bit builds due to unsigned underflow.nyamatongwe1-1/+1
2013-04-04Improvements to Haskell Lexer:kudah1-142/+209
* Added support for MagicHash extension (lexer.haskell.allow.hash) * $ and # are now colored as operators. * .0 and -0 are now properly colored as operator and a number, not as just number. * Operators starting with double dash (e.g ---->) are properly colored as operators, not comments. * Added pragma highlighting. * Added basic C-preprocessor highlighting. * Qualified names (e.g. ABC.xyz) are now properly highlighted as identifiers, not types. * Qualified operators (e.g. ABC.<$>) are now properly highlighted as operators. * Operator . is now properly highlighted as an operator, not part of the identifier, when applied to a qualified and an unqualified value (e.g. Abc.xyz.yzx <- last one is an operator) * Operators starting with ':' are now properly highlighted as type constructors, not operators. * family after data is highlighted, as per TypeFamilies.
2013-04-03Feature [#1414]. MATLAB/Octave style block comments.nyamatongwe1-10/+77
From John Donoghue.
2013-04-01Reduce scope of variable.nyamatongwe1-2/+1
2013-03-18Bug: [#1454]. Reject raw strings when character after " is in " )\\\t\v\f\n".nyamatongwe1-1/+3
See C++11 standard 2.14.5 String literals.
2013-03-11Bug [#1412]. Recognise a JavaScript RegExp literal in more situations.nyamatongwe1-5/+3
2013-03-07Bug: [#482]. Refix to make /// comment not affect folding of following /* ↵nyamatongwe1-3/+7
comment.
2013-02-23Bug: [#1447]. Interpret PHP within HTML comments.nyamatongwe1-2/+1
2013-02-22Longer name for new errorlist lexer state.nyamatongwe1-1/+1
2013-02-21Feature: [#978]. Update preprocessor defines upon encountering an #undef ↵nyamatongwe1-3/+19
directive. From Alpha.
2013-02-20Recognise GCC include path diagnostics that appear before an error.nyamatongwe1-0/+4
2013-02-20Removed function that is no longer used.nyamatongwe1-5/+0
2013-02-20Bug: [#1447]. Don't interrupt HTML comment for XML Processing Instruction.nyamatongwe1-0/+1
2013-01-30Fix clang --analyze warnings.nyamatongwe1-2/+2
2013-01-11Add folding support to the GetText (PO) lexerColomban Wendling1-1/+65
2013-01-19Implement Unicode line ends and substyles in C++ lexer.nyamatongwe1-21/+72
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