#1651 SciTE 3.5.0 - javascript - wrong indention

Bug
open-accepted
scite (77)
3
2014-10-10
2014-08-31
gappi
No

If you type in the following lines in a javascript file the comment gets indented although it should not.

function unsless()
{
var abc = {};
// this shoule not be indented
}

Discussion

  • Neil Hodgson

    Neil Hodgson - 2014-09-01

    I won't be working on this.

     
  • Neil Hodgson

    Neil Hodgson - 2014-09-01
    • labels: --> scite
    • status: open --> open-accepted
    • assigned_to: Neil Hodgson
    • Priority: 5 --> 3
     
  • gappi

    gappi - 2014-09-01

    Just for completeness.
    The following line shows same behavour:

    var abc = [];

    After those lines indention for all subsequent lines is broken until the next closing brace is found.

    For clarification - the above are the commonly used short terms for:

    var abc = new Object();
    var abc = new Array();

     
  • Mike Cowperthwaite

    FWIW, I don't see this behavior in Notepad++ which uses Scintilla 3.3.4.

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks