Fritigern Gothly Posted May 16, 2019 Share Posted May 16, 2019 Today I responded to a scripting question for the first time in this forum and was rather shocked to find that there is no syntax highlighting for LSL installed. The best that we can do is apply the highlighting for one of the other languages, but I would expect LSL highlighting to be an absolute must on official SL forums. Below, I used the highlighting for CSS, but that's far from ideal, of course. I would be interested to find out how come we don't have LSL highlighting and basically have to make do. default { state_entry() { llOwnerSay("Foo"); } } 2 Link to comment Share on other sites More sharing options...
Coffee Pancake Posted May 16, 2019 Share Posted May 16, 2019 You would think .. and there are a few syntax definitions for various editors already, so it's not like they would need to reinvent the wheel. 2 Link to comment Share on other sites More sharing options...
animats Posted May 16, 2019 Share Posted May 16, 2019 Firestorm's script editor at least knows all the reserved words and all the LSL calls. 1 Link to comment Share on other sites More sharing options...
Fritigern Gothly Posted May 16, 2019 Author Share Posted May 16, 2019 2 hours ago, animats said: Firestorm's script editor at least knows all the reserved words and all the LSL calls. There are also many offline text editors for various operating systems that know LSL, Pastebin also knows LSL, and I know I have come across forums that are LSL-aware. The SL Wiki, as well as the OpenSim wiki, know how to handle LSL and many other online services and offline software can deal with LSL. So why not the SL forum? Surely it should be possible to take a copy of one of the default highlighting definition files, modify it to highlight LSL and deploy it. (With "knowing LSL" I mean, of course, that it has syntax highlighting for LSL.) 2 Link to comment Share on other sites More sharing options...
Coffee Pancake Posted May 16, 2019 Share Posted May 16, 2019 6 hours ago, animats said: Firestorm's script editor at least knows all the reserved words and all the LSL calls. :facepalm: that's because Linden Lab ships the stock viewer with a script editor that has syntax highlighting. 6 Link to comment Share on other sites More sharing options...
Erwin Solo Posted June 16, 2019 Share Posted June 16, 2019 Yes, it would be really nice if pasting code over in the script forums applied the same sort of highlighting that the stock viewer does. 2 Link to comment Share on other sites More sharing options...
Recommended Posts
Please take a moment to consider if this thread is worth bumping.
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now