Jump to content

SciTE Config - Syntax Highlighting


user52
 Share

Recommended Posts

UPDATE:

The original instructions didn't include the exact colors from the screen shots.

1. Download scite-config from http://code.google.com/p/scite-config/downloads/list

2. Extract to C:\Program Files\AutoIt3\SciTE\

3. Run C:\Program Files\AutoIt3\SciTE\SciTE.exe

4. Optional: Open %USERPROFILE%\SciTEUser.properties (same as selecting Options> Open User Options File in SciTE). Replace text with the included SciTEUser.properties to match colors in screen shots

---

This is a dark theme for SciTE.

Use:

http://code.google.com/p/scite-config/

Screenshot:

Posted Image

Edited by user52
Link to comment
Share on other sites

looking very nice, but a link with stuff toi use here would be great

i saw the svn, but meh... i dont even know what to get there O.o

Damian666

Thanks Damian.

I've added Install (http://code.google.com/p/scite-config/#Install):

1. Download http://code.google.com/p/scite-config/downloads/list

2. Extract to C:\Program Files\AutoIt3\SciTE\

3. Run C:\Program Files\AutoIt3\SciTE\SciTE.exe

Download

http://code.google.com/p/scite-config/downloads/list

Edit: download link

Edited by user52
Link to comment
Share on other sites

  • Developers

Thanks Damian.

I've added Install (http://code.google.com/p/scite-config/#Install):

1. Download http://scite-config.googlecode.com/files/s...-config-r26.zip

2. Extract to C:\Program Files\AutoIt3\SciTE\

3. Run C:\Program Files\AutoIt3\SciTE\SciTE.exe

Download

http://scite-config.googlecode.com/files/s...-config-r26.zip

That is NOT a good idea. You are overwriting everything here: SciTE.exe, SciLexer.dll and all properties files.

These are distributed with the standard SciTE4AutoIt3 installers and shopuldn;t be replaced.

To update the Color setting you should update the SciTEUser.properties only, like SciTEConfig.exe does.

Jos

Edited by Jos

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

That is NOT a good idea. You are overwriting everything here: SciTE.exe, SciLexer.dll and all properties files.

These are distributed with the standard SciTE4AutoIt3 installers and shopuldn;t be replaced.

To update the Color setting you should update the SciTEUser.properties only, like SciTEConfig.exe does.

Jos

Jos,

I do agree and I can see not replacing SciTE.exe, SciLexer.dll for AutoIt users. My intention was to have a setup where one could simply extract the zip and run SciTE without installing AutoIt and the SciTE4AutoIt3.

As for the properties files, there are colors defined in there, see for example perl.properties

It sounds like I'm going to need to separate this for AutoIt users.

Which files should I not replace for AutoIt users? Thanks

Link to comment
Share on other sites

  • Developers

It sounds like I'm going to need to separate this for AutoIt users.

Which files should I not replace for AutoIt users? Thanks

There is no need for that.

You should not update the supplied *.properties as they will be overwritten with any upgrade, either my installer or the one that Neil publishes.

You really should make the user changes/modification in the SciTEUser.properties which is the proper place to put them in any case.

That is why I said to have a look at SciTEConfig.exe. It comes with 3 default color scheme's for in this case au3 and demonstrates how it should be done in my mind.

Jos

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

Posted Image

# \Program Files\AutoIt3\SciTE\SciTEConfig\scite-config.SciTEConfig
#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
# START: DO NOT CHANGE ANYTHING AFTER THIS LINE  #-#-#-#-#
# Dark SciTE4AutoIt3 Color scheme
#------------------------------------------------------------
font.base=font:Arial,size:10,$(font.override)
font.monospace=font:Courier New,size:10
proper.case=0
check.updates.scite4autoit3=1
use.tabs=1
indent.size=4
indent.size.*.au3=4
tabsize=4
#Background
style.au3.32=style.*.32=$(font.base),back:#F0F4F9
#CaretLineBackground
caret.line.back=#FFFED8
# Brace highlight
style.au3.34=fore:#0000FF,bold,back:#F0F4F9
# Brace incomplete highlight
style.au3.35=fore:#009933,italics,back:#F0F4F9
#White space
style.au3.0=fore:#000000,back:#F0F4F9
#Comment line
style.au3.1=fore:#009933,italics,back:#F0F4F9
#Comment block
style.au3.2=fore:#669900,italics,back:#F0F4F9
#Number
style.au3.3=fore:#AC00A9,italics,bold,back:#F0F4F9
#Function
style.au3.4=fore:#000090,italics,bold,back:#F0F4F9
#Keyword
style.au3.5=fore:#0000FF,bold,back:#F0F4F9
#Macro
style.au3.6=fore:#FF33FF,bold,back:#F0F4F9
#String
style.au3.7=fore:#9999CC,bold,back:#F0F4F9
#Operator
style.au3.8=fore:#FF0000,bold,back:#F0F4F9
#Variable
style.au3.9=fore:#AA0000,bold,back:#F0F4F9
#Sent keys
style.au3.10=fore:#FF8800,bold,back:#F0F4F9
#Pre-Processor
style.au3.11=fore:#F000FF,italics,back:#F0F4F9
#Special
style.au3.12=fore:#A00FF0,italics,back:#F0F4F9
#Abbrev-Expand
style.au3.13=fore:#FF0000,bold,back:#F0F4F9
#Com Objects
style.au3.14=fore:#0000FF,italics,bold,back:#F0F4F9
#Standard UDF's
style.au3.15=fore:#0080FF,italics,bold,back:#F0F4F9
# END => DO NOT CHANGE ANYTHING BEFORE THIS LINE  #-#-#-#-#-#
#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
Link to comment
Share on other sites

  • Developers

Posted Image

I can add your scheme to the default setup but you would have to cut&paste the setting after you saved it.

Jos

Edited by Jos

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...