You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When Brackets has an inline editor that contains a nested CodeMirror instance, we do some special work to maintain the visibility of the cursor while in that instance. This is because (horizontally) we have some UI that overlaps the right edge of the inline editor, and we need to account for that when maintaining cursor visibility, and (vertically) we want to make sure that the outer editor scrolls to keep the cursor inside the nested editor visible.
In order to accomplish this, we need the ability to call the (currently internal) flavor of scrollIntoView() that takes a rectangle, as opposed to the public version that just takes a pos, because the rectangle we specify can't be expressed as a pos in the outer editor (since it's a location in the nested editor). Would it be okay to expose the other version of scrollIntoView()?
The text was updated successfully, but these errors were encountered:
When Brackets has an inline editor that contains a nested CodeMirror instance, we do some special work to maintain the visibility of the cursor while in that instance. This is because (horizontally) we have some UI that overlaps the right edge of the inline editor, and we need to account for that when maintaining cursor visibility, and (vertically) we want to make sure that the outer editor scrolls to keep the cursor inside the nested editor visible.
In order to accomplish this, we need the ability to call the (currently internal) flavor of
scrollIntoView()
that takes a rectangle, as opposed to the public version that just takes a pos, because the rectangle we specify can't be expressed as a pos in the outer editor (since it's a location in the nested editor). Would it be okay to expose the other version ofscrollIntoView()
?The text was updated successfully, but these errors were encountered: