SynEdit: add 2 tab based indent modes to beautifier. Issue #0024557 / missing

git-svn-id: trunk@43863 -
This commit is contained in:
martin 2014-01-31 21:50:23 +00:00
parent d4ee8f0e73
commit 461597b957

View File

@ -1490,7 +1490,6 @@ begin
else
y := ACaret.LinePos + 1;
GetIndentInfo(y, s, Indent);
if s <> '' then begin;
@ -1632,12 +1631,14 @@ begin
end;
sbitConvertToTabSpace:
begin
IndentCharsFromLinePos := 0;
Result := CreateTabSpaceMix(Indent, False);
exit;
if not ModifyIndent then Indent := OrigIndent;
end;
sbitConvertToTabOnly:
begin
IndentCharsFromLinePos := 0;
Result := CreateTabSpaceMix(Indent, True);
if not ModifyIndent then Indent := OrigIndent;
exit;