projects
/
quassel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
79d9606
)
Fix tabcompletion with added space mid-sentence
author
Manuel Nickschas
<sputnick@quassel-irc.org>
Fri, 3 Feb 2012 14:42:44 +0000
(15:42 +0100)
committer
Manuel Nickschas
<sputnick@quassel-irc.org>
Fri, 3 Feb 2012 14:42:44 +0000
(15:42 +0100)
src/uisupport/tabcompleter.cpp
patch
|
blob
|
history
diff --git
a/src/uisupport/tabcompleter.cpp
b/src/uisupport/tabcompleter.cpp
index
2c15fdb
..
5d2bf02
100644
(file)
--- a/
src/uisupport/tabcompleter.cpp
+++ b/
src/uisupport/tabcompleter.cpp
@@
-144,6
+144,7
@@
void TabCompleter::complete() {
_lastCompletionLength += _nickSuffix.length();
} else if (s.addSpaceMidSentence()) {
_lineEdit->insert(" ");
_lastCompletionLength += _nickSuffix.length();
} else if (s.addSpaceMidSentence()) {
_lineEdit->insert(" ");
+ _lastCompletionLength++;
}
// we're at the end of the list -> start over again
}
// we're at the end of the list -> start over again