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

From Second Life Wiki
Jump to navigation Jump to search
m
m (add {{multi-lang}})
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{multi-lang}}
<!-- Style Variables -->
<!-- Style Variables -->
{{#vardefine:box|style="
{{#vardefine:box|style="
Line 14: Line 15:
{{#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}}>gtksourceview2.0</div>
<div {{#var:box}}>gtksourceview2.0 <span style="display: none;"><h2>gtk2</h2></span></div>
<div style="padding: 10px">
<div style="padding: 10px">
<pre style="border:0; padding:0; background-color: transparent; color:black;">
<pre style="border:0; padding:0; background-color: transparent; color:black;">
Line 48: Line 46:


<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}}>gtksourceview1.0</div>
<div {{#var:box}}>gtksourceview1.0<span style="display: none;"><h2>gtk1</h2></span></div>
<div style="padding: 10px">
<div style="padding: 10px">
<pre style="border:0; padding:0; background-color: transparent; color:black;">
<pre style="border:0; padding:0; background-color: transparent; color:black;">
Line 76: Line 74:


<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}}>gedit Color Theme like InWorld Editor (old style)</div>
<div {{#var:box}}>gedit Color Theme like InWorld Editor (old style)<span style="display: none;"><h2>theme</h2></span></div>
<div style="padding: 10px">
<div style="padding: 10px">
<pre style="border:0; padding:0; background-color: transparent; color:black;">
<pre style="border:0; padding:0; background-color: transparent; color:black;">

Latest revision as of 06:54, 26 March 2009


gtksourceview2.0

gtk2

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

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

lsl2.lang

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

To install put the lsl.lang in /usr/share/gtksourceview-2.0/language-specs and restart gedit.

Gedit lsl highlight.jpg

gtksourceview1.0

gtk1

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

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

lsl.lang This file orginaly created by Nargus Asturias via the Scripting Tips forum updated by adammarker.org/shill/ and me ^.~

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

To install put the lsl.lang in /usr/share/gtksourceview-1.0/language-specs and restart gedit.

gedit Color Theme like InWorld Editor (old style)

theme

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

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

lsl_editor.xml

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

Download lsl_editor.xml and save it anywhere. Open gedit select Edit/Preferences/Font&Colors, click Add and add the lsl_editor.xml file. Select LSL Editor in the Color Schemes list und close the preferences window.

Gedit lsl theme.jpg