QCodeEdit autocompletition on doc start fix
This commit is contained in:
@@ -330,7 +330,7 @@ QByteArray qSerialize(const T & value, int version = -1) {
|
||||
|
||||
template<typename T>
|
||||
T qDeserialize(const QByteArray & data, int version = -1) {
|
||||
T ret;
|
||||
T ret = T();
|
||||
if (!data.isEmpty()) {
|
||||
QDataStream s(data);
|
||||
if (version > 0) s.setVersion((QDataStream::Version)version);
|
||||
|
||||
@@ -348,7 +348,7 @@ int QCodeEdit::skipCWord(const QString & s, int pos) {
|
||||
if (pc.isLetter() || (pc.toLatin1() == '_')) return i + 1;
|
||||
return -1;
|
||||
}
|
||||
return -1;
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user