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

List:       kde-commits
Subject:    kdelibs/kate/part
From:       Christoph Cullmann <crossfire () babylon2k ! de>
Date:       2002-12-08 22:08:26
[Download RAW message or body]

CVS commit by cullmann: 

change applyWordWrap to take selection in account


  M +5 -2      katedocument.cpp   1.404


--- kdelibs/kate/part/katedocument.cpp  #1.403:1.404
@@ -4505,4 +4505,7 @@ void KateDocument::setWordWrapAt (uint c
 void KateDocument::applyWordWrap ()
 {
+  if (hasSelection())
+    wrapText (selectStart.line, selectEnd.line, myWordWrapAt);
+  else
   wrapText (myWordWrapAt);
 }


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

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