Author: koen.aers(a)jboss.com
Date: 2011-03-10 21:13:14 -0500 (Thu, 10 Mar 2011)
New Revision: 29699
Modified:
trunk/forge/plugins/org.jboss.tools.seam.forge/src/org/jboss/tools/seam/forge/view/ConsoleViewer.java
Log:
add wrapping to the text viewer
Modified:
trunk/forge/plugins/org.jboss.tools.seam.forge/src/org/jboss/tools/seam/forge/view/ConsoleViewer.java
===================================================================
---
trunk/forge/plugins/org.jboss.tools.seam.forge/src/org/jboss/tools/seam/forge/view/ConsoleViewer.java 2011-03-11
01:06:14 UTC (rev 29698)
+++
trunk/forge/plugins/org.jboss.tools.seam.forge/src/org/jboss/tools/seam/forge/view/ConsoleViewer.java 2011-03-11
02:13:14 UTC (rev 29699)
@@ -44,7 +44,7 @@
}
protected StyledText createTextWidget(Composite parent, int styles) {
- ConsoleText styledText= new ConsoleText(parent, styles);
+ ConsoleText styledText= new ConsoleText(parent, styles | SWT.WRAP);
styledText.setLeftMargin(Math.max(styledText.getLeftMargin(), 2));
styledText.addKeyListener(new ConsoleKeyListener());
return styledText;
Show replies by date