Skip to content
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

Zoom does not follow cursor correctly at beginning of line #4

Closed
dusek opened this issue Jul 12, 2014 · 0 comments
Closed

Zoom does not follow cursor correctly at beginning of line #4

dusek opened this issue Jul 12, 2014 · 0 comments
Assignees

Comments

@dusek
Copy link

dusek commented Jul 12, 2014

Steps to reproduce:

  1. Enable the Zoom accessibility feature (System Preferences > Accessibility > Zoom > check "Use scroll gesture...") with zoom following text cursor (check "Zoom follows keyboard focus")
  2. Open a document in TextMate
  3. Zoom yourself in (⌃-scroll up), preferably as much as possible to really experience this bug
  4. Move cursor to beginning of any line (⌘←), and then try moving up/down at the beginning of the lines around (↑, ↓), or try to go to the previous line (← twice) and back (→ twice)

Expected Results:
When text cursor is at beginning of a line, Zoom follows (jumps) to the beginning of line, displaying text cursor.

Actual Results:
When text cursor is at beginning of a line, Zoom follows (jumps) somewhere in the middle of the line, between this line and the preceding line.

@dusek dusek self-assigned this Jul 12, 2014
dusek added a commit to dusek/textmate that referenced this issue Jul 12, 2014
bol_as_eol was meant for non-empty ranges, but the only place where
empty ranges were attempted with bol_as_eol was for Zoom tracking,
and it seems like I did not re-test Zoom after making the bol_as_eol
commit.

Fixes textmate/bugs#4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant