EmEditor (text editor) Forum Index
   EmEditor Core Enhancement Suggestions
     Less clever autoindent
Register To Post

Threaded | Oldest First Previous Topic | Next Topic | Bottom
Poster Thread
frode
Posted on: 1/26/2008 5:00 am
Just popping in
Joined: 1/26/2008
From:
Posts: 5
Re: Less clever autoindent
Didn't think of trying that (blush).

Thanks!
Frode
Yutaka
Posted on: 1/26/2008 4:05 am
Webmaster
Joined: 9/28/2006
From: Redmond
Posts: 2423
Re: Less clever autoindent
Quote:

frode wrote:
I would like an option to indent a line as the previous line, no matter what character the line ends with. I'm programming in javascript, and structure the code in following manner:
kontakter = new Ext.Panel({
    region: 'center',
    title: 'Kontakter',
    width: 400
});

This is an usual way to structure code with the Extjs library. But EmEditor indents the lines starting with 'title' and 'width', because the previous sentence does not end with a semicolon, and hence is not an end of statement. I haven't found a way to change this behaviour.

Frode


How about removing any characters in the "End of Statement" text box?


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

frode
Posted on: 1/26/2008 2:44 am
Just popping in
Joined: 1/26/2008
From:
Posts: 5
Less clever autoindent
I would like an option to indent a line as the previous line, no matter what character the line ends with. I'm programming in javascript, and structure the code in following manner:
kontakter = new Ext.Panel({
    region: 'center',
    title: 'Kontakter',
    width: 400
});

This is an usual way to structure code with the Extjs library. But EmEditor indents the lines starting with 'title' and 'width', because the previous sentence does not end with a semicolon, and hence is not an end of statement. I haven't found a way to change this behaviour.

Frode
Threaded | Oldest First Previous Topic | Next Topic | Top


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