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

List:       kde-commits
Subject:    KDE_3_2_BRANCH: kdelibs/kate/part
From:       Dominik Haumann <dhdev () gmx ! de>
Date:       2004-06-30 17:13:18
Message-ID: 20040630171318.CEA7B9981 () office ! kde ! org
[Download RAW message or body]

CVS commit by dhaumann: 

backport from HEAD:
fix bug:
- open file (hl loads)
- close file (hl unloads: ref=0)
- open file again (hl loads again)
now print with Syntax Guide: The syntax guide is printed twice.
Solution: Clear internalIDList in ::done().


  M +1 -0      katehighlight.cpp   1.135.2.2


--- kdelibs/kate/part/katehighlight.cpp  #1.135.2.1:1.135.2.2
@@ -1485,4 +1485,5 @@ void Highlight::done()
 
   contextList.clear ();
+  internalIDList.clear();
 }
 


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

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