[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdesdk/lokalize/src
From: Nick Shaforostoff <shafff () ukr ! net>
Date: 2011-04-30 18:54:52
Message-ID: 20110430185452.C292FAC85D () svn ! kde ! org
[Download RAW message or body]
SVN commit 1229872 by shaforo:
let autocompl pop up in the middle of the text
M +1 -1 xlifftextedit.cpp
--- trunk/KDE/kdesdk/lokalize/src/xlifftextedit.cpp #1229871:1229872
@@ -521,7 +521,7 @@
if (charsAdded==1)
{
- int sp=target.lastIndexOf(CompletionStorage::instance()->rxSplit,offset);
+ int sp=target.lastIndexOf(CompletionStorage::instance()->rxSplit,offset-1);
int len=(offset-sp);
int wordCompletionLength=Settings::self()->wordCompletionLength();
if (wordCompletionLength>=3 && len>=wordCompletionLength)
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic