Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

LSL Editor Font

Nightand Day
Registered User
Join date: 22 Apr 2007
Posts: 3
04-25-2007 23:18
HI.
Does any one know if its possible to set the script editor font or font size someplace?
I would really like to use courier 10pt
Newgate Ludd
Out of Chesse Error
Join date: 8 Apr 2005
Posts: 2,103
04-26-2007 00:59
From: Nightand Day
HI.
Does any one know if its possible to set the script editor font or font size someplace?
I would really like to use courier 10pt


Slightly different approach, edit offline using the editor of your choice?
Kenn Nilsson
AeonVox
Join date: 24 May 2005
Posts: 897
04-26-2007 10:39
Slightly different, but related, question...

Has anyone modded SciTez to show coloring = to the coloring of a script w/in SL. I love SciTez...but I would like the text-coloring to match with an in-world LSL script. I assume it all has to do with changing the CSS file...but...bleh...I'm lazy and figure I'll ask if anyone else has done it yet.
_____________________
--AeonVox--

Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms chasing ghosts, eating magic pills, and listening to repetitive, addictive, electronic music.
sirhc DeSantis
Registered User
Join date: 8 Jan 2007
Posts: 60
Lsl
04-26-2007 10:56
LSL highlighting is available from the 'language' menu - and i love it :)
Kenn Nilsson
AeonVox
Join date: 24 May 2005
Posts: 897
04-26-2007 11:21
My version of LSL highlighting is actually colored drastically different...though it's still nice.

Example:

variable type = dark blue, not green.
event = red, not light blue.
state = blue, not red
strings = purple, not green

etc

It's really not even a complaint I have...I LOVE SciTez...was just hoping to get an equivilant text-coloring to LSL in-world scripting.
_____________________
--AeonVox--

Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms chasing ghosts, eating magic pills, and listening to repetitive, addictive, electronic music.
Gregory McLeod
Registered User
Join date: 21 Oct 2006
Posts: 278
04-26-2007 12:14
Another variation: I have found TextPad to be very useful in highlighting the code. They even have a document class with syntax enabling. No compilation but very useful for offline editing such as we are forced to do frequently these days.
Newgate Ludd
Out of Chesse Error
Join date: 8 Apr 2005
Posts: 2,103
04-26-2007 15:11
From: Kenn Nilsson
My version of LSL highlighting is actually colored drastically different...though it's still nice.

Example:

variable type = dark blue, not green.
event = red, not light blue.
state = blue, not red
strings = purple, not green

etc

It's really not even a complaint I have...I LOVE SciTez...was just hoping to get an equivilant text-coloring to LSL in-world scripting.


I've not set my colouring up to match the inworld editor buit I have altered teh colouring by adding the following to the LSL.properties


colour.code.comment.box=fore:#FF4500
colour.code.comment.line=fore:#FF4500
colour.code.comment.doc=fore:#3F703F
colour.text.comment=fore:#00007F,back:#D0F0D0
colour.other.comment=fore:#007F00
colour.embedded.comment=back:#E0EEFF
colour.embedded.js=back:#F0F0FF
colour.notused=back:#FF0000

colour.number=fore:#007F7F
colour.keyword=fore:#7F0000
colour.string=fore:#7F007F
colour.char=fore:#7F007F
colour.operator=fore:#000000
colour.preproc=fore:#7F7F00
colour.error=fore:#FFFF00,back:#FF0000
DoteDote Edison
Thinks Too Much
Join date: 6 Jun 2004
Posts: 790
04-26-2007 16:01
From: Kenn Nilsson
My version of LSL highlighting is actually colored drastically different...though it's still nice.
...
It's really not even a complaint I have...I LOVE SciTez...was just hoping to get an equivilant text-coloring to LSL in-world scripting.
I have a Scite settings file which colors things fairly close to LSL. I think the problem is that I could only figure how to define 4 different sets... whereas, LSL has about 8 different colors. For instance, "state default" is different than just "state" and it's a one-off color.

Regardless, I also made a cool black background/neon syntax hilights for coding in dark rooms (the white background burns my eyes after a while). The file has a toggle variable at the top to switch from white to black background.
Nightand Day
Registered User
Join date: 22 Apr 2007
Posts: 3
04-27-2007 01:39
I would use another editor but its on another computer and not very handy to use while i'm playing.

Anyway problem solved , someone was kind enough to explain how to change the font and size here

/54/53/180007/1.html

:-)


Yeah i like my editors to have a black background , with colors that stand out well.
But i can live with this for shorter things. Just couldnt read half the letters before :-)
9's looked like q's lowercase L's looked like ] , was driving me nuts haha