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

Initial event with id null (if first action is pasting when something is already selected) #5728

Open
david04 opened this issue Jan 27, 2025 · 1 comment

Comments

@david04
Copy link

david04 commented Jan 27, 2025

Describe the bug

Steps to reproduce:

Have some code:

object Hello {
    def main(args: Array[String]) = {
        println("Hello, world")
    }
}
  • Initialize a new editor
  • Select two lines
  • Copy: Ctrl+C
  • Immediately paste: Ctrl+V

Result: You get an event with id null, followed by one with id 1

Expected Behavior

All events should have an id

Current Behavior

You get an event with id null, followed by one with id 1

Reproduction Steps

Already mentioned

Possible Solution

No response

Additional Information/Context

No response

Ace Version / Browser / OS / Keyboard layout

1.37.5

@david04 david04 changed the title Initial event with id null Initial event with id null (if first action is pasting when something is already selected) Jan 27, 2025
@nightwing
Copy link
Member

Could you tell us the name of the event and how do you get it? I couldn't find any event with an id property that ace emits.

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

4 participants