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

List:       kde-commits
Subject:    kdelibs/kate/part
From:       Christoph Cullmann <cullmann () kde ! org>
Date:       2005-03-22 19:56:13
Message-ID: 20050322195613.2B73D3C3 () office ! kde ! org
[Download RAW message or body]

CVS commit by cullmann: 

last one fixed crash, but this should be better to keep sane indent


  M +2 -2      katedocument.cpp   1.807


--- kdelibs/kate/part/katedocument.cpp  #1.806:1.807
@@ -3061,7 +3061,7 @@ void KateDocument::newLine( KateTextCurs
     int pos = textLine->firstChar();
 
-    // this needs testing, perhaps better length(), not sure of atm
+    // length should do the job better
     if (pos < 0)
-      pos = 0;
+      pos = textLine->length();
 
     if (c.col() < pos)


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

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