aboutsummaryrefslogtreecommitdiffhomepage
path: root/lexers/LexCPP.cxx
AgeCommit message (Collapse)AuthorFilesLines
2016-11-05StyleContext no longer needs mask argument.Neil1-1/+1
Remove warning suppression pragma no longer needed for Perl's StyleContext.
2016-08-30Feature [feature-requests:#210]. Allow folding on #else and #elif.Neil1-2/+13
2016-08-20Use const reference parameter when it can prevent extra copies.Neil1-1/+1
2016-04-23Fix a bug with multi-line strings with line continuation where the string styleActiveState1-0/+3
overflowed after an edit.
2016-03-03CPP: Add support for folding on `(` and `)`Colomban Wendling1-2/+2
Feature [feature-requests:#1138].
2015-11-20Remove line end whitespace.Neil1-3/+3
2015-07-30Use Sci_Position / Sci_PositionU for variables in lexers that representJoe Mueller1-28/+28
positions and line numbers and may be widened to 64-bits in a future release.
2015-07-20Use Sci_Position when required to implement interfaces.Neil1-8/+8
2015-05-12Bug [#1719]. Fix #undef directive.Neil1-3/+2
2015-04-22Fix highlighting empty backquote strings (``) in cpp lexerJiří Techet1-1/+0
The sc.Forward() is performed once more at the end of the function and performing it here causes the second ` is skipped in ``. Probably caused by copy-pasting the code above and not realizing this one reads just a single character.
2015-02-19Implement lexer.cpp.verbatim.strings.allow.escapes.Neil Hodgson1-1/+8
2014-11-28LexCPP: Also fold on square bracketsColomban Wendling1-2/+2
This allows to fold on array literals for languages like JavaScript that use square brackets to declare array literals. This should not change much for languages that only use square brackets for array indexation as the large majority of the time the open and close brackets are placed on the same line in these cases.
2014-06-19Bug [#1614]. Don't crash on incomplete macro definition "#define x(".Neil Hodgson1-1/+3
2014-05-31Safer handling of "#define X" which caused fault in debug build with Visual C++.Neil1-1/+1
2014-05-24Header include statements are now in a standardised order with that orderNeil1-1/+1
defined in scripts/HeaderOrder.txt.
2014-05-24Fix raw string recognition so that R"xxx(blah)xxx" is styled as SCE_C_STRINGRAW.Neil1-3/+11
2014-01-20Fix typos in comments (lexers)Stefan Weil1-2/+2
2014-05-14Limit iterations when expanding macros in case a macro is recursive such asNeil1-1/+4
#define MAC(x) MAC(x+1) Also fixes macros that are co-recursive with other macros.
2014-05-13Feature [feature-requests:#1051]. Fixed shadowed local variable.Neil1-1/+1
2014-05-12Feature [feature-requests:#1051]. Support #if defined SYMBOL.Neil1-94/+252
Previously required braces around like #if defined(SYMBOL). Also understand macros with arguments such as version checking macros like #if GTK_CHECK_VERSION(2,22,0)
2014-04-29Fix some warnings instead of relying upon #pragma to hide themNeil1-2/+2
2014-04-19Use an unnamed namespace instead of static as classes and structs can't be ↵Neil1-9/+14
static.
2014-04-19Optionally highlight escape sequences in strings as SCE_C_ESCAPESEQUENCE.Neil1-2/+62
From nkmathew.
2014-04-14Fix write one past array end bug.Neil1-2/+3
2014-04-03Feature [feature-requests:#1047]. Supports Go back quoted raw string ↵Neil1-0/+9
literals with lexer.cpp.backquoted.strings option. From Eric Promislow.
2014-04-03C++ lexer can highlight task marker keywords in comments as SCE_C_TASKMARKER.Neil1-0/+42
From nkmathew.
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.Neil1-1/+1
Parameter names added to method declarations.
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-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-17Bug [#1538]. PP-line comments lost from EOL string.Neil1-1/+1
From Alpha.
2013-09-05Added SCI_GETPRIMARYSTYLEFROMSTYLE.Neil1-0/+3
2013-09-05Bug [#1520]. Make SCI_GETSTYLEFROMSUBSTYLE work for secondary styles.Neil1-1/+3
2013-09-03Added GetStyleFromSubStyle.Neil1-0/+3
Tests for this and other sub styles methods.
2013-05-24Made methods const where they can be and are logically const as well.nyamatongwe1-2/+2
2013-05-16Feature: [feature-requests:#990]. Fix for #define foo /**/nyamatongwe1-1/+0
From Alpha.
2013-05-15Feature: [feature-requests:#990]. Style added for preprocessor doc comment.nyamatongwe1-2/+8
From Alpha.
2013-05-08Hide implementation of WordList.nyamatongwe1-3/+3
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-07Bug: [#482]. Refix to make /// comment not affect folding of following /* ↵nyamatongwe1-3/+7
comment.
2013-02-21Feature: [#978]. Update preprocessor defines upon encountering an #undef ↵nyamatongwe1-3/+19
directive. From Alpha.
2013-01-19Implement Unicode line ends and substyles in C++ lexer.nyamatongwe1-21/+72
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(-)