Skip to content
This repository has been archived by the owner on Sep 6, 2021. It is now read-only.

More CSS parsing unit tests (and beef up EditorManager docs) #358

Merged
merged 5 commits into from
Mar 1, 2012

Conversation

peterflynn
Copy link
Member

- Document EditorManager.createInlineEditorFromText() better; in particular,
  the precise meaning of 'range'
- Add "known issue" unit tests for #338 and #343 (plus another case of #332)
* origin/master:
  Update CodeMirror SHA
  Update CodeMirror SHA
  For issue 344, make sure we don't show horizontal scrollbars within an inline editor
* origin/master:
  Fix issue #341
  Don't adjust endLine on inline editors.
@chrisbank
Copy link
Contributor

reviewing

manager._loadString(cssCode);

// shouldn't get here since _loadString() is expected to throw
this.fail("Expected parse error: "+cssCode);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This line is showing 3 JS Lint errors

- Further improve EditorManager.createInlineEditorFromText() docs
@chrisbank
Copy link
Contributor

@peterflynn looks good. Just fix the lint errors on that line.

…rror()

- Add more expected failures for the additional cases Randy found in issue #343
@peterflynn
Copy link
Member Author

I fixed the JSLint errors and added more !/? to that comment.
I also realized the docs for expectParseError()'s 2nd arg were totally wrong (doh!), so I fixed that.
Finally, I added a few more cases to cover additional parsing errors Randy mentioned in issue #343.

@chrisbank
Copy link
Contributor

looks good

chrisbank added a commit that referenced this pull request Mar 1, 2012
More CSS parsing unit tests (and beef up EditorManager docs)
@chrisbank chrisbank merged commit 9d5412a into master Mar 1, 2012
gideonthomas pushed a commit to gideonthomas/brackets that referenced this pull request Jul 6, 2015
Don't double-fire bramble:loaded, and Bramble ready event
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants