Jump to content

Recommended Posts

Posted (edited)

Note: This has been deprecated by >SciTE Customization GUI.  I highly recommend SCG for all of your theme needs.  Thank you.

 

and your SciTE customization knowledge too.

Here is a dark theme for SciTE for all you dark theme fans. I got this theme from Notepad++ which got the theme from the Dejavu font project (http://dejavu.sourceforge.net/wiki/index.php/Main_Page).

Customized by hand because the original themese aren't perfect. They had black text on dark background.

The line number margin, fold margin, editor, and console is themed!

I encourage you to post your theme too. Also, if you have any knowledge that would enhance this and any other theme then I encourage you to post that too. Please post a fairly high quality screenshot too please.

Instructions: (this works for me anyway. If you know a better method lemme know)
1) create the file named 'Twilight.SciTEConfig' in the 'SciTEConfig' folder found in the SciTE folder of your AutoIt installation
2) fire up SciTE and press 'Ctrl+1'
3) select the 'Color Settings' tab
4) click 'New Scheme'
5) select 'Twilight' from the drop down list
6) finally, click 'Update'

Screenshot:

  Reveal hidden contents

f94ae0c2b9e74431055fc95710528619adc82929downloads: 732



Twilight.SciTEConfig -- Updated: November 26, 2010

#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
# START: DO NOT CHANGE ANYTHING AFTER THIS LINE     #-#-#-#-#
# Twilight -- 06/21/2011
#------------------------------------------------------------
find.close.on.find=1
proper.case=1
check.updates.scite4autoit3=1
indent.size.au3=4
highlight.current.word=1
highlight.current.word.colour=#CF6A4C
highlight.current.word.by.style =1
autocomplete.*.ignorecase=1
autocomplete.*.start.characters=2
calltip.*.ignorecase=1
save.position=1
default.file.ext=au3
strip.trailing.spaces=1
ensure.final.line.end=1
ensure.consistent.line.ends=1
# Background
style.au3.32=back:#141414
# Brace highlight
style.au3.34=fore:#FCE94F,bold
# Brace incomplete highlight
style.au3.35=fore:#EF2929,bold
#CaretLine Fore
caret.fore=#DADADA
#CaretLine Back
caret.line.back=#F8F8F8
caret.line.back.alpha=0
#Selection
selection.fore=#CF6A4C
selection.back=#DADADA
selection.alpha=25
#White Space
style.au3.0=fore:#F8F8F8
#Comment line
style.au3.1=fore:#5F5A60
#Comment block
style.au3.2=fore:#5F5A60
#Number
style.au3.3=fore:#CF6A4C
#Function
style.au3.4=fore:#DAD085
#Keyword
style.au3.5=fore:#F9EE98
#Macro
style.au3.6=fore:#DADADA
#String
style.au3.7=fore:#8F9D6A
#Operator
style.au3.8=fore:#CDA869
#Variable
style.au3.9=fore:#7587A6
#Sent keys
style.au3.10=fore:#DADADA
#Pre-Processor
style.au3.11=fore:#8996A8
#Special
style.au3.12=fore:#DADADA
#Abbrev-Expand
style.au3.13=fore:#DADADA
#Com Objects
style.au3.14=fore:#DADADA
#Standard UDFs
style.au3.15=fore:#0080FF
# Line Number Margin
style.au3.33=$(font.monospaced),fore:#F8F8F8,back:#2E3436
# Fold Margin
fold.margin.colour=#555753
fold.margin.highlight.colour=#2E3436
error.marker.fore=#DADADA
error.marker.back=#2E3436
# Error Output
style.errorlist.0=fore:#DADADA
# Program Output
style.errorlist.1=fore:#DADADA
# Error Line
style.errorlist.3=fore:#DADADA
# command or return status
style.errorlist.4=fore:#8F9D6A
# diff changed !
style.errorlist.10=fore:#CF6A4C
# # Diff addition +
style.errorlist.11=fore:#7587A6
# diff deletion -
style.errorlist.12=fore:#F9EE98
# Console Background
style.errorlist.32=$(font.monospace),back:#141414
# END => DO NOT CHANGE ANYTHING BEFORE THIS LINE  #-#-#-#-#-#
#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
Edited by jaberwacky
Posted (edited)

Ah, and now I understand your post in response to my Notepad++ With AutoIt User CallTips script. Where you had said too bad the colors aren't the same as SciTE. That kinda wracked my brain.

I just like dark themes. More soothing I guess. My eyes don't strain when using a dark theme.

Edited by jaberwocky6669
Posted (edited)

Black
screenshot

Themes.SciTEConfig or C:Documents and Settings<nameuser>SciTEUser.properties

  Reveal hidden contents

Edited by AZJIO
Posted (edited)

Themes Notepad++ > to > Themes SciTE

$key=1 ; если 1, то тема копируется в папку пользователя и перезапуск скайта отобразит новую тему. Если 0 то тема создаётся в виде конфига в папке темы, который нужно переместить в папку конфигуратора тем скайта.

If FileExists(@ProgramFilesDir&'Notepad++themes') Then
    $WorkingDir=@ProgramFilesDir&'Notepad++themes'
Else
    $WorkingDir=@WorkingDir
EndIf

$OpenFile = FileOpenDialog('Открыть', $WorkingDir , "Themes (*.xml)")
If @error Then Exit

$file = FileOpen($OpenFile, 0)
$text1 = FileRead($file)
FileClose($file)
$text=StringRegExpReplace($text1,'(?s)(^.*)(e="autoit".*?</Le)(.*)$','2')

$DEFAULT=StringRegExpReplace($text,'(?s)(.*?"DEFAULT".*?fgColor=")(w{6})(.*)','2')
$COMMENT_LINE=StringRegExpReplace($text,'(?s)(.*?"COMMENT LINE".*?fgColor=")(w{6})(.*)','2')
$COMMENT=StringRegExpReplace($text,'(?s)(.*?"COMMENT".*?fgColor=")(w{6})(.*)','2')
$NUMBER=StringRegExpReplace($text,'(?s)(.*?"NUMBER".*?fgColor=")(w{6})(.*)','2')
$FUNCTION=StringRegExpReplace($text,'(?s)(.*?"FUNCTION".*?fgColor=")(w{6})(.*)','2')
$INSTRUCTION_WORD=StringRegExpReplace($text,'(?s)(.*?"INSTRUCTION WORD".*?fgColor=")(w{6})(.*)','2')
$MACRO=StringRegExpReplace($text,'(?s)(.*?"MACRO".*?fgColor=")(w{6})(.*)','2')
$STRING=StringRegExpReplace($text,'(?s)(.*?"STRING".*?fgColor=")(w{6})(.*)','2')
$OPERATOR=StringRegExpReplace($text,'(?s)(.*?"OPERATOR".*?fgColor=")(w{6})(.*)','2')
$VARIABLE=StringRegExpReplace($text,'(?s)(.*?"VARIABLE".*?fgColor=")(w{6})(.*)','2')
$SENT=StringRegExpReplace($text,'(?s)(.*?"SENT".*?fgColor=")(w{6})(.*)','2')
$PREPROCESSOR=StringRegExpReplace($text,'(?s)(.*?"PREPROCESSOR".*?fgColor=")(w{6})(.*)','2')
$SPECIAL=StringRegExpReplace($text,'(?s)(.*?"SPECIAL".*?fgColor=")(w{6})(.*)','2')
$EXPAND=StringRegExpReplace($text,'(?s)(.*?"EXPAND".*?fgColor=")(w{6})(.*)','2')
$COMOBJ=StringRegExpReplace($text,'(?s)(.*?"COMOBJ".*?fgColor=")(w{6})(.*)','2')
$BG=StringRegExpReplace($text,'(?s)(.*?bgColor=")(w{6})(.*)','2')


If StringLen($DEFAULT)>6 Then $DEFAULT=0
If StringLen($COMMENT_LINE)>6 Then $COMMENT_LINE=0
If StringLen($COMMENT)>6 Then $COMMENT=0
If StringLen($NUMBER)>6 Then $NUMBER=0
If StringLen($FUNCTION)>6 Then $FUNCTION=0
If StringLen($INSTRUCTION_WORD)>6 Then $INSTRUCTION_WORD=0
If StringLen($MACRO)>6 Then $MACRO=0
If StringLen($STRING)>6 Then $STRING=0
If StringLen($OPERATOR)>6 Then $OPERATOR=0
If StringLen($VARIABLE)>6 Then $VARIABLE=0
If StringLen($SENT)>6 Then $SENT=0
If StringLen($PREPROCESSOR)>6 Then $PREPROCESSOR=0
If StringLen($SPECIAL)>6 Then $SPECIAL=0
If StringLen($EXPAND)>6 Then $EXPAND=0
If StringLen($COMOBJ)>6 Then $COMOBJ=0
If StringLen($BG)>6 Then $BG=0


$text=StringRegExpReplace($text1,'(?s)(^.*)(<GlobalStyles>.*?</GlobalStyles>)(.*)$','2')

$Selected_text_colour=StringRegExpReplace($text,'(?s)(.*?"Selected text colour".*?fgColor=")(w{6})(.*)','2')
$Selected_text_colourBg=StringRegExpReplace($text,'(?s)(.*?"Selected text colour".*?bgColor=")(w{6})(.*)','2')
$Fold_marginBg=StringRegExpReplace($text,'(?s)(.*?"Fold margin".*?bgColor=")(w{6})(.*)','2')
$Fold_margin=StringRegExpReplace($text,'(?s)(.*?"Fold margin".*?fgColor=")(w{6})(.*)','2')
$Caret_colour=StringRegExpReplace($text,'(?s)(.*?"Caret colour".*?fgColor=")(w{6})(.*)','2')
$Line_number_margin=StringRegExpReplace($text,'(?s)(.*?"Line number margin".*?fgColor=")(w{6})(.*)','2')
$Line_number_marginBg=StringRegExpReplace($text,'(?s)(.*?"Line number margin".*?bgColor=")(w{6})(.*)','2')
$Current_line_background_colourBg=StringRegExpReplace($text,'(?s)(.*?"Current line background colour".*?bgColor=")(w{6})(.*)','2')
$Brace_highlight_style=StringRegExpReplace($text,'(?s)(.*?"Brace highlight style".*?fgColor=")(w{6})(.*)','2')
$Brace_highlight_styleBg=StringRegExpReplace($text,'(?s)(.*?"Brace highlight style".*?bgColor=")(w{6})(.*)','2')
$Global_overrideFN=StringRegExpReplace($text,'(?s)(.*?"Global override".*?fontName=")([0-9a-zA-Z_ ]+?)(".*)','2')
$Global_overrideFS=StringRegExpReplace($text,'(?s)(.*?"Global override".*?fontSize=")(d+)(".*)','2')

If StringLen($Selected_text_colour)>6 Then $Selected_text_colour=0
If StringLen($Selected_text_colourBg)>6 Then $Selected_text_colourBg=0
If StringLen($Fold_marginBg)>6 Then $Fold_marginBg=0
If StringLen($Fold_margin)>6 Then $Fold_margin=0
If StringLen($Caret_colour)>6 Then $Caret_colour=0
If StringLen($Line_number_margin)>6 Then $Line_number_margin=0
If StringLen($Line_number_marginBg)>6 Then $Line_number_marginBg=0
If StringLen($Current_line_background_colourBg)>6 Then $Current_line_background_colourBg=0
If StringLen($Brace_highlight_style)>6 Then $Brace_highlight_style=0
If StringLen($Brace_highlight_styleBg)>6 Then $Brace_highlight_styleBg=0
If StringLen($Global_overrideFN)>30 Then $Global_overrideFN='Arial'
If StringLen($Global_overrideFS)>2 Then $Global_overrideFS=10


