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

Inserting opcodes shows wrong jump-destination highlights #56

Closed
Col-E opened this issue Jun 2, 2018 · 0 comments
Closed

Inserting opcodes shows wrong jump-destination highlights #56

Col-E opened this issue Jun 2, 2018 · 0 comments
Labels

Comments

@Col-E
Copy link
Owner

Col-E commented Jun 2, 2018

When inserting new opcodes, it seems the highlighted opcodes are offset by how many new opcodes there are. The issue is fixed by closing and reopening the method opcode list.

To Reproduce
Steps to reproduce the behavior:

  1. Insert an opcode, like GOTO
  2. Select it and notice the destinations are wrong

In this picture the highlighted lines are shifted down by one. The mark function in this case successfully identifies opcode 4 as the fail-case, and opcode 17 as the jump destination. However, the node that receives the CSS class is wrong.
image

@Col-E Col-E added the bug label Jun 2, 2018
@Col-E Col-E closed this as completed in df7f296 Jun 2, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant