remove deprecated autoClose modes

This commit is contained in:
Basile Burg 2019-04-02 13:06:01 +02:00
parent 80c470dbb2
commit 7d76556cbc
2 changed files with 1 additions and 13 deletions

View File

@ -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;

View File

@ -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
);