EmEditor (text editor) Forum Index
   Questions and Answers about Macros
     want to indent block by one column
Register To Post

Flat Previous Topic | Next Topic
Poster Thread
Yutaka
Posted on: 4/24/2009 2:09 pm
Webmaster
Joined: 9/28/2006
From: Redmond
Posts: 2423
Re: want to indent block by one column
Quote:

gning wrote:
Well, I did find the Insert Spaces plugin, but that's clumsy to use and only goes inward, not outward. Better than nothin'...



This is a macro to change the tab/indent length. I hope this helps.


cfg = document.Config;
do {
    n = prompt( "Enter new indent/tab length in characters:", cfg.Indent.TabColumns );
} while( n <= 0 || n > 16 );
cfg.Indent.IndentColumns = cfg.Indent.TabColumns = n;
cfg.Save();


----------------
Yutaka Emura
Developer of EmEditor
http://www.emeditor.com/

Flat Previous Topic | Next Topic


Subject Poster Date
   want to indent block by one column gning 2/24/2009 3:08 pm
     Re: want to indent block by one column Yutaka 2/24/2009 3:20 pm
       Re: want to indent block by one column gning 2/24/2009 7:49 pm
         Re: want to indent block by one column Yutaka 2/24/2009 9:49 pm
           Re: want to indent block by one column gning 3/17/2009 10:37 am
             Re: want to indent block by one column Yutaka 3/17/2009 2:49 pm
               Re: want to indent block by one column gning 4/14/2009 4:41 pm
                 Re: want to indent block by one column gning 4/23/2009 2:39 pm
                 » Re: want to indent block by one column Yutaka 4/24/2009 2:09 pm
                     Re: want to indent block by one column gning 6/16/2011 6:49 pm
                       Re: want to indent block by one column Yutaka 6/17/2011 8:17 am

Register To Post
 
English čeština Deutsch español français italiano 日本語 한국어 Русский 简体中文 繁體中文