Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #5366

    frode
    Member

    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

    #5371

    Yutaka Emura
    Keymaster

    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?

    #5372

    frode
    Member

    Didn’t think of trying that (blush).

    Thanks!
    Frode

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.

Share with friends... Tweet about this on TwitterShare on FacebookShare on Google+Email this to someone