modelica-tools / atom-language-modelica

Modelica language support for the atom editor
https://atom.io/packages/language-modelica
Other
8 stars 4 forks source link

docview: images #28

Open thorade opened 9 years ago

thorade commented 9 years ago

It seems images in the documentation are not displayed in the docview. Modelica.Blocks.Continuos.Filter is one example https://github.com/modelica/Modelica/blob/release/Modelica%203.2.1/Blocks/Continuous.mo#L2043

tshort commented 9 years ago

I was aware of this one. Images have a modelica:// protocol. If that maps cleanly to a relative address, we could support images. The images in the MSL seem to map cleanly, but I'm not sure about others. If it is a path search, it will be quite a harder.

thorade commented 9 years ago

I have not fully understood the modelica:// protocol, but I believe one could (in Dymola) also reference a file from another library that is opened at the same time. One could say this part works only for files that are within the same library, at least as a starting point!?