SVG Syntax Highlighting

8track 10 years ago 0
Currently the user can select HTML or XML or Javascript from the Syntax Definition popover. But SVG usually involves tags and Javascript, so it would be nice to have a mixture of these highlighting rules. In particular, inside of <script> tags it should highlight for Javascript and outside it should highlight for tags. (Maybe this suggestion would also make sense for regular HTML with Javascript.) At the very least, Textastic should have an SVG entry in that popover and apply some kind of highlighting by default (probably XML). Thanks!