SciTE 编辑器 - 文本, 代码, 日志
- 介绍:
- Notepad++ 基于它
- 能处理大文件, 比如 几百M
- 容易定制
- 对比其它的 GUI 编辑器, 各个方面没有明显的缺陷.
- 链接: https://www.scintilla.org/SciTE.html
- 安装
- 下载 https://www.scintilla.org/SciTEDownload.html > Full 64-bit download
- 解压缩到 C:\Program Files\SciTE
- 添加到 File Explorer 右键. 建立 SciTE.reg, 拷入下面的内容, 双击导入注册表.
Windows Registry Editor Version 5.00 [HKEY_CLASSES_ROOT\*\shell\SciTE] [HKEY_CLASSES_ROOT\*\shell\SciTE\command] @="\"C:\\Program Files\\SciTE\\SciTE.exe\" \"%1\""
-
- 打开 SciTE > Options > Open User Options File, 使用下面的配置.
#character and code settings #Unicode code.page=65001 output.code.page=65001 #Traditional Chinese #character.set=136 #code.page=950 #output.code.page=950 #Simplifiled #character.set=134 #code.page=936 #output.code.page=936 #Korea #character.set=129 #code.page=949 #output.code.page=949 #Japanese #character.set=128 #code.page=932 #Misc settings find.files=* load.on.activate=1 toolbar.visible=0 statusbar.visible=1 position.width=1536 position.height=1024 minimize.to.tray=1 check.if.already.open=1 save.session=1 save.recent=1 session.bookmarks=1 autocompleteword.automatic=1 #menukey.file.exit=<control>Q line.margin.visible=1 line.margin.width=4+ margin.width=0 buffers=50 default.file.ext=.txt title.full.path=1 title.show.buffers=1 split.vertical=0 tabbar.multiline=1 tabsize=4 indent.size=4 #find.replace.advanced=1 highlight.current.word=1 #highlight.current.word.colour=#FFFF00 #highlight.current.word.colour=#0000FF highlight.current.word.colour=#0000ff #cache.layout=3 #output.cache.layout=3 #output.scroll=2 end.at.last.line=1 find.use.strip=0 replace.use.strip=0 #find.strip.incremental=2 #replace.strip.incremental=2 highlight.current.word.indicator=style:roundbox,colour:#0080FF,under,outlinealpha:140,fillalpha:80 #fonts #font.monospace=font:Consolas,size:10 font.monospace=font:Courier New,size:10 #font.monospace=font:Arial Unicode MS,size:10 font.base=$(font.monospace) font.small=$(font.monospace) font.comment=$(font.monospace) font.text=$(font.monospace) font.text.comment=$(font.monospace) font.embedded.base=$(font.monospace) font.embedded.comment=$(font.monospace) font.vbs=$(font.monospace) 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;*.pl;*.rb;*.cgi;*.lua;*.conf;\ make*;*.mak;\ #find.command=perl.exe "C:\Program Files\SciTE\SciteFind.pl" '$(find.what)' '$(find.files)' #find.mark=1 #find.command=find "$(find.directory)" -exec "grep -r -E -H -i -a -n $(find.what) {}" #find.command=cmd /c c:\cygwin\bin\find "$(find.directory)" -type f -name "$(find.files)" -print0 | c:\cygwin\bin\xargs -0 grep -E -H -i -a -n "$(find.what)" #find.command=cmd /c c:\cygwin\bin\find "$(find.directory)" -type f -name "$(find.files)" -print0 | c:\cygwin\bin\xargs -0 fgrep -G -n "$(find.what)" command.name.1.*=Grep command.1.*=*grep -a -n -i -H "$(1)" "$(FilePath)" command.save.before.1.*=2 command.is.filter.1.*=1 command.name.2.*=eGrep command.2.*=*grep -a -n -i -H -E "$(1)" "$(FilePath)" command.save.before.2.*=2 command.is.filter.2.*=1 command.name.3.*=eGrep-r command.3.*=*grep -a -n -i -r -E "$(1)" "$(FileDir)" #command.3.*=*grep -a -n -i -B1 -E -H "$(1)" "$(FilePath)" command.save.before.3.*=2 command.is.filter.3.*=1 command.name.4.*=Grep-v command.4.*=*grep -a -n -i -v -E -H "$(1)" "$(FilePath)" command.save.before.3.*=2 command.is.filter.4.*=1 command.name.5.*=WinMerge command.5.*="C:\Program Files\WinMerge\WinMergeU.exe" $(FilePath) command.save.before.5.*=2 command.is.filter.5.*=1 command.subsystem.5.*=1 command.name.6.*=Formatter command.6.*=perl "E:\applications\perl\sqlformatter.pl" "$(CurrentSelection)" "$(1)" command.save.before.5.*=2 command.is.filter.6.*=1 command.subsystem.6.*=1 command.name.7.*=Formatter1 command.7.*=perl "E:\applications\perl\sqlformatter1.pl" "$(CurrentSelection)" command.save.before.7.*=2 command.is.filter.7.*=1 command.subsystem.7.*=1 command.name.8.*=MarkDown command.quiet.8.*=1 command.8.*=perl E:\applications\perl\Markdown\Markdown.pl "$(FilePath)" command.save.before.8.*=2 command.is.filter.8.*=1 command.subsystem.8.*=1 command.mode.30.*=subsystem:lua,savebefore:no,groupundo command.shortcut.30.*=Alt+Shift+I command.30.*=fixIndentation command.name.31.*=Strip Trailing Spaces command.mode.31.*=subsystem:3,savebefore:no command.31.*=stripTrailingSpaces command.name.33.*=Sort lines command.33.*=sort command.is.filter.33.*=1 command.subsystem.33.*=0 command.input.33.*=$(CurrentSelection) command.replace.selection.33.*=1 command.quiet.33.*=1