Multi-line comments ending in '**/' cause ArrayIndexOutOfBoundsException #4397

Closed
colinmorris opened this Issue Apr 9, 2016 · 1 comment

Comments

Projects
None yet
2 participants
@colinmorris

Small repro:

/*
 * Hello World
**/

void foo() {
}

Pasting that into a sketch gives me exceptions galore when I try to move the cursor around or select a block of text. Same error message as #1940, but I figured I'd open a new issue since that one was closed, and looks like it probably was a different root cause.

@GKFX

This comment has been minimized.

Show comment
Hide comment
@GKFX

GKFX Apr 11, 2016

Contributor

Thanks; I think I've fixed this now.

Contributor

GKFX commented Apr 11, 2016

Thanks; I think I've fixed this now.

@benfry benfry closed this in #4402 May 9, 2016

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