adobe/brackets — pull request #2381 by njx (2012-12-18 01:54:26+00:00)
Title: [cmv3] Fixes for inline editor issues

@gruehle

* Don't try to hide any lines if the range to hide is empty.
* Set inclusiveLeft/inclusiveRight when marking text to be hidden so the first/last lines
are included.
* If focus is in an inline widget before a refresh, restore focus afterward.
* Call _removeInlineWidgetInternal() when we remove a widget since we no longer get called
back in this case.
* Fix up unit test hidden line verification to work with new v3 API.

Note that there are still three failing unit tests in InlineEditorProviders-test. Two of
them are related to inline widget sizing, which will be addressed in a future user story.
The third will be fixed by a bugfix that we're submitting upstream:
https://github.com/njx/CodeMirror/compare/widget-focus