- Index
- » Usage and Applications
- » OpenModelica Usage and Applications
- » Line indentation in OMEdit and...
Line indentation in OMEdit and suggested improvement
Line indentation in OMEdit and suggested improvement
First let me thank you for the great efforts conducted for OMEdit. I was reliably able to construct Modelica libraries using this tool.
In the latest version 1.13.0, some changes happend w.r.t. lines indentation. Whenever I save a model component after editing it, OMEdit automatically indent the lines (usually does not end in a reliable outlook). I played with couple of combination of options but did not arrive what I really need. As it was the case with the last version (1.12.0), I want to indent the lines my self in the way I left them.
Couple of other suggested features are:
* Move a component from a package to another within a library
* Rename a component
I currently have my own work-arounds and tricks but these are definitely significant for large-scale modeling.
Also OMEdit crashs occasionally. Any tricks / recommendation to reduce such events (other than not to listen to youtube music from firefox)?
Re: Line indentation in OMEdit and suggested improvement
I have the same problem on Windows x64 and for the moment a restart of OMedit doesn't help
...I just observed that the extra indentation spaces are not added if you follow those steps: suppose you have two models A and B inside a package, make some changes inside A, but before saving go to B (open its window) and finally press the save bottom. When you go back to A text-code you will see that no indentation spaces have been added. Black magic.
Re: Line indentation in OMEdit and suggested improvement
I have noticed one more thing. If you modify the code of model A and B, but you stay inside the window of B and save, then only the code of B will be saved but the changes in A will NOT be saved. But if you open another window, for example of model C, and press the save bottom then both A and B changes will be saved! Plus, no additional indentations will be added to the code of A and B.
This is just a work around unfortunately.
Re: Line indentation in OMEdit and suggested improvement
This is a known issue and hopefully will be fixed soon.
Adeel.
- adeas
- 454 Posts
- Index
- » Usage and Applications
- » OpenModelica Usage and Applications
- » Line indentation in OMEdit and...