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

Scroll position not restored correctly when switching documents after font size change #7125

Open
RaymondLim opened this issue Mar 7, 2014 · 2 comments
Assignees

Comments

@RaymondLim
Copy link
Contributor

  1. Start Brackets with default font size. If you have changed font size before, then you can press Ctrl+0 to restore default one and reload with Ctrl+R.
  2. Open a document with at least 300 lines and scroll down to the bottom of the page. Remember the line number of the first visible line.
  3. Open another document and then press Ctrl++ to increase font size.
  4. Select the document opened in step 2 in the working set.

Result: The document opened in step 2 is now using a larger font, but the first visible line is not the line you remembered in step 2.
Expected: Should adjust scroll position to maintain the anchor line of the visible area.

@RaymondLim RaymondLim self-assigned this Mar 7, 2014
@RaymondLim RaymondLim added this to the Brackets 1.0 milestone Mar 20, 2014
@RaymondLim
Copy link
Contributor Author

Nominating for Brackets 1.0.

@pthiess pthiess removed this from the Brackets 1.0 milestone May 1, 2014
@pthiess
Copy link
Contributor

pthiess commented May 1, 2014

Removing 1.0 milestone -- seems not that often that the font size being changed...

@peterflynn peterflynn changed the title Scroll positions may not be restored correctly when selecting previously opened document. Scroll position not restored correctly when switching documents after font size change Oct 16, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants