mirror of
https://github.com/processing/processing4.git
synced 2026-02-08 08:09:32 +01:00
X don't throw exceptions for serial on startup if no serial available?
o gets upset on osx if rxtx not installed during menu building X actually, it just throws UnsatisfiedLinkError X make a note in the readme, particularly wrt macos X readme additions X size() and background() need regular nums, no vars X hidden features/niceties X click sketch title to rename X mention shift-run for present mode X known issues X macos sketch window resizing strangely X win95/98/me version acts poorly or doesn't run X as approaches 1000 lines, editorconsole has arrayindexoutof bounds
This commit is contained in:
@@ -218,7 +218,7 @@ public class PdeEditorConsole extends Component {
|
||||
//int ii = (firstLine + i) % maxLineCount;
|
||||
int ii = (firstLine + i) + scrollOffset;
|
||||
while (ii < 0) ii += maxLineCount;
|
||||
if (ii > maxLineCount) ii = ii % maxLineCount;
|
||||
if (ii >= maxLineCount) ii = ii % maxLineCount;
|
||||
|
||||
g.setColor(isError[ii] ? fgColorErr : fgColorOut);
|
||||
//System.out.println(leading);
|
||||
|
||||
Reference in New Issue
Block a user