Difference between revisions of "User:Kuraiko Yoshikawa/sandbox/LSL Goodies/nano"

From Second Life Wiki
Jump to navigation Jump to search
m (removed superfluous </nowiki>)
m
Line 1: Line 1:
==LSL Syntax Highlighting==
{{#vardefine:title|Nano-Editor}}
{{#vardefine:file|[http://code.google.com/p/hilitelsl/downloads/detail?name=lsl.nanorc lsl.nanorc]}}
{{#vardefine:img|Nano-lsl-highlight.jpg}}
<!-- Style Variables -->
{{#vardefine:box|style="
background-color: gray;
color: black;
font-size: 1.2em;
font-weight: bold;
border-bottom: black 1px dashed; 
-moz-border-radius-topleft: 10px;
-moz-border-radius-topright: 10px;
-webkit-border-top-left-radius: 10px;
-webkit-border-top-right-radius: 10px;
padding-left: 5px;
"}}
{{#vardefine:codetab|style="border: 1px solid black; background-color: #323232; {{NewStyle|border-radius|10px|moz=*|webkit=*}}"}}
<!-- END -->
 
 


<div id="box" style="background-color: light-gray; {{NewStyle|border-radius|10px|moz=*|webkit=*}}">
<div id="box" style="background-color: light-gray; {{NewStyle|border-radius|10px|moz=*|webkit=*}}">
<div style="background-color: gray; color: black; font-size: 1.2em; font-weight: bold; border-bottom: black 1px dashed; {{NewStyle|border-radius-topleft|10px|moz=*|webkit=*}} {{NewStyle|border-radius-topright|10px|moz=*|webkit=*}} padding-left: 5px;">For Nano-Editor</div>
<div {{#var:box}}>{{#var:title}}</div>
<div style="padding: 10px 10px 10px 10px;">
<div style="padding: 10px">
A lsl syntax highlighting file for Nano-Editor which you can find here.<br>
<pre style="border:0; padding:0; background-color: transparent; color:black;">
_____ _ _     
|  ___(_) | ___
| |_  | | |/ _ \
| _| | | | __/
|_|  |_|_|\___|
</pre>
You can find the syntax file (and others) in our Google Code Project


25 March 2009 → [http://zeitenwerk.de/sandbox/lsl-nano.tar.gz lsl-nano.tar.gz]<br>
{{#var:file}}


<pre style="border:0; padding:0; background-color: transparent; color:black;">
  ___          _        _ _                                                   
|_ _|_ __  ___| |_ __ _| | |                                                 
  | || '_ \/ __| __/ _` | | |                                                 
  | || | | \__ \ || (_| | | |                                                 
|___|_| |_|___/\__\__,_|_|_|
</pre>


<div style="color: black; background: #d9d9d9; border: #132f78 dashed 1px; padding: 10px 10px 10px 10px; {{NewStyle|border-radius|10px|moz=*|webkit=*}}">
To install put the '''lsl.nanorc''' in '''/usr/share/nano/''' or where you want and create
<pre style="border:0; padding:0; background-color: transparent;">
the file '''.nanorc''' in your '''home directory''' with the following line:
___          _        _ _
<table {{#var:codetab}}><tr><td>
|_ _|_ __  ___| |_ __ _| | |                                                 
<pre style="border: 0; padding: 0; background-color: transparent; color: lightgray;">
| || '_ \/ __| __/ _` | | |                                                 
| || | | \__ \ || (_| | | |                                                 
|___|_| |_|___/\__\__,_|_|_|                                                 
                                                                             
To install put lsl.nanorc in /usr/share/nano/ or where you want and create    
the file .nanorc in your home directory                                      
with the following line:
include "/usr/share/nano/lsl.nanorc"
include "/usr/share/nano/lsl.nanorc"
</pre>
</td></tr></table>
or where your file is saved...


or where your file is saved...
If your nano isn't in syntax highlighting mode press escape [ESC] followed by Y for activating the highlighting mode.
               
if your nano not in syntax highlighting mode                                  
press escape followed by Y for activating the highlighting mode  
</pre>           
</div>
<br>
[[Image:Nano-lsl-highlight.jpg|400px]]
</div>
</div>
</div>
</div>
<table id="box" cellspacing=0 border=0 style="background-color: light-gray; {{NewStyle|border-radius|10px|moz=*|webkit=*}}"><tr><td style="padding:10px;">
[[Image:{{#var:img}}|400px]]
</td></tr></table>

Revision as of 06:01, 26 March 2009





Nano-Editor
 _____ _ _      
|  ___(_) | ___ 
| |_  | | |/ _ \
|  _| | | |  __/
|_|   |_|_|\___|

You can find the syntax file (and others) in our Google Code Project

lsl.nanorc

  ___           _        _ _                                                    
 |_ _|_ __  ___| |_ __ _| | |                                                   
  | || '_ \/ __| __/ _` | | |                                                   
  | || | | \__ \ || (_| | | |                                                   
 |___|_| |_|___/\__\__,_|_|_| 

To install put the lsl.nanorc in /usr/share/nano/ or where you want and create the file .nanorc in your home directory with the following line:

include "/usr/share/nano/lsl.nanorc"

or where your file is saved...

If your nano isn't in syntax highlighting mode press escape [ESC] followed by Y for activating the highlighting mode.

Nano-lsl-highlight.jpg