CodeTools: block-completion doesn't understand IFDEF blocks (places 'end;' after '{$ENDIF} block)
Original Reporter info from Mantis: etrusco
-
Reporter name: Flávio Etrusco
Description:
- Write an IFDEF block with closing ENDIF;
- Write code inside the block;
- Upon begin-completion (press Return after 'begin') the 'end;' is written after the ENDIF.
{$IFDEF SafeAssignment}
if FCanary <> @Self then
begin|
{$ENDIF}
end;
- Chaning the IFDEF and ENDIF indention to the same level or below the code doesn't make a difference.
Mantis conversion info:
-
Mantis ID: 20236
-
Version: 0.9.31 (SVN)
-
Monitored by: » alexvins (Alexander Shishkin)