OpenChemistry / tomviz

Cross platform, open source application for the processing, visualization, and analysis of 3D tomography data
https://tomviz.org/
BSD 3-Clause "New" or "Revised" License
325 stars 87 forks source link

Fix python syntax highlighter #2265

Closed psavery closed 2 years ago

psavery commented 2 years ago

ParaView no longer automatically connects the highlighter, so we must connect it manually.

Additionally, we have to put it before the text is set so that the text will be highlighted.

Finally, it appears that the convention now in ParaView is to make the parent the script, so do that.