Feature #1106
Mis à jour par Sebastien Jacquot il y a presque 11 ans
The preference "Show export result in the text editor" raises make a null pointer exception when trying to open the exported chart file with internal viewer. It seems normal because TXM tries to open a Text editor and give it some SVG, PNG, etc. files
But after some further tests I have the same problem with concordance, index, etc. under Windows. Can the Text editor read .csv files ?
h3. Solution 1
* fix the text editor bug with .csv (see: org.txm.rcpapplication.commands.OpenFile.openfile(File))
* rename the preference as something like "Display exported results in internal viewer" or "Open exported results in TXM" since it could concern chart files too ?
* manage the opening of other internal editor according to the file format: TXMBrowser for raster formats: PNG, JPG; SVG Batik Editor for SVG; external viewer for PS, PDF (or add some libs for these formats)
h3. Solution 2
* fix the text editor bug with .csv (see: org.txm.rcpapplication.commands.OpenFile.openfile(File))
* add a preference as "Show/Open/Display exported charts in external viewer" ?
h3. Solution 3
* mix solution 1 and 2, i.e. manage internal viewer opening and also external viewer opening for all TXM result types
h3. Misc
* I think the word "Open" or "Display" would be better than "Show" ?
But after some further tests I have the same problem with concordance, index, etc. under Windows. Can the Text editor read .csv files ?
h3. Solution 1
* fix the text editor bug with .csv (see: org.txm.rcpapplication.commands.OpenFile.openfile(File))
* rename the preference as something like "Display exported results in internal viewer" or "Open exported results in TXM" since it could concern chart files too ?
* manage the opening of other internal editor according to the file format: TXMBrowser for raster formats: PNG, JPG; SVG Batik Editor for SVG; external viewer for PS, PDF (or add some libs for these formats)
h3. Solution 2
* fix the text editor bug with .csv (see: org.txm.rcpapplication.commands.OpenFile.openfile(File))
* add a preference as "Show/Open/Display exported charts in external viewer" ?
h3. Solution 3
* mix solution 1 and 2, i.e. manage internal viewer opening and also external viewer opening for all TXM result types
h3. Misc
* I think the word "Open" or "Display" would be better than "Show" ?