mirror of
https://github.com/processing/processing4.git
synced 2026-01-27 02:11:08 +01:00
Fixed EDT placement.
This commit is contained in:
@@ -112,8 +112,7 @@ class PdeAdapter {
|
||||
|
||||
static Offset toLineEndCol(String s, int offset) {
|
||||
Offset before = toLineCol(s, offset);
|
||||
int remaining = s.substring(offset).indexOf('\n');
|
||||
return new Offset(before.line, before.col + remaining);
|
||||
return new Offset(before.line, Integer.MAX_VALUE);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user