Home Download Buy Blog Forum Support

API commands to control indentation? Spaces>Tabs & viceversa

API commands to control indentation? Spaces>Tabs & viceversa

Postby jakobud on Mon Jan 23, 2012 7:06 pm

Under the View Menu > Indentation, there are a variety of commands that are used to alter the indentation of the current file. Are there API commands for these?

I'd like to create a command that converts 4 space indentation to 2 space-width tab indentation all in one click:

- Change Tab Width to 4
- Convert Indentation to Tabs
- Change Tab Width to 2

Currently I have to access the View menu 3 times to accomplish this.
jakobud
 
Posts: 37
Joined: Wed Feb 17, 2010 6:05 pm

Return to Technical Support

Who is online

Users browsing this forum: No registered users and 36 guests