简体   繁体   English

如何在Delphi XE3中取消缩进代码块?

[英]How to Unindent a block of code in Delphi XE3?

I am using Delphi XE3. 我正在使用Delphi XE3。 Is there a way to unindent a block of codes? 有没有一种方法可以使代码块缩进? I check the edit menu and cannot find such an option. 我检查了编辑菜单,但找不到这样的选项。

For indenting and outdenting a block, you can use the following shortcuts: 要使块缩进和缩进,可以使用以下快捷方式:

  • TAB (indent), SHIFT + TAB (outdent) TAB (缩进), SHIFT + TAB (缩进)
  • SHIFT + CTRL + I (indent), SHIFT + CTRL + U (outdent) SHIFT + CTRL + I (缩进), SHIFT + CTRL + U (缩进)
  • CTRL + K + I (indent), CTRL + K + U (outdent) CTRL + K + I (缩进), CTRL + K + U (缩进)

Not all versions of Delphi support all of these different options. 并非所有版本的Delphi都支持所有这些不同的选项。 You will, obviously, have to use ones that work for your version. 显然,您将必须使用适用于您的版本的软件。

This information can be found in the documentation: 可以在文档中找到此信息:

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM