界面库
优化编辑器
This commit is contained in:
@@ -421,14 +421,22 @@ type TTslDebuga=class(TCustomControl)
|
||||
if FCmdHistoryid <= 0 then return o.text := "";
|
||||
FCmdHistoryid--;
|
||||
txt := FCmdHistory[FCmdHistoryid];
|
||||
if ifstring(txt)and txt then o.text := txt;
|
||||
if ifstring(txt)and txt then
|
||||
begin
|
||||
o.text := txt;
|
||||
o.SetSel(length(txt),length(txt));
|
||||
end
|
||||
end
|
||||
VK_DOWN:
|
||||
begin
|
||||
if FCmdHistoryid >= Length(FCmdHistory)then return o.text := "";
|
||||
FCmdHistoryid++;
|
||||
txt := FCmdHistory[FCmdHistoryid];
|
||||
if ifstring(txt)and txt then o.text := txt;
|
||||
if ifstring(txt)and txt then
|
||||
begin
|
||||
o.text := txt;
|
||||
o.SetSel(length(txt),length(txt));
|
||||
end
|
||||
end
|
||||
13:
|
||||
begin
|
||||
|
||||
Reference in New Issue
Block a user