Summary: | KDevelop crashed while I was editing a C file | ||
---|---|---|---|
Product: | [Applications] kate | Reporter: | Leandro Santiago da Silva <leandrosansilva> |
Component: | Vi Input Mode | Assignee: | kdevelop-bugs-null |
Status: | RESOLVED FIXED | ||
Severity: | crash | ||
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Leandro Santiago da Silva
2010-11-28 18:38:06 UTC
Erlend: this code does not make any sense: if (decoded.length() > 1 ) { key = KateViKeyParser::getInstance()->vi2qt(decoded); } else { key = int(decoded.at(0).toUpper().toAscii()); text = decoded.at(0); maybe you swapped the conditionals logic? SVN commit 1202929 by cullmann: ehamberg: make sure length is > 0 skip repeating (empty) key press if this is not the case. BUG: 258203 M +3 -2 kateviinputmodemanager.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1202929 |