$text= _
'#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#' & @CRLF & _
'# START: DO NOT CHANGE ANYTHING AFTER THIS LINE     #-#-#-#-#' & @CRLF & _
'# Created by SciTEConfig' & @CRLF & _
'#------------------------------------------------------------' & @CRLF & _
'font.base=font:'&$Global_overrideFN&',size:'&$Global_overrideFS&',$(font.override)' & @CRLF & _
'font.monospace=font:'&$Global_overrideFN&',size:'&$Global_overrideFS & @CRLF & _
'proper.case=0' & @CRLF & _
'check.updates.scite4autoit3=0' & @CRLF & _
'use.tabs=1' & @CRLF & _
'indent.size=4' & @CRLF & _
'indent.size.*.au3=4' & @CRLF & _
'tabsize=4' & @CRLF & _
'#Background' & @CRLF & _
'style.au3.32=style.*.32=$(font.base),back:#'&$BG & @CRLF & _
'# Brace highlight' & @CRLF & _
'style.au3.34=fore:#'&$Brace_highlight_style&',back:#'&$Brace_highlight_styleBg&'' & @CRLF & _
'# Brace incomplete highlight' & @CRLF & _
'style.au3.35=fore:#'&$COMMENT_LINE&',italics,back:#'&$BG & @CRLF & _
@CRLF & _
'# Line Number Margin - колонка номеров строк' & @CRLF & _
'style.au3.33=fore:#'&$Line_number_margin&',back:#'&$Line_number_marginBg&',$(font.base)' & @CRLF & _
'style.au3.37=fore:#'&$Line_number_margin&',back:#'&$Line_number_marginBg&'' & @CRLF & _
'#line.margin.visible=1' & @CRLF & _
'line.margin.width=1+' & @CRLF & _
@CRLF & _
'# Колонка плюсиков для разворачивания блоков' & @CRLF & _
'fold.margin.colour=#'&$Fold_margin & @CRLF & _
'fold.margin.highlight.colour=#'&$Fold_marginBg & @CRLF & _
'#fold.compact=0' & @CRLF & _
@CRLF & _
'# Мигающий курсор' & @CRLF & _
'caret.fore=#'&$Caret_colour & @CRLF & _
'caret.line.back=#'&$Current_line_background_colourBg&'' & @CRLF & _
'#caret.width=2' & @CRLF & _
'#caret.line.back.alpha=100' & @CRLF & _
@CRLF & _
'# Выделенная область курсором' & @CRLF & _
'selection.fore=#'&$STRING & @CRLF & _
'selection.back=#'&$Selected_text_colourBg & @CRLF & _
'# selection.alpha=75' & @CRLF & _
@CRLF & _
'# Вертикальная линия справа, edge.mode=0 убирает эту линию, edge.column - отступ слева до линии' & @CRLF & _
'edge.colour=#'&$Line_number_margin & @CRLF & _
'edge.mode=0' & @CRLF & _
'#edge.column=500' & @CRLF & _
@CRLF & _
'#Console - запись в консоль при выполнении скрипта по F5' & @CRLF & _
'style.errorlist.32=back:#'&$BG&',$(font.monospace)' & @CRLF & _
'style.errorlist.0=fore:#'&$STRING & @CRLF & _
'style.errorlist.5=fore:#000000' & @CRLF & _
'style.errorlist.3=fore:#'&$OPERATOR & @CRLF & _
'style.errorlist.4=fore:#'&$FUNCTION & @CRLF & _
'style.errorlist.11=fore:#'&$COMMENT & @CRLF & _
'style.errorlist.12=fore:#'&$SENT & @CRLF & _
'error.marker.fore=fore:#ff0000,italics,back:#'&$BG & @CRLF & _
'colour.error=fore:#ff0000,back:#'&$OPERATOR

