D9127: Highlighting indexer: Check DetectChar and Detect2Chars
Dominik Haumann
noreply at phabricator.kde.org
Sun Dec 3 13:34:18 UTC 2017
dhaumann created this revision.
dhaumann added a reviewer: vkrause.
Restricted Application added a project: Frameworks.
Restricted Application added a subscriber: Frameworks.
REVISION SUMMARY
Raise a warning on the console in case of DetectChar or
Detect2Chars have more that one char contents.
Detected issues that need to be fixed:
checkSingleChars: "syntax/dot.xml" line 130 'char1' must contain exactly one char: "\\\\"
checkSingleChars: "syntax/isocpp.xml" line 417 'char' must contain exactly one char: "\\\\"
checkSingleChars: "syntax/kbasic.xml" line 73 'char' must contain exactly one char: "quot;"
checkSingleChars: "syntax/roff.xml" line 43 'char' must contain exactly one char: "\\\\"
checkSingleChars: "syntax/roff.xml" line 53 'char1' must contain exactly one char: "\\\\"
checkSingleChars: "syntax/roff.xml" line 65 'char' must contain exactly one char: "\\\\"
checkSingleChars: "syntax/roff.xml" line 106 'char1' must contain exactly one char: "\\\\"
checkSingleChars: "syntax/tcsh.xml" line 686 'char' must contain exactly one char: "\\s"
checkSingleChars: "syntax/xmldebug.xml" line 130 'char' must contain exactly one char: "\"(\\s+|$)"
checkSingleChars: "syntax/xmldebug.xml" line 135 'char' must contain exactly one char: "'(\\s+|$)"
checkSingleChars: "syntax/xmldebug.xml" line 374 'char' must contain exactly one char: "\"(\\s+|$)"
checkSingleChars: "syntax/xmldebug.xml" line 379 'char' must contain exactly one char: "'(\\s+|$)"
checkSingleChars: "syntax/xmldebug.xml" line 416 'char' must contain exactly one char: "\"(\\s+|$)"
checkSingleChars: "syntax/xmldebug.xml" line 421 'char' must contain exactly one char: "'(\\s+|$)"
checkSingleChars: "syntax/xmldebug.xml" line 468 'char' must contain exactly one char: "\"(\\s+|$)"
checkSingleChars: "syntax/xmldebug.xml" line 473 'char' must contain exactly one char: "'(\\s+|$)"
TEST PLAN
make && make test
REPOSITORY
R216 Syntax Highlighting
BRANCH
DetectCharChecker (branched from master)
REVISION DETAIL
https://phabricator.kde.org/D9127
AFFECTED FILES
src/indexer/katehighlightingindexer.cpp
To: dhaumann, vkrause
Cc: #frameworks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20171203/b7eb986c/attachment.html>
More information about the Kde-frameworks-devel
mailing list