make the home key jump to column 0 if the caret if before the first non-space

This commit is contained in:
mae
2008-12-11 14:11:28 +01:00
parent ddfd46b322
commit 9890705295

View File

@@ -2767,6 +2767,8 @@ void BaseTextEditor::handleHomeKey(bool anchor)
while (character == tab || character.category() == QChar::Separator_Space) {
++pos;
if (pos == initpos)
break;
character = characterAt(pos);
}