$text&= @CRLF & _
'#White space' & @CRLF & _
'style.au3.0=fore:#'&$DEFAULT&',back:#'&$BG & @CRLF & _
'#Comment line' & @CRLF & _
'style.au3.1=fore:#'&$COMMENT_LINE&',italics,back:#'&$BG & @CRLF & _
'#Comment block' & @CRLF & _
'style.au3.2=fore:#'&$COMMENT&',italics,back:#'&$BG & @CRLF & _
'#Number' & @CRLF & _
'style.au3.3=fore:#'&$NUMBER&',back:#'&$BG & @CRLF & _
'#Function' & @CRLF & _
'style.au3.4=fore:#'&$FUNCTION&',back:#'&$BG & @CRLF & _
'#Keyword' & @CRLF & _
'style.au3.5=fore:#'&$INSTRUCTION_WORD&',back:#'&$BG & @CRLF & _
'#Macro' & @CRLF & _
'style.au3.6=fore:#'&$MACRO&',back:#'&$BG & @CRLF & _
'#String' & @CRLF & _
'style.au3.7=fore:#'&$STRING&',back:#'&$BG & @CRLF & _
'#Operator' & @CRLF & _
'style.au3.8=fore:#'&$OPERATOR&',back:#'&$BG & @CRLF & _
'#Variable' & @CRLF & _
'style.au3.9=fore:#'&$VARIABLE&',back:#'&$BG & @CRLF & _
'#Sent keys' & @CRLF & _
'style.au3.10=fore:#'&$SENT&',bold,back:#'&$BG & @CRLF & _
'#Pre-Processor' & @CRLF & _
'style.au3.11=fore:#'&$PREPROCESSOR&',back:#'&$BG & @CRLF & _
'#Special' & @CRLF & _
'style.au3.12=fore:#'&$SPECIAL&',back:#'&$BG & @CRLF & _
'#Abbrev-Expand' & @CRLF & _
'style.au3.13=fore:#'&$EXPAND&',bold,back:#'&$BG & @CRLF & _
'#Com Objects' & @CRLF & _
'style.au3.14=fore:#'&$COMOBJ&',bold,back:#'&$BG & @CRLF & _
'#Standard UDF''s' & @CRLF & _
'style.au3.15=fore:#'&$DEFAULT&',back:#'&$BG

If $key Then
    $file = FileOpen(@UserProfileDir&'SciTEUser.properties', 2)
    FileWrite($file, $text)
    FileClose($file)
Else
    $file = FileOpen($WorkingDir&''&StringRegExpReplace($OpenFile, '(^.*)(.*).(.*)$', '2')&'.SciTEConfig', 2)
    FileWrite($file, $text)
    FileClose($file)
EndIf
Edited by AZJIO
Posted (edited)

Refer to original post for usage information.

