mirror of https://gitlab.com/basile.b/dexed.git
bugfix: empty source side effects
This commit is contained in:
parent
57cac8022c
commit
6c52701a10
|
@ -228,6 +228,9 @@ begin
|
|||
begin
|
||||
mainForm.docChangeNotify(Self, editorIndex);
|
||||
|
||||
|
||||
if ed.Lines.Count > 0 then
|
||||
begin
|
||||
mainForm.MessageWidget.Clear;
|
||||
lex( ed.Lines.Text, tokLst );
|
||||
|
||||
|
@ -239,6 +242,7 @@ begin
|
|||
md := getModuleName(tokLst);
|
||||
if md = '' then md := extractFileName(ed.fileName);
|
||||
pageControl.ActivePage.Caption := md;
|
||||
end;
|
||||
|
||||
mainForm.MessageWidget.scrollToBack;
|
||||
tokLst.Clear;
|
||||
|
|
Loading…
Reference in New Issue