adobe/brackets — pull request #1264 by peterflynn (2012-07-17 07:11:01+00:00)
Title: Fix issue #1240 (Inline editor background width)

Fix issue #1240 (Inline editor background doesn't extend all the way to right when scrolling)

CodeMirror changed the way it props its width open such that lineSpace's width is no longer explicitly set to the max width of all the lines (lines wider than the viewport simply overflow it). We were checking this width to decide how wide inline editors must be. However, lineSpace's _content_ is still as wide as the max line (due to the pos of the new widthForcer div) so we can use lineSpace's scrollWidth and still get an accurate number.

See the bug for slightly more detail.