|
From: Raymond T. <toy...@gm...> - 2025-07-10 15:08:28
|
On 7/8/25 12:44 PM, Jaime Villate wrote: > On 08/07/25 16:50, Robert Dodier wrote: >> I cobbled together a syntax highlighting package by adapting some >> existing colorization scheme (I forget which one). The major issue is >> probably the list of keywords which are considered built-in. > > I've just run across a very simple syntax highlighter that works > better: our own bug tracking system in Sourceforge. Look at the > example in the attached file; "set_plot_option" and "plot2d" were > identified as function names, but "sin" was not; if I had written > sin(x) I guess it would had become blue. That's quite nice. But it's hard to know how well that would work for the entire manual full of random examples. Is it available as a separate package? ​ |