-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[CLOSED] Fix issue #1240 (Inline editor background width) #1247
Comments
Comment by redmunds reviewing |
Comment by redmunds Yes, this fixes the issue captured in #1240, but I am seeing another issue:
Is that related to this fix, or should I log a new issue? |
Comment by peterflynn
|
Comment by redmunds This fix looks good. |
Issue by peterflynn
Tuesday Jul 17, 2012 at 07:11 GMT
Originally opened as adobe/brackets#1264
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.
peterflynn included the following code: https://github.com/adobe/brackets/pull/1264/commits
The text was updated successfully, but these errors were encountered: