centos scite编辑器配置

装好scite后,发现还需要配置,查看配置手册简单的配置了一下,先了解几个配置文件的作用:

    SciTEGlobal.properties 全局配置文件,一般不去改动。

SciTEUser.properties 用户配置文件,对全局配置要改动的地方,都写在这个文件里。

SciTE.properties 本地配置文件,也就是针对当前目录的配置文件,会覆盖全局和用户配置文件。

html.properties 特定文件类型的配置文件,比如 html.properties就是专门针对网页文件的配置文件。
    1. 将SciTEGlobal.properties的内容复制到SciTEUser.properties,
            SciTEUser.properties位置: ~目录下隐藏文件 .SciTEUser.properties
            SciTEGlobal.properties位置: <你的目录>/scite/src下
            可以在scite----->Options----->Open SciTEGlobal.properties打开SciTEGlobal.properties文件,也可以打开其他文件      
    2.开始修改:
# 用户配置#=====窗体出现的位置,大小,设置=====#离左边的距离position.left=650#离上面的距离position.top=80#窗体的宽度position.width=500#窗体的高度position.height=600#position.maximize=1#position.tile=1#最小化时显示在托盘区 0表示任务栏minimize.to.tray=1#输出窗口放置在下方split.vertical=0#output.horizontal.size=200#output.vertical.size=10#output.initial.hide=0#horizontal.scrollbar=0#horizontal.scroll.width=10000#horizontal.scroll.width.tracking=0#output.horizontal.scrollbar=0#output.horizontal.scroll.width=10000#output.horizontal.scroll.width.tracking=0#output.scroll=0#error.select.line=1#鼠标在最后一行滚动条可继续下移end.at.last.line=1#tab可见tabbar.visible=1#当只打开一个文件时tab栏隐藏tabbar.hide.one=1#tab栏启用多行模式tabbar.multiline=0#toolbar.visible=1#toolbar.usestockicons=1#menubar.detachable=1#undo.redo.lazy=1#statusbar.visible=1#fileselector.width=800#fileselector.height=600#fileselector.show.hidden=1#magnification=-1#output.magnification=-1#行号设置line.margin.visible=1 #显示行号line.margin.width=3 # 行号显示的位数margin.width=0 #行号缩进的宽度#fold.margin.width=16#fold.margin.colour=#FF0000#fold.margin.highlight.colour=#0000FF#blank.margin.left=4#blank.margin.right=4buffered.draw=1#two.phase.draw=0#technology=1# Element styles#不显示行结束符view.eol=0#control.char.symbol=.caret.period=500view.whitespace=0#缩进空白不可见view.indentation.whitespace=1view.indentation.guides=1view.indentation.examine=3highlight.indentation.guides=1#caret.fore=#FF0000#caret.additional.blinks=0#闪烁光标的宽度caret.width=2#选中行的背景色caret.line.back=#FFFF00#选中行的透明度caret.line.back.alpha=90#长行指示edge.column=200edge.mode=0edge.colour=#C0DCC0#启用括号匹配检查braces.check=1braces.sloppy=1#选中字体的颜色selection.fore=#000000#选中字体的背景颜色透明度selection.alpha=100#选中字体的背景颜色selection.back=#000000#selection.additional.fore=#0000A0#selection.additional.back=#000080#selection.additional.alpha=20#selection.multiple=0#selection.additional.typing=0#virtual.space=3#rectangular.selection.modifier=4#whitespace.fore=#FF0000#whitespace.back=#FFF0F0#error.marker.fore=#0000A0#error.marker.back=#DADAFF#error.inline=1#bookmark.fore=#808000#bookmark.back=#FFFFA0#bookmark.alpha=#通过搜索找到的字符的颜色find.mark=#33cc33#highlight.current.word=1#highlight.current.word.by.style=1#highlight.current.word.colour=#00D040#indicators.alpha=63#indicators.under=1# Scriptingext.lua.startup.script=$(SciteUserHome)/SciTEStartup.luaext.lua.auto.reload=1#ext.lua.reset=1# 检查#关闭未保存文件提示are.you.sure=1#编译时自动保存文件are.you.sure.for.build=0#编译时保存所有文件save.all.for.build=0#quit.on.close.last=1#当前文件被修改自动重新载入load.on.activate=1#失去焦点时保存文件save.on.deactivate=1#重新载入提示are.you.sure.on.reload=0#save.on.timer=20#重新载入时保存还原信息reload.preserves.undo=1#在已运行的scite中打开新文件check.if.already.open=1#temp.files.sync.load=1#默认文件的后缀名default.file.ext=.java#source.default.extensions=.h|.cxx|.bat#在title中显示完整的路径title.full.path=1#title.show.buffers=1#pathbar.visible=1#save.recent=1#save.session=1#session.bookmarks=1#session.folds=1#save.position=1#save.find=1#open.dialog.in.file.directory=1#strip.trailing.spaces=1#ensure.final.line.end=1#ensure.consistent.line.ends=1#save.deletes.first=1#save.check.modified.time=1buffers=20#buffers.zorder.switching=1#api.*.cxx=d:apiw.api#locale.properties=locale.de.properties#translation.missing=***#read.only=1#background.open.size=20000#background.save.size=20000background.save.size=10000000#max.file.size=1#Tab键的长度tabsize=4#自然缩进长度indent.size=4#使用Tab键use.tabs=1#自动保持前一行的缩进indent.auto=1#智能缩进,和上面的区别就是有反缩进indent.automatic=1#代码缩进,比如大括号回车自动缩进indent.opening=1#代码反缩进,同上indent.closing=1#tab键缩进tab.indents=1#backspace.unindents=0#不自动换行wrap=0#换行的风格#wrap.style=2#cache.layout=3#输出窗口自动换行output.wrap=1#output.cache.layout=3#自动换行处的标记符#wrap.visual.flags=3#wrap.visual.flags.location=3#wrap.indent.mode=1#wrap.visual.startindent=4#=====代码折叠设置=====# 代码折叠开关fold=1#折叠指示fold.compact=1#代码折叠区域宽度fold.flags=16#代码折叠样式fold.symbols=3#fold.highlight=1#fold.highlight.colour=#00C0C0#fold.on.open=1#代码注释折叠fold.comment=1#折叠预处理fold.preprocessor=1#查找和替换设置find.command=#if PLAT_WIN#        find.command=findstr /n /s $(find.what) $(find.files)#find.input=$(find.what)#if PLAT_GTK#        find.command=grep --line-number "$(find.what)" $(find.files)find.files=*.c *.cxx *.h#find.in.files.close.on.find=0#find.in.dot=1#find.in.binary=1#find.in.directory=#find.close.on.find=0#find.replace.matchcase=1#find.replace.escapes=1#使用正则表达式搜索find.replace.regexp=1#替换相关设置find.replace.regexp.posix=1#搜索时可以wrap aroundfind.replace.wrap=1#find.replacewith.focus=0#替换高级开关find.replace.advanced=1#find.use.strip=1#replace.use.strip=1#strip.button.height=24# Behaviour#eol.mode=LFeol.auto=1clear.before.execute=0#vc.home.key=1#wrap.aware.home.end.keys=1#autocompleteword.automatic=1#autocomplete.choose.single=1caret.policy.xslop=1caret.policy.width=20caret.policy.xstrict=0caret.policy.xeven=0caret.policy.xjumps=0caret.policy.yslop=1caret.policy.lines=1caret.policy.ystrict=1caret.policy.yeven=1caret.policy.yjumps=0#visible.policy.strict=1#visible.policy.slop=1#visible.policy.lines=4#在输出区显示执行命令所用时间time.commands=1#caret.sticky=1#properties.directory.enable=1# Status Barstatusbar.number=4statusbar.text.1=li=$(LineNumber) co=$(ColumnNumber) $(OverType) ($(EOLMode)) $(FileAttr)statusbar.text.2=$(BufferLength) chars in $(NbOfLines) lines. Sel: $(SelLength) chars.statusbar.text.3=Now is: Date=$(CurrentDate) Time=$(CurrentTime)statusbar.text.4=$(FileNameExt) : $(FileDate) - $(FileTime) | $(FileAttr)if PLAT_WINcommand.scite.help="file://$(SciteDefaultHome)SciTEDoc.html"command.scite.help.subsystem=2if PLAT_GTKcommand.print.*=a2ps "$(FileNameExt)"command.scite.help=xdg-open "file://$(SciteDefaultHome)/SciTEDoc.html"# Internationalisation# Japanese input code page 932 and ShiftJIS character set 128#code.page=932#character.set=128# Unicode#code.page=65001#支持简体中文 963表示简体中文code.page=963output.code.page=963character.set=134code.page=65001#command.discover.properties=python /home/user/FileDetect.py "$(FilePath)"# Required for Unicode to work on GTK+:#LC_CTYPE=en_US.UTF-8if PLAT_GTKoutput.code.page=65001if PLAT_MACoutput.code.page=65001# Export#export.keep.ext=1export.html.wysiwyg=1#export.html.tabs=1#export.html.folding=1export.html.styleused=1#export.html.title.fullpath=1#export.rtf.tabs=1#export.rtf.font.face=Arial#export.rtf.font.size=9#export.rtf.tabsize=8#export.rtf.wysiwyg=0#export.tex.title.fullpath=1# Magnification (added to default screen font size)export.pdf.magnification=0# Font: Courier, Helvetica or Times (Courier line-wraps)export.pdf.font=Helvetica# Page size (in points): width, height# E.g. Letter 612,792; A4 595,842; maximum 14400,14400export.pdf.pagesize=595,842# Margins (in points): left, right, top, bottomexport.pdf.margins=72,72,72,72export.xml.collapse.spaces=1export.xml.collapse.lines=1# Define values for use in the imported properties fileschars.alpha=abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZchars.numeric=0123456789chars.accented=???????à?á?????????????è?é?ê???ì?í?????????ò?ó????????ù?ú???ü??????# This is a better set for Russian:chars.accented=?à?á????????¨??????è?é?ê???ì?í?????????ò?ó??????×÷???ù?ú???ü??????# The open.filter setting is used in the file selector which has a menu of filters to apply# to the types of files seen when opening.# There is a limit (possibly 256 characters) to the length of a filter on Windows,# so not all source extensions can be in this setting.source.files=*.asm;*.c;*.cc;*.cpp;*.cxx;*.cs;*.h;*.hh;*.hxx;*.hpp;*.idl;*.odl;*.rc;*.rc2;*.dlg;*.def;*.vb;*.vbs;*.bas;*.frm;*.cls;*.ctl;*.java;*.js;*.py;*.pyw;*.pl;*.rb;*.cgi;*.lua;*.conf;make*;*.mak;*.properties;*.html;*.xml;*.iface;*.bat;*.e;*.m;*.mm;*.sh;*.patch# Each platform has a different idea of the most important filtersif PLAT_WINall.files=All Files (*.*)|*.*|top.filters=All Source|$(source.files)|$(all.files)if PLAT_GTKall.files=All Files (*)|*|Hidden Files (.*)|.*|top.filters=All Source|$(source.files)|$(all.files)# As OS X only greys out filtered files, show all as defaultif PLAT_MACall.files=All Files (*.*)|*.*|top.filters=$(all.files)All Source|$(source.files)|open.filter=$(top.filters)$(filter.ada)$(filter.conf)$(filter.asm)$(filter.asn1)$(filter.ave)$(filter.baan)$(filter.bash)$(filter.caml)$(filter.cmake)$(filter.cpp)#$(filter.ch)$(filter.css)$(filter.d)$(filter.eiffel)$(filter.erlang)$(filter.fortran)$(filter.gap)#$(filter.hs)$(filter.idl)$(filter.inno)$(filter.java)$(filter.js)$(filter.kix)$(filter.lout)$(filter.lua)$(filter.matlab)$(filter.metapost)$(filter.mmixal)#$(filter.modula3)$(filter.nncrontab)$(filter.nsis)$(filter.opal)$(filter.pascal)$(filter.perl)$(filter.php)$(filter.pov)$(filter.powershell)$(filter.prg)$(filter.properties)$(filter.ps)$(filter.python)$(filter.r)$(filter.ruby)$(filter.sql)$(filter.specman)$(filter.tcl)$(filter.tex)$(filter.text)$(filter.txt2tags)$(filter.vb)$(filter.web)$(filter.yaml)$(filter.verilog)$(filter.vhdl)#save.filter=$(open.filter)# Give symbolic names to the set of fonts used in the standard styles.if PLAT_WINfont.base=font:Courier New,size:12font.small=font:Courier New,size:12font.comment=font:Comic Sans MS,size:9font.code.comment.box=$(font.comment)font.code.comment.line=$(font.comment)font.code.comment.doc=$(font.comment)font.code.comment.nested=$(font.comment)font.text=font:Times New Roman,size:11font.text.comment=font:Verdana,size:9font.embedded.base=font:Verdana,size:9font.embedded.comment=font:Comic Sans MS,size:8font.monospace=font:Courier New,size:10font.vbs=font:Lucida Sans Unicode,size:10if PLAT_GTKfont.base=font:Bitstream Vera Sans,size:12font.small=font:Bitstream Vera Sans,size:12font.comment=font:Bitstream Vera Serif,size:12font.code.comment.box=$(font.comment)font.code.comment.line=$(font.comment)font.code.comment.doc=$(font.comment)font.code.comment.nested=$(font.comment)font.text=font:Bitstream Charter,size:10font.text.comment=font:Serif,size:9font.embedded.base=font:Serif,size:9font.embedded.comment=font:Serif,size:9font.monospace=font:Bitstream Vera Sans Mono,size:9font.vbs=font:Bitstream Vera Sans Mono,size:9if PLAT_MACfont.base=font:Verdana,size:12font.small=font:Verdana,size:10font.comment=font:Georgia,size:13font.code.comment.box=$(font.comment)font.code.comment.line=$(font.comment)font.code.comment.doc=$(font.comment)font.code.comment.nested=$(font.comment)font.text=font:Times New Roman,size:13font.text.comment=font:Verdana,size:11font.embedded.base=font:Verdana,size:11font.embedded.comment=font:Comic Sans MS,size:10font.monospace=font:Courier New,size:12font.vbs=font:Lucida Sans Unicode,size:12font.js=$(font.comment)# Old GTK+ font settings are faster but not antialiased#~ font.base=font:lucidatypewriter,size:12#~ font.small=font:lucidatypewriter,size:10#~ font.comment=font:new century schoolbook,size:12#~ font.code.comment.box=$(font.comment)#~ font.code.comment.line=$(font.comment)#~ font.code.comment.doc=$(font.comment)#~ font.text=font:times,size:14#~ font.text.comment=font:lucidatypewriter,size:10#~ font.embedded.base=font:lucidatypewriter,size:12#~ font.embedded.comment=font:lucidatypewriter,size:12#~ font.monospace=font:courier,size:12#~ font.vbs=font:new century schoolbook,size:12# Give symbolic names to the set of colours used in the standard styles.colour.code.comment.box=fore:#007F00colour.code.comment.line=fore:#007F00colour.code.comment.doc=fore:#3F703Fcolour.code.comment.nested=fore:#A0C0A0colour.text.comment=fore:#0000FF,back:#D0F0D0colour.other.comment=fore:#007F00colour.embedded.comment=back:#E0EEFFcolour.embedded.js=back:#F0F0FFcolour.notused=back:#FF0000colour.number=fore:#007F7Fcolour.keyword=fore:#00007Fcolour.string=fore:#7F007Fcolour.char=fore:#7F007Fcolour.operator=fore:#000000colour.preproc=fore:#7F7F00colour.error=fore:#FFFF00,back:#FF0000# Global default styles for all languages# Defaultstyle.*.32=$(font.base)# Line numberstyle.*.33=back:#C0C0C0,$(font.base)# Brace highlightstyle.*.34=fore:#0000FF,bold# Brace incomplete highlightstyle.*.35=fore:#FF0000,bold# Control charactersstyle.*.36=# Indentation guidesstyle.*.37=fore:#C0C0C0,back:#FFFFFF# Printing#print.colour.mode=1print.magnification=-1# Windows-only setup: left, right, top, bottom margins, in local units:# hundredths of millimeters or thousandths of inchesprint.margins=1500,1000,1000,1500# Header/footer:print.header.format=$(FileNameExt) -- Printed on $(CurrentDate), $(CurrentTime) -- Page $(CurrentPage)print.footer.format=$(FilePath) -- File date: $(FileDate) -- File time: $(FileTime)# Header/footer styleprint.header.style=font:Arial,size:12,boldprint.footer.style=font:Arial Narrow,size:10,italics# Warnings - only works on Windows and needs to be pointed at files on machine#if PLAT_WIN#        warning.findwrapped=100,E:WindowsMediaSFXBoing.wav#        warning.notfound=0,Effect.wav#        warning.wrongfile=0,Glass.wav#        warning.executeok=0,Fanfare.wav#        warning.executeko=100,GlassBreak.wav#        warning.nootherbookmark=100,Boing2.wav# Define the Lexer menu,# Each item contains three parts: menu string | file extension | key# The only keys allowed currently are based on F-keys and alphabetic keys and look like# [Ctrl+][Shift+][Fn|a] such as F12 or Ctrl+Shift+D.# A '&' may be placed before a letter to be used as an accelerator. This does not work on GTK+.keyText=Shift+F11keyMake=Ctrl+Shift+F11keyHTML=F12keyXML=Shift+F12# On OS X, F11 is used by Expose, F12 by Dashbardif PLAT_MACos.x.home.end.keys=1keyText=Shift+F13keyMake=Ctrl+Shift+F13keyHTML=Ctrl+Shift+F14keyXML=Shift+F14menu.language=#FreeBasic|bas||Text|txt|$(keyText)|Ada|ads||#Apache Confi&g|conf||Assembler|asm||#ASN.1|asn1||#Avenue|ave||#Baan|bc||&Batch|bat||#Bullant|ant||&C / C++|c||#CMake|cmake||C&#|cs||#COBOL|cob||#Csound|orc||CSS|css||D|d||&Difference|diff||#&Eiffel|e||#Erlang|erl||&Errorlist|err||#FlagShip|prg||#Forth|forth||&Fortran|f90||#Gap|g||#Haskell|hs||H&ypertext|html|$(keyHTML)|#&InnoSetup|iss||&Java|java||Java&Script|js||#&Kix|kix||Lisp|lisp||#Lot|lot||#Lout|lt||Lu&a|lua||Matlab|m.matlab||&Makefile|mak|$(keyMake)|#MetaPost|mp||#MMIXAL|mms||#Modula-3|m3||#&nnCron crontab|tab||#NSIS|nsis||#Objective Caml|ml||#Octave|m.octave||#Opal|impl||Pascal|pas||Pe&rl|pl||P&HP|php||#P&LSQL|spec||#P&ostScript|ps||#P&OV-Ray SDL|pov||#PowerShell|ps1||#PowerPro|powerpro||&Properties|properties||Pytho&n|py||#R|R||#Reso&urce|rc||Ruby|rb||Shell|sh||S&QL|sql||#Specman|e||&TCL|tcl||TeX|tex||#&txt2tags|t2t||&VB|vb||VBScr&ipt|vbs||#Verilog|v||#VHDL|vhd||&XML|xml|$(keyXML)|YAML|yaml||# User defined key commandsuser.shortcuts=Ctrl+Shift+V|IDM_PASTEANDDOWN|Ctrl+PageUp|IDM_PREVFILE|Ctrl+PageDown|IDM_NEXTFILE|#KeypadPlus|IDM_EXPAND|#KeypadMinus|IDM_BLOCK_COMMENT|#user.context.menu=#||#Next File|IDM_NEXTFILE|#Prev File|IDM_PREVFILE|# To keep menus short, these .properties files are not loaded by default.imports.exclude=abaqus asn1 au3 avenue avs baan blitzbasic bullant cobol cmake csound ecl escript flagship forth freebasic gap haskell inno kix latex lot lout metapost mmixal modula3 nimrod nncrontab nsis opal oscript powerpro powershell purebasic r rebol scriptol smalltalk sorcins spice specman tacl tal txt2tags verilog vhdl# Newly removed: ave baan escript lot metapost mmixal# The set of imports allowed can be set with#imports.include=ave# Import all the language specific properties files in this directoryimport *
参与0

0同行回答

“答”则兼济天下,请您为题主分忧!

提问者

擅长领域: 服务器Linux大数据平台

相关问题

相关资料

相关文章

问题状态

  • 发布时间:2013-07-23
  • 关注会员:0 人
  • 问题浏览:12956
  • X社区推广