mirror of https://gitlab.com/basile.b/dexed.git
reset message horz scrollbar on new item
This commit is contained in:
parent
b996a2852f
commit
d071bc31f6
|
|
@ -42,6 +42,9 @@ type
|
|||
procedure AssignTo(Dest: TPersistent); override;
|
||||
end;
|
||||
|
||||
TTreeHack = class(TTreeView)
|
||||
end;
|
||||
|
||||
{ TCEMessagesWidget }
|
||||
|
||||
TCEMessagesWidget = class(TCEWidget, ICEEditableOptions, ICEMultiDocObserver, ICEProjectObserver, ICEMessagesDisplay)
|
||||
|
|
@ -585,8 +588,8 @@ begin
|
|||
item.SelectedIndex := item.ImageIndex;
|
||||
if not fastDisplay then
|
||||
begin
|
||||
//TODO-cfeature: reset horz scroll bar to the left
|
||||
clearOutOfRangeMessg;
|
||||
TTreeHack(list).scrolledLeft := 0;
|
||||
scrollToBack;
|
||||
Application.ProcessMessages;
|
||||
filterMessages(fCtxt);
|
||||
|
|
|
|||
Loading…
Reference in New Issue