-
-
Notifications
You must be signed in to change notification settings - Fork 116
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
Put cursor at top of file, not bottom #258
Comments
What browser and editor are you using? Please read the text included in the issue templates, it asks to specify this information. Cursor position and text selection should be brought over from the field, so if the cursor is at the top in the browser, it should be at the top in the editor too (on connection). Does that happen? The only issue I know is that the selection isn't updated after the first connection: |
Chrome, emacs.
Well all through this process no cursor position has yet to be In the emacs buffer the cursor is at the end of the buffer. We want it We try point-min in an emacs hook:
Alas that didn't help. OK, starting over, and first clicking somewhere in the browser's textbox Alas, the https://github.com/alpha22jp/atomic-chrome maintainer is not |
Also checking interaction, the cursor also gets put at the bottom both There is a reference to point-max here...
|
This is confirmed to happen in VS Code, so if it doesn't happen in your editor, you can open an issue in its GhostText plugin repo. The browser extension correctly sets the cursor position where the user leaves it, even carrying over the initial selection, if any Screen.Recording.2.mov |
One notices in the editor (emacs) the cursor is always placed at the bottom of the file.
This is in contrast with where we expect it: the top of the file.
The text was updated successfully, but these errors were encountered: