TheIDE got new code-browser

git-svn-id: svn://ultimatepp.org/upp/trunk@511 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2008-10-06 20:41:14 +00:00
parent 1b9b782255
commit 4c97cf1fed
33 changed files with 704 additions and 466 deletions

View file

@ -1880,7 +1880,7 @@ void ArrayCtrl::GotFocus() {
void ArrayCtrl::DoEdit() {
if(IsReadOnly()) return;
if(!editmode)
if(!editmode && IsCursor())
StartEdit();
}
@ -2026,7 +2026,7 @@ bool ArrayCtrl::FindSetCursor(const Value& val, int ii, int i) {
i = Find(val, ii, i);
if(i < 0) return false;
if(!SetCursor(i)) return false;
CenterCursor();
// CenterCursor(); //cxl: 2008-10-06: not what is expected...
return true;
}