.cosmetics

git-svn-id: svn://ultimatepp.org/upp/trunk@7190 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2014-04-08 17:27:23 +00:00
parent 81260291d6
commit fa46507582
10 changed files with 29 additions and 16 deletions

View file

@ -1801,11 +1801,12 @@ bool ArrayCtrl::Key(dword key, int) {
if(IsCursor()) {
int d = GetEditColumn();
int i = FindEnabled(cursor - 1, -1);
if(i >= 0 && SetCursor0(i))
if(i >= 0 && SetCursor0(i)) {
if(d >= 0)
StartEdit(d);
else
KeyMultiSelect(aanchor, key);
}
}
else
if((IsInserting() || IsAppending()) && IsAppendLine())