English help on website



configcolor文(Ver9.34対応版)
目次configcolor− configcolorのJSON/オブジェクト指定

ファイルタイプ別の設定に関する設定: config  config "x"  config {...}  configcolor  configcolor {...}
ファイルタイプ別の設定に関する取得: キーワード  getconfig  getconfig {...}  getconfigcolor  getconfigcolor {...}


configcolorでJSONまたはJavaScriptのオブジェクト指定で設定する場合の、指定可能なプロパティの一覧です。

normal
lineno
linenoupdated
comment
hilight1
especially1
hilightline1
hilight2
especially2
hilightline2
linenomark
url
email
htmltag
htmlelem
htmlattr
cr
selection
tab
space
string
filename
hilight3
hilight4
kakkopair
script
ifdef
curlinevert
guidelinevert
orikaeshiline
outlinepane
stripe
curlineime
guidelinehorz
hilightfound
lastedit
hilight5
hilight6
hilight7
hilight8
especially3
especially4
hilightline3
hilightline4
num
outlinebar
foldable
folded
outlinepanesel
imeinput
formline
tabmode
tree1
tree2
tree3
tree4
tree5
tree6
tree7
tree8
inactivetab
caretime
tagpair
curword
curline
ruler
indent1
indent2
indent3
indent4
indent5
indent6
indent7
indent8

それぞれの値は、色とスタイルのオブジェクトになります。
色とスタイルのオブジェクトのプロパティは以下になります。
text
back
style
色は文字列で#から始まるRGB値か、以下の文字列のいずれかになります。
transparent
syswindow
syswindowtext
syshighlight
syshighlighttext
スタイルは、以下の文字列のいずれかになります。
normal
bold
underline
underline bold
italic
italic bold
underline italic
underline italic bold
outline
superbold
shadow
transparent

configcolor """
  {
    "normal": {"text": "#FFFFFF", "back": "#000000", "style": "normal"},
    "comment": {"text": "#008000", "back": "transparent", "style": "normal"},
    "hilight1": {"text": "#FFFF00", "back": "#FF0000", "style": "bold"}
  }
  """;
js{
  configcolor({
    normal: {text: "#FFFFFF", back: "#000000", style: "normal"},
    comment: {text: "#008000", back: "transparent", style: "normal"},
    hilight1: {text: "#FFFF00", back: "#FF0000", style: "bold"},
    });
}

参照:getconfigcolorのJSON/オブジェクト指定