#3718 closed defect (duplicate)
OMEdit text view editing broken
Reported by: | Owned by: | Adeel Asghar | |
---|---|---|---|
Priority: | blocker | Milestone: | 1.9.4 |
Component: | OMEdit | Version: | v1.9.4-dev-nightly |
Keywords: | Cc: |
Description
The nightly OMEdit has some serious problems when creating models and switching between diagram view and text view that make it nearly unusable. This was introduced maybe a month ago and also affects the 1.9.4 betas.
The issue I was running into was that when defining a parameter in a block (i.e., block_class block(par=val);) and then switching to diagram view, the entire model would get duplicated from the top to the start of the equation section. I will try to make a test case for this, but in the meantime...
While investigating I found a different bug (may be related) that I can reproduce with these steps:
-In a fresh OMEdit session: duplicate the model Modelica.Blocks.Examples.PID_Controller (I called it "broken")
-Open the duplicated model
-Switch to text mode
-Edit anything, e.g., add a space at the end of a line
-Switching to diagram view returns a error saying that there are problems in the text.
I will attach the log from the OMC CLI.
Attachments (1)
Change History (5)
by , 9 years ago
Attachment: | omedit_log.txt added |
---|
comment:1 by , 9 years ago
Resolution: | → duplicate |
---|---|
Status: | new → closed |
Seems like your problem is related to #3698.
The issue is already fixed few days ago. You need to use the latest nightly build.
comment:2 by , 9 years ago
Yes, you are right, sorry. I thought I had gotten the latest, but somehow I didn't get everything pulled down correctly from git.
OMEdit is working much better, however, we still had a problem after a long session where the entire model was erased. I will try to get a log to you to investigate, although it may already be obsolete with all the fixes you've been doing lately.
Log for text view edit bug.