[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdelibs/kate/view (silent)
From: Dominik Haumann <dhdev () gmx ! de>
Date: 2007-09-30 21:21:09
Message-ID: 1191187269.949283.10747.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 719310 by dhaumann:
SVN_SILENT: better comment
M +1 -1 kateviewinternal.cpp
--- trunk/KDE/kdelibs/kate/view/kateviewinternal.cpp #719309:719310
@@ -2012,7 +2012,7 @@
KateTextLayout thisLine = yToKateTextLayout(p.y());
KTextEditor::Cursor c;
- if (!thisLine.isValid()) //set to the last position in the document
+ if (!thisLine.isValid()) // probably user clicked below the last line -> use the last line
thisLine = cache()->textLayout(m_doc->lines() - 1, -1);
c = renderer()->xToCursor(thisLine, startX() + p.x(), !view()->wrapCursor());
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic