Skip to content

Fix indentation of javascript statements under multi-line statement bloc...#1553

Closed
chandrap wants to merge 1 commit intocodemirror:masterfrom
chandrap:patch-2
Closed

Fix indentation of javascript statements under multi-line statement bloc...#1553
chandrap wants to merge 1 commit intocodemirror:masterfrom
chandrap:patch-2

Conversation

@chandrap
Copy link
Copy Markdown

...k.

Let me know your opinion on this fix.

https://groups.google.com/forum/#!topic/codemirror/wXQm2H0ACyA/discussion

myproj.blah.blah.enterDocument =
function() { <== 4-space multi-line statement block.
goog.base(this, 'enterDocument'); // <== expected 2-space indentation.
goog.base(this, 'enterDocument'); // <== actual/incorrect 6-space indentation.

…lock.

Let me know your opinion on this fix.

https://groups.google.com/forum/#!topic/codemirror/wXQm2H0ACyA/discussion

myproj.blah.blah.enterDocument =
    function() { <== 4-space multi-line statement block.
  goog.base(this, 'enterDocument'); // <== expected 2-space indentation.
      goog.base(this, 'enterDocument'); // <== actual/incorrect 6-space indentation.
@marijnh
Copy link
Copy Markdown
Member

marijnh commented Jun 6, 2013

Please try with patches 69e9473 + 36da87e .

@marijnh marijnh closed this Jun 17, 2013
anaran pushed a commit to anaran/CodeMirror that referenced this pull request Feb 22, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants