[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdelibs/kate/part
From: Kazuki Ohta <mover () hct ! zaq ! ne ! jp>
Date: 2004-10-22 18:43:56
Message-ID: 20041022184356.A244516C4A () office ! kde ! org
[Download RAW message or body]
CVS commit by kzk:
more consideration of word-wrapping (also im preedit string)
M +2 -2 kateviewinternal.cpp 1.323
--- kdelibs/kate/part/kateviewinternal.cpp #1.322:1.323
@@ -901,5 +901,5 @@ QPoint KateViewInternal::cursorCoordinat
void KateViewInternal::updateMicroFocusHint()
{
- int line = displayViewLine( cursor, true );
+ int line = displayViewLine(displayCursor, true);
if (line == -1)
return;
@@ -912,5 +912,5 @@ void KateViewInternal::updateMicroFocusH
// start point of IM selection text to place candidate window as
// adjacent to the selection text.
- uint preeditStrLen = renderer->textWidth(textLine(line), cursor.col()) - \
renderer->textWidth(textLine(line), m_imPreeditSelStart); + uint preeditStrLen = \
renderer->textWidth(textLine(m_imPreeditStartLine), cursor.col()) - \
renderer->textWidth(textLine(m_imPreeditStartLine), \
m_imPreeditSelStart);
uint x = cXPos - m_startX - lineRanges[line].startX + lineRanges[line].xOffset() \
- preeditStrLen; uint y = line * renderer->fontHeight();
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic