yamasushi(2013/04/21 06:50:35 UTC)SciTEで使っている定義ファイルなど。
calltip.*.use.escapes=1
command.name.0.*=VC/Git Status
command.0.*=git status
command.is.filter.0.*= 0
command.subsystem.0.*= 2
command.name.1.*=VC/Git Diff
command.1.*=git diff
command.is.filter.1.*= 0
command.subsystem.1.*= 2
command.name.2.*=VC/Git Add
command.2.*=git add $(FilePath)
command.is.filter.2.*= 0
command.subsystem.2.*= 2
command.name.3.*=VC/Git Commit
command.3.*=git commit
command.is.filter.3.*= 0
command.subsystem.3.*= 2
command.name.4.*=VC/GitK
command.4.*=gitk
command.is.filter.4.*= 0
command.subsystem.4.*= 2
command.name.5.*=XSel/Primary
command.5.*=xsel -po
command.is.filter.5.*= 0
command.subsystem.5.*= 2
command.name.6.*=XSel/Scondary
command.6.*=xsel -so
command.is.filter.6.*= 0
command.subsystem.6.*= 2
#command.name.1.*=VC/Git Checkout
#command.1.*=git checkout $(FilePath)
#command.is.filter.1.*= 1
#command.subsystem.1.*= 2
if PLAT_GTK
command.scite.help=google-chrome "file://$(SciteDefaultHome)/SciTEDoc.html"
command.scite.help.subsystem=2
command.help.*=man $(CurrentWord) | col -b
#-------------------------------------------------------------------------- # https://groups.google.com/group/scite-interest/tree/browse_frm/month/2008-04/5a80cef55c33a9e7?rnum=191&lnk=nl # import languages\ada # If it is written in SciTEGlobal.properties: # that is imported file $(SciTEDefaultHome)\languages\ada.properties # # If it is written in SciTEUser.properties: # that is imported file $(SciTEUserHome)\languages\ada.properties # # If it is written in AnyOther.properties: # that is imported file $(AnyOtherPath)\languages\ada.properties import gauche/scite/sh import gauche/scite/gauche import gauche/scite/gauche.keywords import gauche/scite/cpp import gauche/scite/lua import gauche/scite/xml import gauche/scite/other #import gauche/vim/murphy.vim #import gauche/vim/koehler.vim ;blue.vim delek.vim evening.vim murphy.vim ron.vim shine.vim zellner.vim ;darkblue.vim desert.vim koehler.vim pablo.vim scheme.vim slate.vim ;default.vim elflord.vim morning.vim peachpuff.vim sheme.vim torte.vim
# 単語の文字 word.chars.lisp=$(chars.alpha)$(chars.numeric)+-*/?<>=._^!$:&%~ word.chars.scheme=$(chars.alpha)$(chars.numeric)+-*/?<>=._^!$:&%~ word.characters.$(file.patterns.lisp)=$(word.chars.lisp) word.characters.$(file.patterns.scheme)=$(word.chars.scheme) # 自動補完の設定 autocomplete.scheme.ignorecase=0 autocomplete.scheme.start.characters=$(word.chars.scheme) autocomplete.scheme.fillups=( autocomplete.lisp.ignorecase=0 autocomplete.lisp.start.characters=$(word.chars.lisp) autocomplete.lisp.fillups=( # calltipの設定 # lispの設定をすること。schemeの設定は念の為 calltip.scheme.use.escapes=1 calltip.scheme.word.characters=$(word.chars.scheme) calltip.scheme.parameters.start= \ calltip.scheme.parameters.end=) calltip.scheme.parameters.separators= \ calltip.scheme.end.definition=; calltip.scheme.ignorecase=0 calltip.lisp.use.escapes=1 calltip.lisp.word.characters=$(word.chars.lisp) calltip.lisp.parameters.start= \ calltip.lisp.parameters.end=) calltip.lisp.parameters.separators= \ calltip.lisp.end.definition=; calltip.lisp.ignorecase=0 api.$(file.patterns.scheme)=$(SciteUserHome)/gauche/scite/gauche.api command.name.9.$(file.patterns.scheme)=infogrep(rx) command.9.$(file.patterns.scheme)=/home/shuji/gauche/command/gosh-info -gx "$(CurrentWord)" | col -b command.is.filter.9.$(file.patterns.scheme)= 0 command.subsystem.9.$(file.patterns.scheme)= 0 command.name.10.$(file.patterns.scheme)=infogrep(str) command.10.$(file.patterns.scheme)=/home/shuji/gauche/command/gosh-info -g "$(CurrentWord)" | col -b command.is.filter.10.$(file.patterns.scheme)= 0 command.subsystem.10.$(file.patterns.scheme)= 0 command.help.$(file.patterns.scheme)=/home/shuji/gauche/command/gosh-info "$(CurrentWord)" | col -b command.go.$(file.patterns.scheme)=gosh $(FilePath) $(1) $(2) $(3) $(4) command.go.subsystem.$(file.patterns.scheme)=0
#!/usr/bin/env gosh
; /* -%- lang:scheme indent-width: 2; use-tabs: no; strip: yes -%-
(use gauche.parseopt)
(use textj.view-infoj)
(define (main args)
(let-args (cdr args)
[[ofni-mode "ofni"]
[ofni-mode-rx "ofnix"]
[module-mode "m"]
[module-mode-rx "mx"]
[grep-mode "g"]
[grep-mode-rx "gx"]
[else [opt . _ ] (print "不明なオプション : " opt) (exit) ]
. args]
(cond
[(null? args) (error "キーワードを指定すること")]
[ ofni-mode (ofni (car args))]
[ ofni-mode-rx (ofni ($ string->regexp $ car args))]
[ module-mode (modulegrep (car args))]
[ module-mode-rx (modulegrep ($ string->regexp $ car args))]
[ grep-mode (infogrep (car args))]
[ grep-mode-rx (infogrep ($ string->regexp $ car args))]
[ else (infoj (car args))] )
) 0 )
Tag: scite