mirror of https://gitlab.com/basile.b/dexed.git
remove deprecated autoClose modes
This commit is contained in:
parent
80c470dbb2
commit
7d76556cbc
|
@ -408,14 +408,6 @@ end;
|
|||
|
||||
procedure TEditorOptionsBase.setAutoBraceClosingStyle(value: TBraceAutoCloseStyle);
|
||||
begin
|
||||
|
||||
//TODO-cmaintenance: remove this two rlzs after 3.7.5
|
||||
case value of
|
||||
autoCloseAtEof, autoCloseOnNewLineEof: value := TBraceAutoCloseStyle.autoCloseNever;
|
||||
autoCloseOnNewLineAlways: value := TBraceAutoCloseStyle.autoCloseOnNewLineLexically;
|
||||
autoCloseAlways: value := TBraceAutoCloseStyle.autoCloseLexically;
|
||||
end;
|
||||
|
||||
fAutoCloseCurlyBrace:= value;
|
||||
end;
|
||||
|
||||
|
|
|
@ -26,12 +26,8 @@ type
|
|||
);
|
||||
|
||||
TBraceAutoCloseStyle = (
|
||||
autoCloseNever, // TODO-cmaintenace: remove the deprecated values two rlzs after 3.7.5
|
||||
autoCloseAtEof, // deprecated
|
||||
autoCloseAlways, // deprecated
|
||||
autoCloseNever,
|
||||
autoCloseLexically,
|
||||
autoCloseOnNewLineEof, // deprecated
|
||||
autoCloseOnNewLineAlways, // deprecated
|
||||
autoCloseOnNewLineLexically
|
||||
);
|
||||
|
||||
|
|
Loading…
Reference in New Issue