- Timestamp:
- 04/17/06 18:36:48 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/thestaticvoid/iriverter/LogViewer.java
r97 r99 54 54 public void logMessage(final String message) { 55 55 Display.getDefault().syncExec(new Runnable() { 56 public void run() { 56 public void run() { 57 57 text.append(message + "\n"); 58 text.setCaretOffset(text.getCharCount());59 58 60 59 if (message.charAt(0) == Logger.PREFIX[Logger.INFO].charAt(0)) … … 69 68 for (int i = 0; i < lineColors.size(); i++) 70 69 text.setLineBackground(i, 1, (Color) lineColors.get(i)); 70 71 text.setSelection(text.getCharCount()); 71 72 } 72 73 });
Note: See TracChangeset
for help on using the changeset viewer.
