alancc
alancc

Reputation: 799

How to Unindent a block of code in Delphi XE3?

I am using Delphi XE3. Is there a way to unindent a block of codes? I check the edit menu and cannot find such an option.

Upvotes: 0

Views: 388

Answers (1)

David Heffernan
David Heffernan

Reputation: 612914

For indenting and outdenting a block, you can use the following shortcuts:

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

Not all versions of Delphi support all of these different options. You will, obviously, have to use ones that work for your version.

This information can be found in the documentation:

Upvotes: 4

Related Questions