Bug 54745 - KEdit not updating line/column number after pasting text
Summary: KEdit not updating line/column number after pasting text
Status: RESOLVED FIXED
Alias: None
Product: kedit
Classification: Applications
Component: general (show other bugs)
Version: 1.3
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Bernd Wuebben
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-02-17 00:10 UTC by Peter Bey
Modified: 2003-04-20 22:55 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Bey 2003-02-17 00:10:26 UTC
Version:           1.3 (using KDE 3.1.0)
Installed from:    compiled sources
Compiler:          gcc version 2.95.3 20010315 (release)
OS:          Linux (i686) release 2.4.20

KEdit doesnt update "Line: XX Column: XX" in statusbar after pasting text until you press a key (backspace for example). So if you just want to see how much lines your clipboard has you have to press a key after inserting the text into KEdit. Is it worth mention? :)
Comment 1 Waldo Bastian 2003-04-20 22:55:13 UTC
Subject: kdelibs/kdeui

CVS commit by waba: 

CCMAIL: 54745-done@bugs.kde.org
Update col/row after pasting. (BR54745)


  M +6 -0      keditcl1.cpp   1.62


--- kdelibs/kdeui/keditcl1.cpp  #1.61:1.62
@@ -469,16 +469,20 @@ void KEdit::keyPressEvent ( QKeyEvent *e
     paste();
     setModified(true);
+    slotCursorPositionChanged();
   }
   else if ( KStdAccel::cut().contains( key ) ) {
     cut();
     setModified(true);
+    slotCursorPositionChanged();
   }
   else if ( KStdAccel::undo().contains( key ) ) {
     undo();
     setModified(true);
+    slotCursorPositionChanged();
   }
   else if ( KStdAccel::redo().contains( key ) ) {
     redo();
     setModified(true);
+    slotCursorPositionChanged();
   }
   else if ( KStdAccel::deleteWordBack().contains( key ) ) {
@@ -487,4 +491,5 @@ void KEdit::keyPressEvent ( QKeyEvent *e
       del();
     setModified(true);
+    slotCursorPositionChanged();
   }
   else if ( KStdAccel::deleteWordForward().contains( key ) ) {
@@ -493,4 +498,5 @@ void KEdit::keyPressEvent ( QKeyEvent *e
       del();
     setModified(true);
+    slotCursorPositionChanged();
   }
   else if ( d->overwriteEnabled && key == Key_Insert ) {