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

List:       kde-commits
Subject:    kdelibs/kate/data
From:       Wilbert Berendsen <wbsoft () xs4all ! nl>
Date:       2004-05-15 15:59:46
Message-ID: 20040515155946.5DA98900E () office ! kde ! org
[Download RAW message or body]

CVS commit by berendsen: 

fix highlighting of $var[subscript] by exchanging two regexps


  M +2 -2      bash.xml   1.29


--- kdelibs/kate/data/bash.xml  #1.28:1.29
@@ -4,5 +4,5 @@
         <!ENTITY funcname "[A-Za-z_:][A-Za-z0-9_:#&#37;@-]*">
 ]>
-<language name="Bash" version="1.97" kateversion="2.2" section="Scripts" \
extensions="*.sh;*.bash" mimetype="application/x-shellscript" casesensitive="1" \
author="Wilbert Berendsen (wilbert@kde.nl)" license="LGPL"> +<language name="Bash" \
version="1.98" kateversion="2.2" section="Scripts" extensions="*.sh;*.bash" \
mimetype="application/x-shellscript" casesensitive="1" author="Wilbert Berendsen \
(wilbert@kde.nl)" license="LGPL">  
 <!-- (c) 2004 by Wilbert Berendsen, wilbert@kde.nl
@@ -534,6 +534,6 @@
       <context attribute="Normal Text" lineEndContext="#stay" \
                name="FindSubstitutions">
         <RegExpr attribute="Variable" context="#stay" String="\$[*@#?$!_0-9-]" />
-        <RegExpr attribute="Variable" context="#stay" \
                String="\$[A-Za-z_][A-Za-z0-9_]*" />
         <RegExpr attribute="Variable" context="Subscript" \
String="\$[A-Za-z_][A-Za-z0-9_]*\[" /> +        <RegExpr attribute="Variable" \
                context="#stay" String="\$[A-Za-z_][A-Za-z0-9_]*" />
         <RegExpr attribute="Variable" context="#stay" String="\$\{[*@#?$!_0-9-]\}" \
                />
         <RegExpr attribute="Variable" context="#stay" \
String="\$\{#[A-Za-z_][A-Za-z0-9_]*\}" />


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

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