Hi,
qscintilla-1.71-gpl-2-snapshot-20061006 uses QStringList.at(i) to retrive a
QString but instead it returns an iterator. Attached patch makes it use
QStringList[i] which fixes the issue.
Regards,
ismail
--- Qt3/qsciscintilla.cpp 2006-10-08 05:40:58.000000000 +0300
+++ Qt3/qsciscintilla.cpp 2006-10-08 11:07:28.000000000 +0300
@@ -207,7 +207,7 @@
if (isListActive())
{
// ZZZ - fix this.
- if (wseps.at(0).contains(ch))
+ if (wseps[0].contains(ch))
{
cancelList();
startAutoCompletion(acSource, false, false);
@@ -230,7 +230,7 @@
// See if we might want to start auto-completion.
if (!isCallTipActive())
// ZZZ - fix this.
- if (wseps.at(0).contains(ch))
+ if (wseps[0].contains(ch))
startAutoCompletion(acSource, false, false);
else if (acThresh >= 1 && isWordChar(ch))
startAutoCompletion(acSource, true, false);
@@ -297,7 +297,7 @@
while (loff >= 0)
{
// ZZZ - fix this.
- if (!isWordChar(lbuf[loff]) && wseps.at(0).contains(lbuf[loff]))
+ if (!isWordChar(lbuf[loff]) && wseps[0].contains(lbuf[loff]))
break;
--loff;
@@ -414,7 +414,7 @@
numeric = false;
// ZZZ - fix this.
- if (!isWordChar(ch) && !wseps.at(0).contains(ch))
+ if (!isWordChar(ch) && !wseps[0].contains(ch))
break;
--wstart;
_______________________________________________
PyKDE mailing list [email protected]
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde