Issue #84

Issue #19 appears again in Modelio 2.2.x

Added by Marijan Matic over 6 years ago.

Status:NewStart date:18 January 2013
Priority:MediumDue date:
Assignee:-% Done:

0%

Category:-
Target version:-

Description

Modelio 2.2.x use org.eclipse.swt.os_XXX version 3.7.2. I don’t know the swt version in previous versions of modelio (2.0 and 2.1 ). Method append() ( class org.eclipse.swt.custom.StyledText ) from version 3.7 does not move the caret at the end of text once the new text is appended so setCaretOffset needs to be called. This was not needed in swt version in modelio 2.0 and 2.1. Now, the console input/output is not working properly (again – see http://forge.modelio.org/issues/19 )

When user navigates with arrow keys around the text, it is not possible to suppress the key output. So is necessary to cut/paste the key and append it at the end.

There are two possible solutions 1. using select/cut/move/paste 2. using get/replace/append/move

Additionally the ProcessManager has been modified too. Now it use method read instead of readLine.

The possible solution files and test file are provided in the attachment.

src.zip (4.65 KB) Marijan Matic, 18 January 2013 15:30

AppMain.java Magnifier (1.98 KB) Marijan Matic, 18 January 2013 15:30

Also available in: Atom PDF