Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.1
kdelibs4
patch-r897853.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File patch-r897853.diff of Package kdelibs4
Subject: ensureCursorColumnValid should check if the cursor is *in*valid... From: wstephenson@suse.de Bug: Patch-upstream: 897853 --- kate/view/kateview.cpp (revision 897852) +++ kate/view/kateview.cpp (revision 897853) @@ -1333,7 +1333,7 @@ void KateView::ensureCursorColumnValid() // - in block selection mode or if wrap cursor is off, the colum is arbitrary // - otherwise: it's bounded by the line length if (!blockSelectionMode() && wrapCursor() - && (c.isValid() || c.column() > m_doc->lineLength(c.line()))) + && (!c.isValid() || c.column() > m_doc->lineLength(c.line()))) { c.setColumn(m_doc->kateTextLine(cursorPosition().line())->length()); setCursorPosition(c); Index: kate/view/kateview.cpp ===================================================================
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor