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

List:       kde-commits
Subject:    kdelibs/kate
From:       Christoph Cullmann <crossfire () babylon2k ! de>
Date:       2004-02-29 21:45:46
Message-ID: 20040229214546.D128D993A () office ! kde ! org
[Download RAW message or body]

CVS commit by cullmann: 

fix include rules wrong rename


  M +1 -1      data/katesyntaxhighlightingrc   1.9
  M +3 -3      part/katehighlight.cpp   1.145


--- kdelibs/kate/data/katesyntaxhighlightingrc  #1.8:1.9
@@ -1,3 +1,3 @@
 [General]
-Version=11
+Version=12
 CachedVersion=0

--- kdelibs/kate/part/katehighlight.cpp  #1.144:1.145
@@ -2264,5 +2264,5 @@ int KateHighlighting::addToContextList(c
 
                 QString tag = \
                KateHlManager::self()->syntax->groupItemData(data,QString(""));
-                if ( tag == "KateHlIncludeRules" ) { //if the new item is an Include \
rule, we have to take special care +                if ( tag == "IncludeRules" ) { \
                //if the new item is an Include rule, we have to take special care
       QString incCtx=KateHlManager::self()->syntax->groupItemData( data, \
QString("context"));  // only context refernces of type NAME and ##Name are allowed
@@ -2273,5 +2273,5 @@ int KateHighlighting::addToContextList(c
         }
         else { //a cross highlighting reference
-          kdDebug()<<"Cross highlight reference <KateHlIncludeRules>"<<endl;
+          kdDebug()<<"Cross highlight reference <IncludeRules>"<<endl;
           KateHlIncludeRule *ir=new \
                KateHlIncludeRule(i,contextList[i]->items.count());
           //use the same way to determine cross hl file references as other items do
@@ -2287,5 +2287,5 @@ int KateHighlighting::addToContextList(c
 #if 0
                 QString tag = \
                KateHlManager::self()->syntax->groupKateHlItemData(data,QString(""));
-                if ( tag == "KateHlIncludeRules" ) {
+                if ( tag == "IncludeRules" ) {
                   // attrib context: the index (jowenn, i think using names here \
would be a cool feat, goes for mentioning the context in any item. a map or dict?)  \
int ctxId = getIdFromString(&ContextNameList,


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

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