IDE debug stepping key short-cuts not working #4804

Closed
timescale opened this Issue Dec 30, 2016 · 3 comments

Comments

Projects
None yet
3 participants
@ghost

ghost commented Dec 30, 2016

Using the key short-cuts to debug (Ctrl+J and Ctrl+Shift+J) put newlines into the code. Ctrl+Alt+J does not. The debug command does run but it litters the code with newlines.

Processing 3.2.3, on Windows 10.

@timescale timescale changed the title from IDE debug stepping key short cuts not working to IDE debug stepping key short-cuts not working Dec 31, 2016

@joelmoniz

This comment has been minimized.

Show comment
Hide comment
@joelmoniz

joelmoniz Dec 31, 2016

Member

I can reproduce this from the current source on Windows 10. Also, placing the cursor in between a line before hitting Ctrl+J or Ctrl+Shift+J makes the new line start from the cursor.

The error broadly seems to be because the auto-indent code gets erroneously called in the handlePressed() method. I'm working on narrowing down the exact cause, and should hopefully have a fix in soon.

Member

joelmoniz commented Dec 31, 2016

I can reproduce this from the current source on Windows 10. Also, placing the cursor in between a line before hitting Ctrl+J or Ctrl+Shift+J makes the new line start from the cursor.

The error broadly seems to be because the auto-indent code gets erroneously called in the handlePressed() method. I'm working on narrowing down the exact cause, and should hopefully have a fix in soon.

@ghost

This comment has been minimized.

Show comment
Hide comment
@ghost

ghost Dec 31, 2016

Thanks for looking into it Joel, as a fellow programmer (though not proficient in Java [yet?] )I know that replicating the bug is at least half of the battle.

ghost commented Dec 31, 2016

Thanks for looking into it Joel, as a fellow programmer (though not proficient in Java [yet?] )I know that replicating the bug is at least half of the battle.

@benfry

This comment has been minimized.

Show comment
Hide comment
@benfry

benfry Jan 29, 2017

Member

Duplicate of #3830

Member

benfry commented Jan 29, 2017

Duplicate of #3830

@benfry benfry added the duplicate label Jan 29, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment