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

Bug: Bookmarks "sticks" the code position #1986

Open
BuoYancYdabl opened this issue Jul 20, 2022 · 1 comment
Open

Bug: Bookmarks "sticks" the code position #1986

BuoYancYdabl opened this issue Jul 20, 2022 · 1 comment
Labels
bug editor: code Issues related to code editor input: keyboard Issues with keyboard controls

Comments

@BuoYancYdabl
Copy link

BuoYancYdabl commented Jul 20, 2022

Issue
Sometimes when you have bookmarks, you can use the other part of code not marked by bookmarks. And for some reason after you open sprite or map editor and then go back your code editor position will be on one of this bookmarks. It sets which bookmark it will stick to by random. I had 2 bookmarks and after going back and forth between editors my code was randomly jumping between this two bookmarks.

How to recreate

  1. Put bookmark anywhere you want;
  2. Scroll somewhere else, write some code so the pointer will define its new position;
  3. Open map or sprite editor, choose diferent sprites by pointer or do something;
  4. Go back.
    You'll see pointer is now on the bookmark and not where it was supposed to be.
@BuoYancYdabl BuoYancYdabl changed the title (Bug) Bookmarks "sticks" the code position Bug: Bookmarks "sticks" the code position Jul 20, 2022
@nesbox nesbox added this to To do in dev version 1.2 via automation Jul 26, 2022
@Skeptim
Copy link
Contributor

Skeptim commented Oct 23, 2023

That's due to using F1 to switch to code editor. That's true also when you switch from game to code editor with Esc+F1.
And when you have several bookmarks it will move to the next bookmark each time.

@aliceisjustplaying aliceisjustplaying added bug editor: code Issues related to code editor input: keyboard Issues with keyboard controls labels May 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug editor: code Issues related to code editor input: keyboard Issues with keyboard controls
Projects
Development

No branches or pull requests

3 participants