Bespin.SciTEConfig -- Updated: 11/26/2010 -- Screenshot (http://www.mediafire.com/i/?yj0ibi8ngrc8ysi)

#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
Created by SciTEConfig
# 11/26/2010
font.base=font:Verdana,size:11,$(font.override)
font.monospace=font:Andale Mono,size:11
font.small=font:Andale Mono,size:9

strip.trailing.spaces=1
ensure.final.line.end=1
ensure.consistent.line.ends=1
find.replace.advanced=1
find.close.on.find=0
two.phase.draw=1
proper.case=1
check.updates.scite4autoit3=1
tabsize=4
toolbar.visible=0
save.on.deactivate=1
save.all.for.build=1
save.session=1
reload.preserves.undo=1
full.screen.hides.menu=1
tabbar.hide.one=1
use.tabs=1
indent.size.au3=4
view.indentation.guides=0
view.indentation.whitespace=0
are.you.sure=0
edge.mode=0
title.full.path=2

# Editor ======================================================
# Background
style.au3.32=back:#2A211C

# Brace
style.au3.34=fore:#E5C138,bold # Matching
style.au3.35=fore:#EF2929,bold # Non-Matching

# Caret
caret.width=3
caret.period=300
caret.fore=#37A8ED
caret.line.back=#4B3C34
caret.line.back.alpha=50

# Selection
selection.fore=#C00000
selection.back=#83675A
selection.alpha=25

# White space
style.au3.0=fore:#F8F8F8
# Comment line
style.au3.1=fore:#1E9AE0
# Comment block
style.au3.2=fore:#1E9AE0
# Number
style.au3.3=fore:#FF3A83
# Function
style.au3.4=fore:#FFB454,italics
# Keyword
style.au3.5=fore:#F6F080
# Macro
style.au3.6=fore:#DADADA,italics
# String
style.au3.7=fore:#55E439
# Operator
style.au3.8=fore:#FFAA00
# Variable
style.au3.9=fore:#FB9A4B
# Sent keys
style.au3.10=fore:#DADADA
# Pre-Processor
style.au3.11=fore:#FFAA00
# Special
style.au3.12=fore:#DADADA,italics,bold
# Abbrev-Expand
style.au3.13=fore:#DADADA,bold
# Com Objects
style.au3.14=fore:#DADADA,bold
# Standard UDFs
style.au3.15=fore:#0080FF,bold
# =============================================================

# Margins =====================================================
# Line Number Margin
style.au3.33=$(font.monospaced),fore:#E5C138,back:#4C4A41
line.margin.visible=1
line.margin.width=1+

# Selection Margin
margin.width=10

# Fold Margin
fold.symbols=2
fold.margin.colour=#2E3436
fold.margin.highlight.colour=#6A5448
fold.compact=0
fold.margin.width=12
# =============================================================

# Console =====================================================
output.initial.hide=1

error.marker.fore=#DADADA
error.marker.back=#2E3436

# Console Background
style.errorlist.32=$(font.monospace),back:#2A211C

# Error Output
style.errorlist.0=fore:#DADADA

# Program Output
style.errorlist.1=fore:#DADADA

# Error Line
style.errorlist.3=fore:#DADADA

# command or return status
style.errorlist.4=fore:#55E439

# Diff changed !
style.errorlist.10=fore:#FF3A83

# Diff addition +
style.errorlist.11=fore:#1E9AE0

# Diff deletion -
style.errorlist.12=fore:#FF00FF

# unused?
# gcc Error
style.errorlist.2=fore:#0000FF
# Borland error and warning messages
style.errorlist.5=fore:#0000FF
# perl error and warning messages
style.errorlist.6=fore:#0000FF
# .NET tracebacks
style.errorlist.7=fore:#0000FF
# Lua error and warning messages
style.errorlist.8=fore:#0000FF
# ctags
style.errorlist.9=fore:#0000FF
# diff message ---
style.errorlist.13=fore:#DADADA
# PHP error
style.errorlist.14=fore:#0000FF
# Essential Lahey Fortran 90 error
style.errorlist.15=fore:#0000FF
# Intel Fortran Compiler error
style.errorlist.16=fore:#0000FF
# Intel Fortran Compiler v8.0 error/warning
style.errorlist.17=fore:#0000FF
# Absoft Pro Fortran 90/95 v8.2 error or warning
style.errorlist.18=fore:#0000FF
# HTML Tidy
style.errorlist.19=fore:#0000FF
# Java runtime stack trace
style.errorlist.20=fore:#0000FF
# Text matched with find in files and message part of GCC errors
style.errorlist.21=fore:#0000FF

# The following are unknown to me.  If you have any information please let me know.
style.errorlist.22=fore:#0000FF # ???
style.errorlist.23=fore:#0000FF # ???
style.errorlist.24=fore:#0000FF # ???
style.errorlist.25=fore:#0000FF # ???
style.errorlist.26=fore:#0000FF # ???
style.errorlist.27=fore:#0000FF # ???
style.errorlist.28=fore:#0000FF # ???
style.errorlist.29=fore:#0000FF # ???
style.errorlist.30=fore:#0000FF # ???
style.errorlist.31=fore:#0000FF # ???
# =============================================================

#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
Edited by jaberwocky6669
Posted (edited)

Refer to original post for usage information.

Obsidian.SciTEConfig -- Updated: 11/26/2010 -- Screenshot: (http://www.mediafire.com/i/?v2tacz0xwc0dz5d)

#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
Created by SciTEConfig
# 11/26/2010
font.base=font:Verdana,size:11,$(font.override)
font.monospace=font:Andale Mono,size:11
font.small=font:Andale Mono,size:9

strip.trailing.spaces=1
ensure.final.line.end=1
ensure.consistent.line.ends=1
find.replace.advanced=1
find.close.on.find=0
two.phase.draw=1
proper.case=1
check.updates.scite4autoit3=1
use.tabs=1
tabsize=4
toolbar.visible=0
save.on.deactivate=1
save.all.for.build=1
save.session=1
reload.preserves.undo=1
full.screen.hides.menu=1
tabbar.hide.one=1
indent.size.au3=4
view.indentation.guides=0
view.indentation.whitespace=0
are.you.sure=0
edge.mode=0
title.full.path=2

# Editor ======================================================
# Background
style.au3.32=back:#293134

# Brace
style.au3.34=fore:#F3DB2E,bold # Matching
style.au3.35=fore:#FB0000,bold # Non-Matching

# Caret
caret.width=3
caret.period=300
caret.fore=#C1CBD2
caret.line.back=#2F393C
caret.line.back.alpha=50

# Selection
selection.fore=#C00000
selection.back=#404E51
selection.alpha=25

# White space
style.au3.0=fore:#E0E2E4
# Comment line
style.au3.1=fore:#66747B
# Comment block
style.au3.2=fore:#66747B
# Number
style.au3.3=fore:#FFCD22
# Function
style.au3.4=fore:#E0E2E4,italics
# Keyword
style.au3.5=fore:#93C763
# Macro
style.au3.6=fore:#D39745,italics
# String
style.au3.7=fore:#EC7600
# Operator
style.au3.8=fore:#E8E2B7
# Variable
style.au3.9=fore:#678CB1
# Sent keys
style.au3.10=fore:#E0E2E4
# Pre-Processor
style.au3.11=fore:#A082BD
# Special
style.au3.12=fore:#E0E2E4,italics,bold
# Abbrev-Expand
style.au3.13=fore:#E0E2E4,bold
# Com Objects
style.au3.14=fore:#E0E2E4,bold
# Standard UDFs
style.au3.15=fore:#0080FF,bold
# =============================================================

# Margins =====================================================
# Fold Margin
fold.symbols=2
fold.margin.colour=#6A8088
fold.margin.highlight.colour=#2F383C
fold.compact=0
fold.margin.width=12

# Line Number Margin
style.au3.33=$(font.monospaced),fore:#81969A,back:#3F4B4E
line.margin.visible=1
line.margin.width=1+

# Selection Margin
margin.width=10
# =============================================================

# Console =====================================================
output.initial.hide=1

error.marker.fore=#DADADA
error.marker.back=#2E3436

# Console Background
style.errorlist.32=$(font.monospace),back:#293134

# Error Output
style.errorlist.0=fore:#E0E2E4

# Program Output
style.errorlist.1=fore:#E0E2E4

# Error Line
style.errorlist.3=fore:#E0E2E4

# command or return status
style.errorlist.4=fore:#93C763

# Diff changed !
style.errorlist.10=fore:#FF3A83

# Diff addition +
style.errorlist.11=fore:#678CB1

# Diff deletion -
style.errorlist.12=fore:#FF00FF

# unused?
# gcc Error
style.errorlist.2=fore:#0000FF
# Borland error and warning messages
style.errorlist.5=fore:#0000FF
# perl error and warning messages
style.errorlist.6=fore:#0000FF
# .NET tracebacks
style.errorlist.7=fore:#0000FF
# Lua error and warning messages
style.errorlist.8=fore:#0000FF
# ctags
style.errorlist.9=fore:#0000FF
# diff message ---
style.errorlist.13=fore:#DADADA
# PHP error
style.errorlist.14=fore:#0000FF
# Essential Lahey Fortran 90 error
style.errorlist.15=fore:#0000FF
# Intel Fortran Compiler error
style.errorlist.16=fore:#0000FF
# Intel Fortran Compiler v8.0 error/warning
style.errorlist.17=fore:#0000FF
# Absoft Pro Fortran 90/95 v8.2 error or warning
style.errorlist.18=fore:#0000FF
# HTML Tidy
style.errorlist.19=fore:#0000FF
# Java runtime stack trace
style.errorlist.20=fore:#0000FF
# Text matched with find in files and message part of GCC errors
style.errorlist.21=fore:#0000FF

# The following are unknown to me.  If you have any information please let me know.
style.errorlist.22=fore:#0000FF # ???
style.errorlist.23=fore:#0000FF # ???
style.errorlist.24=fore:#0000FF # ???
style.errorlist.25=fore:#0000FF # ???
style.errorlist.26=fore:#0000FF # ???
style.errorlist.27=fore:#0000FF # ???
style.errorlist.28=fore:#0000FF # ???
style.errorlist.29=fore:#0000FF # ???
style.errorlist.30=fore:#0000FF # ???
style.errorlist.31=fore:#0000FF # ???
# =============================================================

#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
Edited by jaberwocky6669
Posted (edited)

 bat, html, xml, ini, etc. (Notepad++ >> SciTE)

If FileExists(@ProgramFilesDir&'Notepad++themes') Then
    $WorkingDir=@ProgramFilesDir&'Notepad++themes'
Else
    $WorkingDir=@WorkingDir
EndIf

$OpenFile = FileOpenDialog('Открыть', $WorkingDir , "Themes (*.xml)")
If @error Then Exit

$file = FileOpen($OpenFile, 0)
$text1 = FileRead($file)
FileClose($file)

$aLexerType_name=StringRegExp($text1, '(?s)(?:<LexerType name=")(.*?)(?=")', 3)

$Out=''

For $i = 0 to UBound($aLexerType_name)-1

    If StringInStr('|actionscript|asp|c|cobol|cs|gui4cli|haskell|java|javascript|nfo|objc|php|postscript|powershell|scheme|searchResult|', '|'&$aLexerType_name[$i]&'|') Then ContinueLoop
    
    $text=StringRegExpReplace($text1,'(?s)(^.*)(name="'&$aLexerType_name[$i]&'".*?</LexerType)(.*)$','2')
    If StringLen($text)>5000 Then ContinueLoop
    $aWordsStyle_name=StringRegExp($text, '(?s)(?:<WordsStyle name=")(.*?)(?=")', 3)
    $Out&=@CRLF
    
Switch $aLexerType_name[$i]
    Case 'html'
       $aLexerType_name[$i]='hypertext'
    Case 'autoit'
       $aLexerType_name[$i]='au3'
    Case 'ini'
       $aLexerType_name[$i]='props'
    Case 'r'
       $aLexerType_name[$i]='rebol'
EndSwitch

    For $d = 0 to UBound($aWordsStyle_name)-1
        Assign('_Tmp', StringRegExpReplace($text,'(?s)(.*?"'&$aWordsStyle_name[$d]&'".*?fgColor=")(w{6})(.*)','2'))
        Assign('id_Tmp', StringRegExpReplace($text,'(?s)(.*?"'&$aWordsStyle_name[$d]&'".*?styleID=")(d+)(".*)','2'))
        If StringLen(Eval('_Tmp'))>6 Then Eval('_Tmp')=0
        If StringLen(Eval('id_Tmp'))>2 Then ContinueLoop
        $Out&='style.'&$aLexerType_name[$i]&'.'&Eval('id_Tmp')&'=fore:#'&Eval('_Tmp')&@CRLF
    Next
Next

$file = FileOpen($WorkingDir&''&StringRegExpReplace($OpenFile, '(^.*)(.*).(.*)$', '2')&'.txt', 2)
FileWrite($file, $Out)
FileClose($file)
Edited by AZJIO
  • Developers
Posted

  On 11/24/2010 at 3:55 AM, 'NeverDie said:

Instead of using SciTEConfig to load Themes. I ran into Lua LPeg lexers for scite it has over 70 lexers for diffrent languages.

http://code.google.com/p/scintillua/

Lexers are written using parsing expression grammars or PEGs with the Lua LPeg library. Here is the web site on how to write lexers.

http://caladbolg.net/luadoc/textadept/modules/lexer.html

Maybe some of you might enjoy it as much i do...

Not sure what the relation of the new LUA lexer option is with the used color sheme's, but I haven;t spent any time in trying to upgrade our SciTE4AutoIt3 version to v2.xx thus we do not support it currently in our installation of SciTE.

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.
  :)

  • Developers
Posted

@jaberwocky6669, I would be happy to select a couple we think should be added to the standard setup and include them in the next package and on the website.

Thanks

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.
  :)

Posted (edited)

  On 11/24/2010 at 6:48 PM, 'Jos said:

@jaberwocky6669, I would be happy to select a couple we think should be added to the standard setup and include them in the next package and on the website.

Thanks

Jos

People seem to like Bespin and Twilight, but, no need to ask me because they aren't my themes.

Edited by jaberwocky6669
  • Developers
Posted

  On 11/24/2010 at 7:14 PM, 'jaberwocky6669 said:

People seem to like Bespin and Twilight, but, no need to ask me because they aren't my themes.

You started it so you own it.. :graduated:

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.
  :)

Posted

  On 11/26/2010 at 4:53 AM, 'Foxhound said:

I was trying out different configurations when this white vertical line kept popping up . I'm using the Black theme.

post-59038-0-56662000-1290747098_thumb.p

Any ideas on fixing it?

In your global options file i think if you change edge.mode=0 that will take away the line

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
  • Recently Browsing   0 members

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