[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdelibs/kate/data
From:       Dominik Haumann <dhdev () gmx ! de>
Date:       2005-04-19 19:00:39
Message-ID: 20050419190039.A8AE7650 () office ! kde ! org
[Download RAW message or body]

CVS commit by dhaumann: 

fix highlighting bug (ideed it is even a big optimisation).
Backport and update of online database follows.
BUG:103656


  M +9 -17     doxygen.xml   1.28


--- kdelibs/kate/data/doxygen.xml  #1.27:1.28
@@ -24,5 +24,5 @@
  **********************************************************************
  -->
-<language name="Doxygen" version="1.21" kateversion="2.4" section="Markup" \
extensions="*.dox;*.doxygen" mimetype="text/x-doxygen" author="Dominik Haumann \
(dhdev@gmx.de)" license="LGPL"> +<language name="Doxygen" version="1.22" \
kateversion="2.4" section="Markup" extensions="*.dox;*.doxygen" \
mimetype="text/x-doxygen" author="Dominik Haumann (dhdev@gmx.de)" license="LGPL">  \
<highlighting>  <!-- note: all tags may begin with a \ or @ char
@@ -320,18 +320,15 @@
         <Detect2Chars attribute="Comment" context="#pop" char="*" char1="/" \
lookAhead="true"/>  <DetectSpaces />
-        <RegExpr attribute="Word" context="#pop" String="\S\s" />
-        <RegExpr attribute="Word" context="#stay" String="\S(?=\S)" />
+        <RegExpr attribute="Word" context="#pop" String="[\w_]+\b" />
       </context>
       <context attribute="Comment" lineEndContext="#pop" name="ML_TagWordWord">
         <Detect2Chars attribute="Comment" context="#pop" char="*" char1="/" \
lookAhead="true"/>  <DetectSpaces />
-        <RegExpr attribute="Word" context="ML_Tag2ndWord" String="\S\s" />
-        <RegExpr attribute="Word" context="#stay" String="\S(?=\S)" />
+        <RegExpr attribute="Word" context="ML_Tag2ndWord" String="[\w_]+\b" />
       </context>
       <context attribute="Comment" lineEndContext="#pop" name="ML_Tag2ndWord">
         <Detect2Chars attribute="Comment" context="#pop" char="*" char1="/" \
lookAhead="true"/>  <DetectSpaces />
-        <RegExpr attribute="Word" context="#pop#pop" String="\S\s" />
-        <RegExpr attribute="Word" context="#stay" String="\S(?=\S)" />
+        <RegExpr attribute="Word" context="#pop#pop" String="[\w_]+\b" />
       </context>
       <context attribute="Comment" lineEndContext="#pop" name="ML_TagString">
@@ -346,6 +343,5 @@
         <Detect2Chars attribute="Comment" context="#pop" char="*" char1="/" \
lookAhead="true"/>  <DetectSpaces />
-        <RegExpr attribute="Word" context="ML_TagString" String="\S\s" />
-        <RegExpr attribute="Word" context="#stay" String="\S(?=\S)" />
+        <RegExpr attribute="Word" context="ML_TagString" String="[\w_]+\b" />
       </context>
 
@@ -381,16 +377,13 @@
       <context attribute="Comment" lineEndContext="#pop" name="SL_TagWord">
         <DetectSpaces />
-        <RegExpr attribute="Word" context="#pop" String="\S\s" />
-        <RegExpr attribute="Word" context="#stay" String="\S(?=\S)" />
+        <RegExpr attribute="Word" context="#pop" String="[\w_]+\b" />
       </context>
       <context attribute="Comment" lineEndContext="#pop" name="SL_TagWordWord">
         <DetectSpaces />
-        <RegExpr attribute="Word" context="SL_Tag2ndWord" String="\S\s" />
-        <RegExpr attribute="Word" context="#stay" String="\S(?=\S)" />
+        <RegExpr attribute="Word" context="SL_Tag2ndWord" String="[\w_]+\b" />
       </context>
       <context attribute="Comment" lineEndContext="#pop" name="SL_Tag2ndWord">
         <DetectSpaces />
-        <RegExpr attribute="Word" context="#pop#pop" String="\S\s" />
-        <RegExpr attribute="Word" context="#stay" String="\S(?=\S)" />
+        <RegExpr attribute="Word" context="#pop#pop" String="[\w_]+\b" />
       </context>
       <context attribute="Comment" lineEndContext="#pop" name="SL_TagString">
@@ -403,6 +396,5 @@
       <context attribute="Comment" lineEndContext="#pop" name="SL_TagWordString">
         <DetectSpaces />
-        <RegExpr attribute="Word" context="SL_TagString" String="\S\s" />
-        <RegExpr attribute="Word" context="#stay" String="\S(?=\S)" />
+        <RegExpr attribute="Word" context="SL_TagString" String="[\w_]+\b" />
       </context>
 


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic