- AuthorPosts
- January 26, 2008 at 11:44 am #5366frodeMember
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
January 26, 2008 at 1:05 pm #5371Yutaka EmuraKeymasterfrode 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?
January 26, 2008 at 2:00 pm #5372frodeMemberDidn’t think of trying that (blush).
Thanks!
Frode - AuthorPosts
- You must be logged in to reply to this topic.