diff options
Diffstat (limited to 'kate/data/html-php.xml')
-rw-r--r-- | kate/data/html-php.xml | 78 |
1 files changed, 39 insertions, 39 deletions
diff --git a/kate/data/html-php.xml b/kate/data/html-php.xml index 010297417..90a65b992 100644 --- a/kate/data/html-php.xml +++ b/kate/data/html-php.xml @@ -25,41 +25,41 @@ <DetectIdentifier/> <StringDetect attribute="Comment" context="Comment" String="<!--" beginRegion="comment" /> <StringDetect attribute="CDATA" context="CDATA" String="<![CDATA[" beginRegion="cdata" /> - <RegExpr attribute="Doctype" context="Doctype" String="<!DOCTYPE\s+" insensitive="TRUE" beginRegion="doctype" /> + <RegExpr attribute="Doctype" context="Doctype" String="<!DOCTYPE\s+" insensitive="true" beginRegion="doctype" /> <RegExpr attribute="Processing Instruction" context="PI" String="<\?[\w:-]*" beginRegion="pi" /> - <RegExpr attribute="Element" context="CSS" String="<style\b" insensitive="TRUE" beginRegion="style" /> - <RegExpr attribute="Element" context="JS" String="<script\b" insensitive="TRUE" beginRegion="script" /> - <RegExpr attribute="Element" context="El Open" String="<pre\b" insensitive="TRUE" beginRegion="pre" /> - <RegExpr attribute="Element" context="El Open" String="<div\b" insensitive="TRUE" beginRegion="div" /> - <RegExpr attribute="Element" context="El Open" String="<table\b" insensitive="TRUE" beginRegion="table" /> - <RegExpr attribute="Element" context="El Open" String="<ul\b" insensitive="TRUE" beginRegion="ul" /> - <RegExpr attribute="Element" context="El Open" String="<ol\b" insensitive="TRUE" beginRegion="ol" /> - <RegExpr attribute="Element" context="El Open" String="<dl\b" insensitive="TRUE" beginRegion="dl" /> - <RegExpr attribute="Element" context="El Open" String="<article\b" insensitive="TRUE" beginRegion="article" /> - <RegExpr attribute="Element" context="El Open" String="<aside\b" insensitive="TRUE" beginRegion="aside" /> - <RegExpr attribute="Element" context="El Open" String="<details\b" insensitive="TRUE" beginRegion="details" /> - <RegExpr attribute="Element" context="El Open" String="<figure\b" insensitive="TRUE" beginRegion="figure" /> - <RegExpr attribute="Element" context="El Open" String="<footer\b" insensitive="TRUE" beginRegion="footer" /> - <RegExpr attribute="Element" context="El Open" String="<header\b" insensitive="TRUE" beginRegion="header" /> - <RegExpr attribute="Element" context="El Open" String="<main\b" insensitive="TRUE" beginRegion="main" /> - <RegExpr attribute="Element" context="El Open" String="<nav\b" insensitive="TRUE" beginRegion="nav" /> - <RegExpr attribute="Element" context="El Open" String="<section\b" insensitive="TRUE" beginRegion="section" /> + <RegExpr attribute="Element" context="CSS" String="<style\b" insensitive="true" beginRegion="style" /> + <RegExpr attribute="Element" context="JS" String="<script\b" insensitive="true" beginRegion="script" /> + <RegExpr attribute="Element" context="El Open" String="<pre\b" insensitive="true" beginRegion="pre" /> + <RegExpr attribute="Element" context="El Open" String="<div\b" insensitive="true" beginRegion="div" /> + <RegExpr attribute="Element" context="El Open" String="<table\b" insensitive="true" beginRegion="table" /> + <RegExpr attribute="Element" context="El Open" String="<ul\b" insensitive="true" beginRegion="ul" /> + <RegExpr attribute="Element" context="El Open" String="<ol\b" insensitive="true" beginRegion="ol" /> + <RegExpr attribute="Element" context="El Open" String="<dl\b" insensitive="true" beginRegion="dl" /> + <RegExpr attribute="Element" context="El Open" String="<article\b" insensitive="true" beginRegion="article" /> + <RegExpr attribute="Element" context="El Open" String="<aside\b" insensitive="true" beginRegion="aside" /> + <RegExpr attribute="Element" context="El Open" String="<details\b" insensitive="true" beginRegion="details" /> + <RegExpr attribute="Element" context="El Open" String="<figure\b" insensitive="true" beginRegion="figure" /> + <RegExpr attribute="Element" context="El Open" String="<footer\b" insensitive="true" beginRegion="footer" /> + <RegExpr attribute="Element" context="El Open" String="<header\b" insensitive="true" beginRegion="header" /> + <RegExpr attribute="Element" context="El Open" String="<main\b" insensitive="true" beginRegion="main" /> + <RegExpr attribute="Element" context="El Open" String="<nav\b" insensitive="true" beginRegion="nav" /> + <RegExpr attribute="Element" context="El Open" String="<section\b" insensitive="true" beginRegion="section" /> <RegExpr attribute="Element" context="El Open" String="<&name;" /> - <RegExpr attribute="Element" context="El Close" String="</pre\b" insensitive="TRUE" endRegion="pre" /> - <RegExpr attribute="Element" context="El Close" String="</div\b" insensitive="TRUE" endRegion="div" /> - <RegExpr attribute="Element" context="El Close" String="</table\b" insensitive="TRUE" endRegion="table" /> - <RegExpr attribute="Element" context="El Close" String="</ul\b" insensitive="TRUE" endRegion="ul" /> - <RegExpr attribute="Element" context="El Close" String="</ol\b" insensitive="TRUE" endRegion="ol" /> - <RegExpr attribute="Element" context="El Close" String="</dl\b" insensitive="TRUE" endRegion="dl" /> - <RegExpr attribute="Element" context="El Close" String="</article\b" insensitive="TRUE" endRegion="article" /> - <RegExpr attribute="Element" context="El Close" String="</aside\b" insensitive="TRUE" endRegion="aside" /> - <RegExpr attribute="Element" context="El Close" String="</details\b" insensitive="TRUE" endRegion="details" /> - <RegExpr attribute="Element" context="El Close" String="</figure\b" insensitive="TRUE" endRegion="figure" /> - <RegExpr attribute="Element" context="El Close" String="</footer\b" insensitive="TRUE" endRegion="footer" /> - <RegExpr attribute="Element" context="El Close" String="</header\b" insensitive="TRUE" endRegion="header" /> - <RegExpr attribute="Element" context="El Close" String="</main\b" insensitive="TRUE" endRegion="main" /> - <RegExpr attribute="Element" context="El Close" String="</nav\b" insensitive="TRUE" endRegion="nav" /> - <RegExpr attribute="Element" context="El Close" String="</section\b" insensitive="TRUE" endRegion="section" /> + <RegExpr attribute="Element" context="El Close" String="</pre\b" insensitive="true" endRegion="pre" /> + <RegExpr attribute="Element" context="El Close" String="</div\b" insensitive="true" endRegion="div" /> + <RegExpr attribute="Element" context="El Close" String="</table\b" insensitive="true" endRegion="table" /> + <RegExpr attribute="Element" context="El Close" String="</ul\b" insensitive="true" endRegion="ul" /> + <RegExpr attribute="Element" context="El Close" String="</ol\b" insensitive="true" endRegion="ol" /> + <RegExpr attribute="Element" context="El Close" String="</dl\b" insensitive="true" endRegion="dl" /> + <RegExpr attribute="Element" context="El Close" String="</article\b" insensitive="true" endRegion="article" /> + <RegExpr attribute="Element" context="El Close" String="</aside\b" insensitive="true" endRegion="aside" /> + <RegExpr attribute="Element" context="El Close" String="</details\b" insensitive="true" endRegion="details" /> + <RegExpr attribute="Element" context="El Close" String="</figure\b" insensitive="true" endRegion="figure" /> + <RegExpr attribute="Element" context="El Close" String="</footer\b" insensitive="true" endRegion="footer" /> + <RegExpr attribute="Element" context="El Close" String="</header\b" insensitive="true" endRegion="header" /> + <RegExpr attribute="Element" context="El Close" String="</main\b" insensitive="true" endRegion="main" /> + <RegExpr attribute="Element" context="El Close" String="</nav\b" insensitive="true" endRegion="nav" /> + <RegExpr attribute="Element" context="El Close" String="</section\b" insensitive="true" endRegion="section" /> <RegExpr attribute="Element" context="El Close" String="</&name;" /> <!-- as long as kde gives DTDs the text/html mimetype--><IncludeRules context="FindDTDRules" /> <IncludeRules context="FindEntityRefs" /> @@ -183,7 +183,7 @@ <context name="CSS content" attribute="Other Text" lineEndContext="#stay"> <IncludeRules context="FindPHP" /> - <RegExpr attribute="Element" context="El Close 2" String="</style\b" insensitive="TRUE" endRegion="style" /> + <RegExpr attribute="Element" context="El Close 2" String="</style\b" insensitive="true" endRegion="style" /> <IncludeRules context="##CSS/PHP" includeAttrib="true"/> </context> @@ -197,14 +197,14 @@ <context name="JS content" attribute="Other Text" lineEndContext="#stay"> <IncludeRules context="FindPHP" /> - <RegExpr attribute="Element" context="El Close 2" String="</script\b" insensitive="TRUE" endRegion="script" /> - <RegExpr attribute="Comment" context="JS comment close" String="//(?=.*</script\b)" insensitive="TRUE" /> - <IncludeRules context="Normal##JavaScript" includeAttrib="true"/> + <RegExpr attribute="Element" context="El Close 2" String="</script\b" insensitive="true" endRegion="script" /> + <RegExpr attribute="Comment" context="JS comment close" String="//(?=.*</script\b)" insensitive="true" /> + <IncludeRules context="Normal##JavaScript/PHP" includeAttrib="true"/> </context> <context name="JS comment close" attribute="Comment" lineEndContext="#pop"> <IncludeRules context="FindPHP" /> - <RegExpr attribute="Element" context="El Close 3" String="</script\b" insensitive="TRUE" endRegion="script" /> + <RegExpr attribute="Element" context="El Close 3" String="</script\b" insensitive="true" endRegion="script" /> <IncludeRules context="##Alerts" /> </context> @@ -234,7 +234,7 @@ <IncludeRules context="FindEntityRefs" /> </context> -<context name="FindPHP"> +<context name="FindPHP" attribute="Normal Text" lineEndContext="#stay"> <RegExpr context="##PHP/PHP" String="<\?(?:=|php)?" lookAhead="true" /> </context> </contexts> |