Summary: | KEdit not updating line/column number after pasting text | ||
---|---|---|---|
Product: | [Applications] kedit | Reporter: | Peter Bey <xinf> |
Component: | general | Assignee: | Bernd Wuebben <wuebben> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | 1.3 | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
Peter Bey
2003-02-17 00:10:26 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 ) { |