We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 82338ec commit bb6c524Copy full SHA for bb6c524
1 file changed
frontend/memoutil.pas
@@ -127,7 +127,7 @@ function Indent(S: string): string;
127
if S.IsEmpty or S.Trim.IsEmpty then begin
128
Result := S;
129
end else begin
130
- Result := #9 + S;
+ Result := ' ' + S;
131
end;
132
133
@@ -259,8 +259,8 @@ procedure SmartKeyDown(Memo: TMemo; var Key: word; Shift: TShiftState);
259
260
261
if Memo.SelLength = 0 then begin
262
- // No selection. Insert a TAB.
263
- // Memo.SelText := #9; Key := 0;
+ // No selection. Insert 2 spaces.
+ Memo.SelText := ' '; Key := 0;
264
265
// With selection. Indent lines.
266
Sel := GetMemoSelectedLines(Memo);
0 commit comments