- Timestamp:
- 02/01/12 13:47:03 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/EventBenchConsole/src/de/ugoe/cs/eventbench/swt/ConsoleTabComposite.java
r357 r381 2 2 3 3 import org.eclipse.swt.SWT; 4 import org.eclipse.swt.widgets.Event; 5 import org.eclipse.swt.widgets.Listener; 4 6 import org.eclipse.swt.widgets.Text; 5 7 import org.eclipse.swt.widgets.Label; … … 76 78 gd_textConsoleOutput.widthHint = 456; 77 79 textConsoleOutput.setLayoutData(gd_textConsoleOutput); 80 textConsoleOutput.addListener(SWT.Modify, new Listener(){ 81 public void handleEvent(Event e){ 82 textConsoleOutput.setTopIndex(textConsoleOutput.getLineCount() - 1); 83 } 84 }); 85 78 86 } 79 87
Note: See TracChangeset
for help on using the changeset viewer.