Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Problem with MessageConsole and new line(Only on windows)
Problem with MessageConsole and new line [message #1064230] Tue, 18 June 2013 10:40
Marco Orlandin is currently offline Marco OrlandinFriend
Messages: 6
Registered: January 2013
Junior Member
Hi, in an rcp application there are some strings that need to be printed out to a MessageConsole (in the following piece of code console is a reference to an eclipse MessageConsole).

public void addMessage(final String message) {
		Display.getDefault().asyncExec(new Runnable() {

			public void run() {

				MessageConsoleStream out = console.newMessageStream();
				for (VErrorPreview vep : ePreviews)

If i call this method more times only the first string has a new line at the end, the others are one after another. This seem to happen only on windows (with eclipse 4.2 and 3.Cool, and another strange thing is that if i use print instead of println i have the same result, the first string, a new line and then the others one after another.
Previous Topic:Closing (not hiding) a part
Next Topic:Which eclipse listener should I use to add annotations to an editor
Goto Forum:

Current Time: Mon Dec 06 12:47:46 GMT 2021

Powered by FUDForum. Page generated in 0.02075 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top