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

From Second Life Wiki
Jump to navigation Jump to search
(Midnight Commander LSL Highlighting)
 
m
Line 17: Line 17:
{{#vardefine:codetab|style="border: 1px solid black; background-color: #323232; {{NewStyle|border-radius|10px|moz=*|webkit=*}}"}}
{{#vardefine:codetab|style="border: 1px solid black; background-color: #323232; {{NewStyle|border-radius|10px|moz=*|webkit=*}}"}}
<!-- END -->
<!-- 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 {{#var:box}}>{{#var:title}}</div>
<div {{#var:box}}>{{#var:title}}</div>

Revision as of 05:28, 26 March 2009



Midnight Commander
 _____ _ _      
|  ___(_) | ___ 
| |_  | | |/ _ \
|  _| | | |  __/
|_|   |_|_|\___|

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

lsl.syntax

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

To install put the lsl.syntax file in /usr/share/mc/syntax/ and edit the /usr/share/mc/syntax/Syntax file. add the following lines:

 file ..\*\\.(lsl|LSL|LsL)$ Linden\sScripting\sLanguage
 include lsl.syntax

If your mc doesn't highlight automatical go to menu/options/syntaXhighlighting and select Linden Scripting Language in the list.

Midnight Commander-LSL.png