aboutsummaryrefslogtreecommitdiffhomepage
path: root/lexers/LexHTML.cxx
AgeCommit message (Collapse)AuthorFilesLines
2020-01-05Added Sci::make_unique() and Sci::size() for better compatibility with the ↵mitchell1-1/+1
default branch. std::make_unique() is c++14 and std::size() is c++17.
2020-01-04Backport: Define ILexerWithIdentity with methods for retrieving name, ID, ↵mitchell1-1/+7
and property values. Implement ILexerWithIdentity on object lexers. Implement ILexerWithIdentity on LexerSimple wrapper for function lexers. Backport of changeset 7870:6ffcbd42288c, but with a new interface compatible with ILexer, not ILexer5.
2019-11-17Backport: Feature [feature-requests:#1299] Make work for case sensitive mode.Zufu Liu1-1/+2
Backport of changeset 7766:11b48094a651.
2019-11-17Backport: Feature [feature-requests:#1320] Fix tag classification when '-' ↵Zufu Liu1-1/+4
present. Caused by conflict with [feature-requests:#1299]. Backport of changeset 7765:6e109af6b450.
2019-11-02Backport: Feature [feature-requests:#1299] Treat custom tags from HTML5 as ↵Zufu Liu1-0/+14
known tags. These contain "-" like "custom-tag". Backport fo changeset 7757:66cf17769808.
2019-11-02Backport: Rearrange code to allow more cases.Neil1-1/+2
Backport of changeset 7756:89efa549e9c7.
2019-11-02Backport: Format code for space before class.Zufu Liu1-0/+1
Backport of changeset 7755:1e3b4d4a32aa.
2019-11-02Backport: Feature [feature-requests:#1320] Fix non-alphabetic characters in ↵Neil1-1/+2
unknown tags. Backport of changeset 7751:5f4c6b38cb16.
2019-10-19Backport: Bug [#2128]. Add fold.xml.at.tag.open option to fold tags at the ↵Zufu Liu1-3/+24
start of the tag instead of the end. Backport of changeset 7708:54e1c9a68c7c.
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-04-19Backport: Templatize MakeUpperCase/MakeLowerCase so they work on char/int ↵Neil1-2/+2
without casts. Backport of changeset 6707:29e80e764b46.
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-09-11Backport: The Scintilla namespace is always active for internal symbols and ↵Neil1-2/+0
for the lexer and document interfaces. Backport of changeset 6388:d62863ae40a3.
2017-07-17Backport: Implement style metadata for some languages.Neil1-2/+174
Add some helper methods to SubStyles for finding style metadata of substyles. Backport of changeset 6349:f350a2543488.
2017-04-15Use bool literals true and false instead of 1 and 0.Neil1-4/+4
2016-08-03Bug [#1849]: LexHTML: Fix resuming at a script startColomban Wendling1-0/+11
The lexer can't handle getting out of some states, so make sure never to start in any of them.
2016-08-03Bug [#767]: LexHTML: Don't handle XML start inside a JavaScript stringColomban Wendling1-1/+1
2016-01-22Limit the extent of Mako line comments to finish before the line end characters.John Ehresman1-1/+1
This prevents a later assertion failure.
2015-07-30Use Sci_Position / Sci_PositionU for variables in lexers that representJoe Mueller1-36/+36
positions and line numbers and may be widened to 64-bits in a future release.
2015-07-25Use Sci_PositionU/Sci_Position for arguments to functional lexers, folders, andNeil1-4/+4
comment recognizers to allow for future implementation of 64-bit positions.
2014-07-29Fixing previous change for mako to be type-safe.Neil1-1/+1
2014-07-26Bug [#1622]. Don't crash with ## comments in Mako.Neil1-1/+7
From John Ehresman.
2014-07-16Bug [#1622]. Don't crash with SGML after a Mako comment.Neil1-1/+3
2014-05-24Removing style byte indicators.Neil1-6/+5
2014-04-29Fix some warnings instead of relying upon #pragma to hide themNeil1-2/+2
2014-04-21Avoid warning about use of bitwise operators on boolean values.Neil1-2/+2
2013-12-22Avoid unsafe strcpy, strncpy, and strcat replacing with safer functions whichNeil1-8/+9
guaranty termination where possible.
2013-12-15Format normalization - whitespace and braces made consistent.Neil1-6/+6
Parameter names added to method declarations.
2013-07-26Avoid a switch fall-through even though it makes no difference to behaviour.Neil1-0/+1
2013-07-21Replace all instances of isascii with Scintilla-specific IsASCII.Neil1-9/+9
iasascii is not part of ISO C or C++ but is a BSD extension so caused problems when compiling in strict compliance mode.
2013-03-11Bug [#1412]. Recognise a JavaScript RegExp literal in more situations.nyamatongwe1-5/+3
2013-02-23Bug: [#1447]. Interpret PHP within HTML comments.nyamatongwe1-2/+1
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
2012-08-25Long XML script tag correctly lexed. Bug #3534190.nyamatongwe1-1/+1
From Sakshi Verma.
2012-07-05LexHTML: Fix folding of CDATA blocks when fold.html.preprocessor is offColomban Wendling1-1/+1
2012-05-16Fix signed/unsigned comparison warning.nyamatongwe1-1/+1
2012-05-15Avoid assertion failure at end of PHP document.nyamatongwe1-1/+2
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-02-16Avoid switching to PHP in XML unless explicit. Bug #3488060.nyamatongwe1-1/+1
2011-12-28Fold only and all empty HTML tagsUnknown1-7/+8
2011-08-03Fixed 64-bit warnings.nyamatongwe1-6/+6
2011-06-24Support for new Mako block syntax. Feature #3325178.nyamatongwe1-10/+20
From Stephan R.A. Deibel.
2011-06-23Disable folding for mako template files. Bug #3324563.nyamatongwe1-6/+1
From Stephan R.A. Deibel.
2011-06-21Support mako ## comments. Bug #3318818.nyamatongwe1-0/+13
From Stephan R.A. Deibel.
2011-05-21Code formatting normalised to standard.nyamatongwe1-6/+5
2011-04-22Avoid warning.nyamatongwe1-1/+1