mirror of https://gitlab.com/basile.b/dexed.git
fix, sync-edit icon hidden when editing a temp file
This commit is contained in:
parent
33e8e7ce14
commit
c23d63fbe5
|
@ -35,7 +35,6 @@ type
|
||||||
fKeyChanged: boolean;
|
fKeyChanged: boolean;
|
||||||
fDoc: TCESynMemo;
|
fDoc: TCESynMemo;
|
||||||
// TODO-cbugfix: syncro-edit partially broken, undetermined condition
|
// TODO-cbugfix: syncro-edit partially broken, undetermined condition
|
||||||
// TODO-cbugfix: syncro-edit icon hidden after deletion, if doc is saved (as temp file, by the static explorer)
|
|
||||||
fSyncEdit: TSynPluginSyncroEdit;
|
fSyncEdit: TSynPluginSyncroEdit;
|
||||||
tokLst: TLexTokenList;
|
tokLst: TLexTokenList;
|
||||||
errLst: TLexErrorList;
|
errLst: TLexErrorList;
|
||||||
|
@ -421,6 +420,12 @@ begin
|
||||||
//
|
//
|
||||||
tokLst.Clear;
|
tokLst.Clear;
|
||||||
errLst.Clear;
|
errLst.Clear;
|
||||||
|
// when a widget saves a temp file & syncro mode is on:
|
||||||
|
// - editor is saved
|
||||||
|
// - gutter is updated (green bar indicating a saved block)
|
||||||
|
// - syncroedit icon is hidden
|
||||||
|
if fSyncEdit.Active then
|
||||||
|
fDoc.Refresh;
|
||||||
end;
|
end;
|
||||||
{$ENDREGION}
|
{$ENDREGION}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue