Difference between revisions of "User:Zai Lynch/LSL highlighting in Joe"
m (+screen) |
(added link) |
||
Line 3: | Line 3: | ||
|- | |- | ||
|valign="top"| | |valign="top"| | ||
<div id="box"> | <div id="box"> | ||
== About == | == About == | ||
Line 22: | Line 18: | ||
sudo apt-get install joe | sudo apt-get install joe | ||
</div> | </div> | ||
Enter your root password and confirm that you'd like to install joe. Afterwards, download the ''.jsf'' file from | Enter your root password and confirm that you'd like to install joe. Afterwards, download the ''.jsf'' file from [http://code.google.com/p/hilitelsl/downloads/detail?name=lsl.jsf&can=2&q= Google code]. | ||
Place it at the ''syntax'' subdirectory of joe. For me, it's located at <code>/etc/joe/syntax</code> and you can do so by | Place it at the ''syntax'' subdirectory of joe. For me, it's located at <code>/etc/joe/syntax</code> and you can do so by |
Revision as of 02:21, 26 March 2009
AboutThis page describes how to get LSL syntax highlighting for Joe's Own Editor a.k.a. Joe. I'll describe how to get it working in Ubuntu 8.04, though it should be easily portable to any other system joe's working on. InstructionsFirst of all, you'll need to get joe installed. You can do so by opening a command prompt and typing sudo apt-get install joe Enter your root password and confirm that you'd like to install joe. Afterwards, download the .jsf file from Google code. Place it at the syntax subdirectory of joe. For me, it's located at sudo mv lsl.jsf /etc/joe/syntax Then copy the .joerc file to your home directory in order to make a small change to it. Type sudo cp /etc/joe/.joerc ~ Edit the file and add the following lines to it's bottom: *.lsl -syntax lsl Congratz! You just successfully set up your joe to highlight LSL syntax. Just save any lsl script as NAME.lsl and open it with joe. NoteThis highlighter supports multi-line comments with /* comment */ syntax. These comments only work in the most recent SL Viewers (although the inworld editor doesn't highlight them yet). Related Pages |
|