
Originally Posted by
evgenM
something strange:
completion work for cause
str.append("a").
str.append("a").
To copy to clipboard, switch view to plain text mode
but not for
str.split("a").
str.split("a").
To copy to clipboard, switch view to plain text mode
what the difference?
The reason is that in the Qt source qstring.h, the function split() is declared as
Qt::CaseSensitivity cs = Qt::CaseSensitive) const Q_REQUIRED_RESULT;
QStringList split(const QChar &sep, SplitBehavior behavior = KeepEmptyParts,
Qt::CaseSensitivity cs = Qt::CaseSensitive) const Q_REQUIRED_RESULT;
To copy to clipboard, switch view to plain text mode
and ctags gets confused by the Q_REQUIRED_RESULT macro. Thanks for reporting it, evgenM, I'll try to fix that problem.
Bookmarks