Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
Feay authored Oct 17, 2024
1 parent 927e7ec commit c950cd0
Show file tree
Hide file tree
Showing 13 changed files with 3,779 additions and 0 deletions.
16 changes: 16 additions & 0 deletions Better.Colors.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
#place at bottom of SciTeGlobal.properties is global options
#for better global main colors
#grey background, except current line is white
#darker grey line numbers background

# main back ground but not current line background,
#nor already styled highlighing
style.*.32=$(font.base),back:#e0e0e0,fore:#000000
#line numbers background and font color
style.*.33=back:#AAAAAA,$(font.base),fore:#000000
#current line
caret.line.back=#FFFEF8
#cusor color
caret.fore=#FF00FF
caret.width=2
# caret.width=1
Binary file added LSL.Scite.lslint.zip
Binary file not shown.
60 changes: 60 additions & 0 deletions README.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
FASTEST:
use the install.bat

QUIKE:
pick a version of Scite to install
then just copy and or rename lslinit.exe, lsl.api, lsl.properties into C:\ProgramData\SciTE\

this folder is normally hidden or greyed out on win10

Syntax highlight and tooltips discrptions of all functions, consistants, etc as of 2024 for LSL, edit your Secondlife and OpenSim scripts off line and with a BETTER editor!!!

What is needed?? THese Files: lsl.api lsl.properties, Scite editor, and lslint I am adding the last windows installer to this release with lslint for convenice...

Scite is a FAST text editor with syntax hightlighing and hooks to run what you are editing in external compilers, or repels for error checking. Please web serch to find precompiled executibles for windows!

ScTE Source
Extra Files
Last SciTE Windows Installer
Latest official release of SciTE
moltenform Scite, adds features including autocomplete and calltips for many languages
https://sourceforge.net/projects/scintilla/files/SciTE/5.5.2/

lsinit.exe is a LSL syntax checker, please search for the latest update. I have a winXP binary archived, ask if wanted... this is the lastest updated lsint.exe I could find.

lslint Source
binary executible Source

Install?? I used the installer for Scite, this makes a folder DRIVE:\program data\Scite\ on windows, this is where it looks for properties files amd api files for various langages, internally the program uses $(SciteDefaultHome)\ in it's files to represent this path... (I have not tested it on linux, i trust if you are a linux person to figure out where these files are... if you downloaded from Scite's offical site, its a portible version or the loose files in a zip, place the lsl.api and lsl.properties file in the same folder as them.)

Place the lsl.api and lsl.properties files into DRIVE:\program data\Scite, in my case DRIVE is c:
Place the program lslint.exe in the same folder

Usage?? Fristly if the file isn't saved yet as a .lsl or .esl, Then at the stop of Scite click Language, (tip: click the lowest V arrow to scroll the language list....) Last click LSL, this will select that langage for syntax highlighting and the api tooltips, (just like in SL you can see discriptions of various things.)

To use lslint for error checking you must frist SAVE a file with extention .lsl or .esl Then you click Tools at the top of Scite, and either GO or Syntax Check, in this case both do the same.

Modding Colors?? In Scite global colors in the gobal settings file by clicking options, or you can find it in the SciteDefaultHome folder some of these are strings, numbers, comments, etc all the rest of the things have their colors set via a substyle to keep them seprate from cpp C/C++ defualt colors that are forced thru the lexer for cpp that does the work of syntax highlight. From with in lsl.properties scroll down about 100 lines till you see:
COLORS!!!!! =D
default

style.cpp.11.1=fore:#EE00CD,underlined
types

style.cpp.11.2=fore:#00007F,bold
keywords for logic flow

style.cpp.11.3=fore:#000000,bold
events

style.cpp.11.4=fore:#00007F,bold,underlined
constants

style.cpp.11.5=fore:#1F6F1F
built ins

style.cpp.11.6=fore:#DF0000,underlined

//

Credits go to CoolVL, GensisViewer, the creators of lslint, and the orginal 2009 api file i found by # LSL keywords updated 19 Aug 2009 for LSL 1.23.4 by http://adammarker.org/shill
65 changes: 65 additions & 0 deletions install.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
@echo off
set mydir=Scite
:BEGIN
CLS
cd
color 8F
choice.exe /c 63ce /m "64bit install, 32bit install, or Copy_Files or Exit?"
IF ERRORLEVEL ==4 GOTO END
IF ERRORLEVEL ==3 GOTO THREE
IF ERRORLEVEL ==2 GOTO TWO
IF ERRORLEVEL ==1 GOTO ONE
GOTO END
:THREE
ECHO Just copy the files but which lslinit?
choice.exe /c 63 /m "64bit install, 32bit install, or Go_back?"
IF ERRORLEVEL ==2 GOTO A
IF ERRORLEVEL ==1 GOTO B
GOTO BEGIN
:TWO
ECHO YOU HAVE PRESSED 32bit
start "" "scite-5.4.1x86.msi"
GOTO B
:ONE
ECHO YOU HAVE PRESSED 64bit
start "" "scite-5.4.1x64.msi"
GOTO A
:END
echo I was here and now i am long gone
pause
exit
:NUPE
echo waiting for %ProgramData%\%mydir% to exist...
timeout /T 10
CLS
GOTO %myvar%
:A
set myvar=A
color 8b
echo ready to copy files into %ProgramData%\%mydir%
IF NOT EXIST %ProgramData%\%mydir% GOTO NUPE
pause
copy lslint.64.exe temp.exe
move temp.exe lslint.exe
GOTO :C
:B
set myvar=B
color 8b
echo ready to copy files into %ProgramData%\%mydir%
IF NOT EXIST %ProgramData%\%mydir% GOTO NUPE
pause
copy lslint.32.exe temp.exe
move temp.exe lslint.exe
GOTO :C
:C
cls
@echo on
copy /Y lslint.exe %ProgramData%\%mydir%\lslint.exe
copy /Y lsl.api %ProgramData%\%mydir%\lsl.api
copy /Y lsl.properties %ProgramData%\%mydir%\lsl.properties
cd %ProgramData%\%mydir%
dir /p
color 0F
echo DONE
pause
exit
Loading

0 comments on commit c950cd0

Please sign in to comment.