| Summary: | autosellecting file switch problem | ||
|---|---|---|---|
| Product: | [Applications] kate | Reporter: | Becheru Petru-Ioan <becheru.petru.ioan> |
| Component: | general | Assignee: | KWrite Developers <kwrite-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | groszdanielpub |
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | unspecified | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Becheru Petru-Ioan
2005-12-18 19:18:23 UTC
SVN commit 495724 by alund:
clear selection when closing a document.
BUG:118588
M +1 -0 katedocument.cpp
--- branches/KDE/3.5/kdelibs/kate/part/katedocument.cpp #495723:495724
@@ -2733,6 +2733,7 @@
// Explicitly call the internal version because we don't want this to look like
// an external request (and thus have the view not QWidget::scroll()ed.
view->setCursorPositionInternal(0, 0, 1, false);
+ view->clearSelection();
view->updateView(true);
}
SVN commit 535525 by dhaumann:
forward port SVN commit 495724 by alund:
clear selection when closing a document.
CCBUG:118588
M +3 -0 katedocument.cpp
--- trunk/KDE/kdelibs/kate/part/katedocument.cpp #535524:535525
@@ -2634,7 +2634,10 @@
// update all our views
foreach (KateView * view, m_views )
+ {
+ view->clearSelection(); // fix bug #118588
view->clear();
+ }
// uh, fileName changed
emit documentUrlChanged (this);
*** Bug 131395 has been marked as a duplicate of this bug. *** |