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:
benfry
2002-09-02 03:43:51 +00:00
parent da9fe9f137
commit 9cadd71f40
5 changed files with 92 additions and 27 deletions

View File

@@ -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);