2012-12-23 23:38
莲池路口
Cnpack在delphi中有没有自定义缩进对齐的方法?
[color=#000000][size=5][font=宋体]我个人习惯于把[/font][font=Times New Roman]if…then[/font][font=宋体]格式写成[/font][/size][/color]
[font=Times New Roman][size=5][color=#000000]If ….[/color][/size][/font]
[color=#000000][size=5][font=Times New Roman] Then [/font][font=宋体]的格式。[/font][/size][/color]
[color=#000000][size=5][font=宋体]但是,[/font][font=Times New Roman]Cnpack[/font][font=宋体]在[/font][font=Times New Roman]delphi[/font][font=宋体]中不支持这种格式,这样在多重[/font][font=Times New Roman]if[/font][font=宋体]语句嵌套的时候就会非常混乱。我想知道,有没有什么自定义的方法,定义我需要的这种缩进对齐?[/font][/size][/color]
[font=宋体][size=5][color=#000000]请各位高手不吝赐教,谢谢![/color][/size][/font]