jaberwacky Posted November 16, 2010 Posted November 16, 2010 (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: downloads: 732Twilight.SciTEConfig -- Updated: November 26, 2010 expandcollapse popup#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-# # 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 January 23, 2014 by jaberwacky Ascer, xedaxy, MazeK and 1 other 3 1 Helpful Posts and Websites: AutoIt3 Variables and Function Parameters MHz | AutoIt Wiki | Using the GUIToolTip UDF BrewManNH | Can't find what you're looking for on the Forum?
James Posted November 16, 2010 Posted November 16, 2010 Twilight is nice. Sadly for me, my brain recognises code by colours. It suffered a lot of burn out when I was younger and coded solely in Notepad. James Blog - Seriously epic web hosting - Twitter - GitHub - Cachet HQ
jaberwacky Posted November 17, 2010 Author Posted November 17, 2010 (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 November 17, 2010 by jaberwocky6669 Helpful Posts and Websites: AutoIt3 Variables and Function Parameters MHz | AutoIt Wiki | Using the GUIToolTip UDF BrewManNH | Can't find what you're looking for on the Forum?
AZJIO Posted November 17, 2010 Posted November 17, 2010 (edited) Blackscreenshot Themes.SciTEConfig or C:Documents and Settings<nameuser>SciTEUser.properties expandcollapse popup# AZJIO #------------------------------------------------------------ font.base=font:Arial,size:10,$(font.override) font.monospace=font:Arial,size:10 proper.case=0 check.updates.scite4autoit3=0 use.tabs=1 indent.size=4 indent.size.*.au3=4 tabsize=4 # All files style.*.32=fore:#999999,back:#3F3F3F,$(font.base) style.*.33=fore:#8A8A8A,back:#0C0C0C,$(font.base) style.*.34=fore:#0080FF,back:#000000 style.*.35=fore:#71AE71,italics,back:#3F3F3F #style.*.36=fore:#ff0000,back:#0000ff - ??? style.*.37=fore:#8A8A8A,back:#0C0C0C whitespace.fore=#999999 whitespace.back=#3F3F3F bookmark.fore=#000000 bookmark.back=#71AE71 # bat, cmd style.batch.32=style.*.32=$(font.base),back:#3F3F3F style.batch.0=fore:#999999 # Default (SCE_BAT_DEFAULT) style.batch.1=fore:#71AE71 # Comment (rem or ::) (SCE_BAT_COMMENT) style.batch.2=fore:#009FFF,bold # Keywords (SCE_BAT_WORD) style.batch.3=fore:#C8C800,back:#000000 # Label (line beginning with ':') (SCE_BAT_LABEL) style.batch.4=fore:#FF46FF,bold # Hide command character ('@') (SCE_BAT_HIDE) style.batch.5=fore:#AAA6DB,bold # External commands (SCE_BAT_COMMAND) style.batch.6=fore:#D39D72,bold # Variable: %%x (x is almost whatever, except space and %), %n (n in ) (SCE_BAT_IDENTIFIER) style.batch.7=fore:#FF8080 # Operator: * ? < > | (SCE_BAT_OPERATOR) style.batch.8=fore:#D39D72,bold # Variable: %EnvironmentVar% (SCE_BAT_ENVIRONMENT) style.batch.9=fore:#D39D72,bold # Variable: !EnvironmentVar! (SCE_BAT_EXPANSION) style.batch.10=fore:#448489,bold # Label in text (SCE_BAT_CLABEL) # Комментарий двумя двоеточиями comment.block.batch=:: braces.batch.style=7 # Braces are only matched in operator style style.au3.32=style.*.32=$(font.base),back:#3F3F3F # Background (фон для всех) style.au3.34=fore:#0080FF,back:#000000 # Brace highlight (скобка и фон скобки) style.au3.35=fore:#71AE71,italics,back:#3F3F3F # Brace incomplete highlight # Line Number Margin - колонка номеров строк style.au3.33=fore:#8A8A8A,back:#0C0C0C,$(font.base) style.au3.37=fore:#8A8A8A,back:#0C0C0C #line.margin.visible=1 line.margin.width=1+ # Колонка плюсиков для разворачивания блоков fold.margin.colour=#181818 fold.margin.highlight.colour=#101010 #fold.colour=#ff0000 #fold.highlight.colour=#ff0000 #fold.compact=0 # Мигающий курсор caret.fore=#8FAF9F caret.line.back=#101010 #caret.width=2 #caret.line.back.alpha=100 # Выделенная область курсором selection.fore=#999999 selection.back=#585858 # selection.alpha=75 # Вертикальная линия справа, edge.mode=0 убирает эту линию, edge.column - отступ слева до линии edge.colour=#8A8A8A edge.mode=0 #edge.column=500 #Console - запись в консоль при выполнении скрипта по F5 style.errorlist.32=back:#3F3F3F,$(font.monospace) style.errorlist.0=fore:#999999 style.errorlist.2=fore:#C738B9 style.errorlist.3=fore:#FF8080 style.errorlist.4=fore:#AAA6DB style.errorlist.5=fore:#000000 style.errorlist.11=fore:#71AE71 style.errorlist.12=fore:#EA9515 style.errorlist.21=fore:#c0c000 error.marker.fore=fore:#ff0000,italics,back:#3F3F3F colour.error=fore:#ff0000,back:#FF8080 # css style.css.0=fore:#DCDCCC style.css.1=fore:#AAA6DB style.css.2=fore:#0080FF style.css.3=fore:#61AFAF style.css.4=fore:#CEDF99 style.css.5=fore:#FF8080 style.css.6=fore:#D29A6C style.css.7=fore:#DCDCCC style.css.8=fore:#8296AE style.css.9=fore:#71AE71 style.css.10=fore:#CEDF99 style.css.11=fore:#BFCAA9 style.css.12=fore:#CEDF99 style.css.13=fore:#b5b5b5 style.css.14=fore:#b5b5b5 # ini, reg style.props.0=fore:#A7A7A7 # Default style.props.1=fore:#71AE71 # Comment style.props.2=fore:#4A88D2 # Section style.props.3=fore:#FF8080 # Assignment operator style.props.4=fore:#FF8380 # Default value (@) style.props.5=fore:#A7A7A7 # Key style.props.6=fore:#A7A7A7 # Keys Set 0 style.props.8=fore:#A7A7A7 # Keys Set 2 # HTML style.hypertext.0=fore:#999999 # Text style.hypertext.1=fore:#0080FF # Tags style.hypertext.2=fore:#EDD6ED # Unknown Tags style.hypertext.3=fore:#FF8080 # Attributes style.hypertext.4=fore:#DFDFDF # Unknown Attributes style.hypertext.5=fore:#FF00FF # Numbers style.hypertext.6=fore:#CC9393 # Double quoted strings style.hypertext.7=fore:#6860D2 # Single quoted strings style.hypertext.8=fore:#B5B5B5 # Other inside tag style.hypertext.9=fore:#71AE71 # Comment style.hypertext.10=fore:#CDD04A,back:#555555 # Entities style.hypertext.11=fore:#E3CEAB # XML style tag ends '/>' style.hypertext.17=fore:#C89191 # CDATA style.hypertext.19=fore:#FF8000 # Unquoted values style.hypertext.21=fore:#DFDFDF # SGML tags <! ... > # XML style.xml.0=fore:#999999 # Default style.xml.1=fore:#AAA6DB # Tags style.xml.2=fore:#EDD6ED # Unknown Tags style.xml.3=fore:#CC7975 # Attributes style.xml.4=fore:#CC7975 # Unknown Attributes style.xml.5=fore:#8CD0D3 # Numbers style.xml.6=fore:#8296AE # Double quoted strings style.xml.7=fore:#8296AE # Single quoted strings style.xml.8=fore:#B5B5B5 # Other inside tag style.xml.9=fore:#71AE71 # Comment style.xml.11=fore:#AAA6DB # XML style tag ends '/>' style.xml.12=fore:#7F9F7F # XML identifier start '<?' style.xml.13=fore:#7F9F7F # XML identifier end '?>' style.xml.17=fore:#6860D2 # CDATA style.xml.21=fore:#CC7975 # SGML tags <! ... > ; style.xml.1=fore:#0080FF ; style.xml.3=fore:#FF8080 ; style.xml.4=fore:#FF8080 ; style.xml.6=fore:#6860D2 ; style.xml.7=fore:#6860D2 ; style.xml.11=fore:#0080FF ; style.xml.21=fore:#FF8080 # Зададим типовые цвета, чтобы затем их использовать во всех языковых .properties. ; colour.comment=fore:#008000 ; colour.code.comment.doc=$(colour.comment),back:#FEFEFE ; colour.embedded.comment=back:#E0EEFF ; colour.number=fore:#C738B9 ; colour.keyword=fore:#0080FF ; colour.string=fore:#999999 ; colour.char=$(colour.string) ; colour.operator=fore:#FF8080 ; colour.preproc=fore:#F000FF ; colour.error=fore:#ff0000,back:#FF8080 ; colour.whitespace=fore:#72ADC0 # VB, FreeBasic style.vb.0=fore:#FF8080 # Default, White space - @ style.vb.1=fore:#71AE71,italics # Comment style.vb.2=fore:#DC57EB # Number style.vb.3=fore:#0080FF # Keyword1 style.vb.4=fore:#999999 # String style.vb.5=fore:#D997DE # Preprocessor (directives) style.vb.6=fore:#FF8080 # Operator style.vb.7=fore:#C0AD72 # Identifier # style.vb.8=$(colour.error) # Date # style.vb.9=$(colour.error) # StringEOL style.vb.10=fore:#0080FF # Keyword2 style.vb.11=fore:#0080FF # Keyword3 style.vb.12=fore:#0080FF # Keyword4 # C++ style.cpp.0=fore:#72ADC0 # White space style.cpp.1=fore:#71AE71,italics # Comment line style.cpp.2=fore:#71AE71,italics # Comment block style.cpp.3=fore:#AAA6DB # style.cpp.4=fore:#C738B9 # Number style.cpp.5=fore:#0080FF # Keyword style.cpp.6=fore:#999999 # String style.cpp.7=fore:#9999AA # style.cpp.8=fore:#FF8080 # style.cpp.9=fore:#F000FF # Pre-Processor style.cpp.10=fore:#FF8080 # Operator style.cpp.11=fore:#D29A6C # Variable style.cpp.12=fore:#0080C0 # Special style.cpp.13=fore:#7D8AE6,bold # Abbrev-Expand style.cpp.14=fore:#0080FF,bold # Com Objects style.cpp.15=fore:#72ADC0 # Standard UDF's # au3 style.au3.0=fore:#72ADC0 # White space style.au3.1=fore:#71AE71,italics # Comment line style.au3.2=fore:#71AE71,italics # Comment block style.au3.3=fore:#C738B9 # Number style.au3.4=fore:#AAA6DB # Function style.au3.5=fore:#0080FF # Keyword style.au3.6=fore:#FF46FF # Macro style.au3.7=fore:#999999 # String style.au3.8=fore:#FF8080 # Operator style.au3.9=fore:#D29A6C # Variable style.au3.10=fore:#EA9515,bold # Sent keys style.au3.11=fore:#F000FF # Pre-Processor style.au3.12=fore:#0080C0 # Special style.au3.13=fore:#7D8AE6,bold # Abbrev-Expand style.au3.14=fore:#0080FF,bold # Com Objects style.au3.15=fore:#72ADC0 # Standard UDF's Edited February 27, 2015 by AZJIO oceanwind 1 My other projects or all
AZJIO Posted November 17, 2010 Posted November 17, 2010 (edited) Themes Notepad++ > to > Themes SciTE expandcollapse popup$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 December 27, 2012 by AZJIO masvil and Kyan 2 My other projects or all
jaberwacky Posted November 18, 2010 Author Posted November 18, 2010 (edited) Refer to original post for usage information.Bespin.SciTEConfig -- Updated: 11/26/2010 -- Screenshot (http://www.mediafire.com/i/?yj0ibi8ngrc8ysi)expandcollapse popup#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-# 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 November 26, 2010 by jaberwocky6669 Helpful Posts and Websites: AutoIt3 Variables and Function Parameters MHz | AutoIt Wiki | Using the GUIToolTip UDF BrewManNH | Can't find what you're looking for on the Forum?
jaberwacky Posted November 18, 2010 Author Posted November 18, 2010 (edited) Refer to original post for usage information.Obsidian.SciTEConfig -- Updated: 11/26/2010 -- Screenshot: (http://www.mediafire.com/i/?v2tacz0xwc0dz5d)expandcollapse popup#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-# 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 November 26, 2010 by jaberwocky6669 Helpful Posts and Websites: AutoIt3 Variables and Function Parameters MHz | AutoIt Wiki | Using the GUIToolTip UDF BrewManNH | Can't find what you're looking for on the Forum?
AZJIO Posted November 19, 2010 Posted November 19, 2010 (edited) bat, html, xml, ini, etc. (Notepad++ >> SciTE)expandcollapse popupIf 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 July 2, 2012 by AZJIO My other projects or all
NeverDie Posted November 24, 2010 Posted November 24, 2010 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.htmlMaybe some of you might enjoy it as much i do...
Developers Jos Posted November 24, 2010 Developers Posted November 24, 2010 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.htmlMaybe 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 Jos Posted November 24, 2010 Developers Posted November 24, 2010 @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.
jaberwacky Posted November 24, 2010 Author Posted November 24, 2010 (edited) @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.ThanksJosPeople seem to like Bespin and Twilight, but, no need to ask me because they aren't my themes. Edited November 24, 2010 by jaberwocky6669 Helpful Posts and Websites: AutoIt3 Variables and Function Parameters MHz | AutoIt Wiki | Using the GUIToolTip UDF BrewManNH | Can't find what you're looking for on the Forum?
Developers Jos Posted November 24, 2010 Developers Posted November 24, 2010 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.. BKDay 1 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.
jaberwacky Posted November 24, 2010 Author Posted November 24, 2010 Well then, Bespin is my fav and Twilight is my 2nd nomination. Helpful Posts and Websites: AutoIt3 Variables and Function Parameters MHz | AutoIt Wiki | Using the GUIToolTip UDF BrewManNH | Can't find what you're looking for on the Forum?
AZJIO Posted November 25, 2010 Posted November 25, 2010 (edited) Edited November 26, 2010 by AZJIO My other projects or all
James Posted November 25, 2010 Posted November 25, 2010 How have you got the code line numbers to show in a darker grey? Blog - Seriously epic web hosting - Twitter - GitHub - Cachet HQ
jaberwacky Posted November 25, 2010 Author Posted November 25, 2010 How have you got the code line numbers to show in a darker grey?This line: style.au3.33=$(font.monospaced),fore:#F8F8F8,back:#2E3436 Helpful Posts and Websites: AutoIt3 Variables and Function Parameters MHz | AutoIt Wiki | Using the GUIToolTip UDF BrewManNH | Can't find what you're looking for on the Forum?
Foxhound Posted November 26, 2010 Posted November 26, 2010 I was trying out different configurations when this white vertical line kept popping up . I'm using the Black theme. Any ideas on fixing it? [quote]Quick YouTube To MP3 | Lyrics Finder | Internet Radio Player | GetWeather | TinyURLifier[/quote]
NeverDie Posted November 26, 2010 Posted November 26, 2010 I was trying out different configurations when this white vertical line kept popping up . I'm using the Black theme. Any ideas on fixing it? In your global options file i think if you change edge.mode=0 that will take away the line
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now