Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 12567 - [CVS UI] console should have word wrap
Summary: [CVS UI] console should have word wrap
Status: RESOLVED DUPLICATE of bug 35745
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Debug (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows 2000
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Platform-Debug-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-04-01 16:04 EST by Jeff Brown CLA
Modified: 2004-11-04 14:49 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jeff Brown CLA 2002-04-01 16:04:18 EST
The display of certain command invocation strings can be very
wide if they individually name every resource that will be
operated on.  This could be mitigated via some form of user-
configurable word wrap.
Comment 1 Jeff Brown CLA 2002-04-24 19:19:28 EDT
Should investigate whether problem described in Bug#14570 applies
to CVS console as well.  We tend to generate exceedingly long lines
during Add and Commit in particular.  (Imagine listing out 1000 full
file paths in a row)
Comment 2 Jean-Michel Lemieux CLA 2004-09-30 16:00:46 EDT
added console width
Comment 3 Michael Valenta CLA 2004-11-04 11:08:57 EST
Wrapping seems to obscure text that follows. Try an update from the 
synchornize view with lots of incoming changes. The title will be long because 
of the number of resources and will wrap many lines. The rest of the update 
console output does not apprear
Comment 4 Michael Valenta CLA 2004-11-04 11:16:40 EST
Seems to only happen when the first line is very long (i.e. un aupdate of two 
or three files seems to work). 
Comment 5 Michael Valenta CLA 2004-11-04 12:30:00 EST
Also got this exception doing an update with word wrap on

java.lang.ArrayIndexOutOfBoundsException: 10
	at org.eclipse.swt.custom.DefaultLineStyler.linesChanging
(DefaultLineStyler.java:522)
	at org.eclipse.swt.custom.DefaultLineStyler.textChanging
(DefaultLineStyler.java:502)
	at org.eclipse.swt.custom.StyledText.handleTextChanging
(StyledText.java:5222)
	at org.eclipse.swt.custom.StyledText$6.textChanging
(StyledText.java:4707)
	at 
org.eclipse.ui.internal.console.ConsoleDocumentAdapter.documentAboutToBeChanged
(ConsoleDocumentAdapter.java:295)
	at org.eclipse.jface.text.AbstractDocument.fireDocumentAboutToBeChanged
(AbstractDocument.java:608)
	at org.eclipse.jface.text.AbstractDocument.replace
(AbstractDocument.java:1025)
	at org.eclipse.ui.internal.console.ConsoleDocument.replace
(ConsoleDocument.java:83)
	at org.eclipse.ui.internal.console.IOConsolePartitioner$1.run
(IOConsolePartitioner.java:488)
	at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
	at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages
(Synchronizer.java:118)
	at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:2771)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2451)
	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1527)
	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1498)
	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench
(Workbench.java:276)
	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:144)
	at org.eclipse.ui.internal.ide.IDEApplication.run
(IDEApplication.java:102)
	at org.eclipse.core.internal.runtime.PlatformActivator$1.run
(PlatformActivator.java:335)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run
(EclipseStarter.java:273)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run
(EclipseStarter.java:129)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:324)
	at org.eclipse.core.launcher.Main.basicRun(Main.java:185)
	at org.eclipse.core.launcher.Main.run(Main.java:704)
	at org.eclipse.core.launcher.Main.main(Main.java:688)
Comment 6 Jean-Michel Lemieux CLA 2004-11-04 14:00:50 EST
Moving to debug, we've enable work wrap in the CVS Console but always get the
following exception from IOConsolePartitioner.
Comment 7 Darin Wright CLA 2004-11-04 14:49:11 EST
We likely need to add support for this, we have a document adapter to handle 
the case of fixed width console. Marking as dup.

*** This bug has been marked as a duplicate of 35745 ***