HSP3.hilight Ver.1.2a3

//**************************************************************************************************
//     HSP3.hilight Ver.1.2a3
//         Hot Soup Processor 3.x のスクリプトの秀丸エディタ強調表示定義ファイル
//                                                                          Last Update: 2007/10/14
//                                                                                  Author: fujidig
//                                                                          http://www.fujidig.com/
//                                                                             fuji.rosen@gmail.com
//**************************************************************************************************


//==================================================================================================
// 強調表示
//==================================================================================================

//--------------------------------------------------------------------------------------------------
// 演算子・記号
// ( 大文字小文字の区別 : ON / 単語の検索 : OFF / 正規表現 : OFF / 強調1 )
//--------------------------------------------------------------------------------------------------

01,!
01,!=
01,&
01,&&
01,&&=
01,&=
01,(
01,)
01,*
01,*=
01,+
01,++
01,+=
01,,
01,-
01,--
01,-=
01,->
01,.
01,/
01,/=
01,:
01,<
01,<<
01,<=
01,=
01,==
01,=>
01,>
01,>=
01,>>
01,\
01,\=
01,^
01,^=
01,{
01,|
01,|=
01,||
01,||=
01,}

//--------------------------------------------------------------------------------------------------
// ラベル
// ( 大文字小文字の区別 : ON / 単語の検索 : OFF / 正規表現 : ON / 強調2 )
//--------------------------------------------------------------------------------------------------

81,(?<=([(,:=]|^|([\t (,]|^)[\t ]*(goto|gosub)|(:|^)[\t ]*[A-Z_a-z@`。-゚、-黑][0-9A-Z_a-z@`。-゚ -黑]*)[\t ]*)\*[A-Z_a-z@`。-゚、-黑][0-9A-Z_a-z@`。-゚ -黑]*

//--------------------------------------------------------------------------------------------------
// マクロ
// ( 大文字小文字の区別 : OFF / 単語の検索 : ON / 正規表現 : OFF / 強調3 )
//--------------------------------------------------------------------------------------------------

169,__date__
169,__hsp30__
169,__hspver__
169,__line__
169,__time__
169,_debug

169,and
169,not
169,or
169,xor

169,font_antialias
169,font_bold
169,font_italic
169,font_normal
169,font_strikeout
169,font_underline
169,gmode_add
169,gmode_alpha
169,gmode_gdi
169,gmode_mem
169,gmode_pixela
169,gmode_rgb0
169,gmode_rgb0alpha
169,gmode_sub
169,msgothic
169,msmincho
169,objmode_guifont
169,objmode_normal
169,objmode_usefont
169,screen_fixedsize
169,screen_frame
169,screen_hide
169,screen_normal
169,screen_palette
169,screen_tool

//--------------------------------------------------------------------------------------------------
// プログラム制御命令/マクロ
// ( 大文字小文字の区別 : OFF / 単語の検索 : ON / 正規表現 : OFF / 強調4 )
//--------------------------------------------------------------------------------------------------

233,if
233,else
233,break
233,continue
233,end
233,return
233,repeat
233,loop
233,goto
233,gosub
233,foreach
233,exgoto
233,on
233,run

233,_break
233,_continue
233,case
233,default
233,do
233,for
233,next
233,swbreak
233,swend
233,switch
233,until
233,wend
233,while

//--------------------------------------------------------------------------------------------------
// 標準命令・命令のようなマクロ
// ( 大文字小文字の区別 : OFF / 単語の検索 : ON / 正規表現 : OFF / 強調5 )
//--------------------------------------------------------------------------------------------------

// 標準命令
299,assert
299,await
299,axobj
299,bcopy
299,bgscr
299,bload
299,bmpsave
299,boxf
299,bsave
299,buffer
299,button
299,chdir
299,chdpm
299,chgdisp
299,chkbox
299,circle
299,clrobj
299,cls
299,cnvstow
299,color
299,combox
299,comevarg
299,comevent
299,comres
299,delcom
299,delete
299,delmod
299,dialog
299,dim
299,dimtype
299,dirlist
299,dup
299,dupptr
299,exec
299,exist
299,font
299,gcopy
299,getkey
299,getstr
299,gmode
299,grect
299,groll
299,grotate
299,gsel
299,gsquare
299,gzoom
299,hsvcolor
299,input
299,line
299,listbox
299,logmes
299,lpoke
299,mcall
299,mci
299,memcpy
299,memexpand
299,memfile
299,memset
299,mes
299,mesbox
299,mkdir
299,mmload
299,mmplay
299,mmstop
299,mouse
299,mref
299,newcom
299,newmod
299,noteadd
299,notedel
299,noteget
299,noteload
299,notesave
299,notesel
299,noteunsel
299,objmode
299,objprm
299,objsel
299,objsize
299,onclick
299,oncmd
299,onerror
299,onexit
299,onkey
299,palcolor
299,palette
299,pget
299,picload
299,poke
299,pos
299,print
299,pset
299,querycom
299,randomize
299,redraw
299,sarrayconv
299,screen
299,sdim
299,sendmsg
299,stick
299,stop
299,syscolor
299,sysfont
299,system
299,title
299,wait
299,width
299,winobj
299,wpoke

299,alloc
299,ddim

//--------------------------------------------------------------------------------------------------
// 標準関数・関数のようなマクロ
// ( 大文字小文字の区別 : OFF / 単語の検索 : ON / 正規表現 : OFF / 強調6 )
//--------------------------------------------------------------------------------------------------

363,abs
363,absf
363,atan
363,callfunc
363,cnvwtos
363,comevdisp
363,cos
363,dirinfo
363,double
363,expf
363,getpath
363,gettime
363,ginfo
363,instr
363,int
363,length
363,length2
363,length3
363,length4
363,libptr
363,limit
363,limitf
363,logf
363,lpeek
363,noteinfo
363,objinfo
363,peek
363,rnd
363,sin
363,sqrt
363,str
363,strf
363,strlen
363,strmid
363,sysinfo
363,tan
363,varptr
363,vartype
363,varuse
363,wpeek

363,objinfo_bmscr
363,objinfo_hwnd
363,objinfo_mode

//--------------------------------------------------------------------------------------------------
// システム変数・システム変数のようなマクロ
// ( 大文字小文字の区別 : OFF / 単語の検索 : ON / 正規表現 : OFF / 強調7 )
//--------------------------------------------------------------------------------------------------

427,cnt
427,err
427,hdc
427,hinstance
427,hspstat
427,hspver
427,hwnd
427,iparam
427,looplev
427,lparam
427,mousew
427,mousex
427,mousey
427,refdval
427,refstr
427,stat
427,strsize
427,sublev
427,thismod
427,wparam

427,dir_cmdline
427,dir_cur
427,dir_desktop
427,dir_exe
427,dir_mydoc
427,dir_sys
427,dir_win
427,ginfo_act
427,ginfo_b
427,ginfo_cx
427,ginfo_cy
427,ginfo_dispx
427,ginfo_dispy
427,ginfo_g
427,ginfo_intid
427,ginfo_mesx
427,ginfo_mesy
427,ginfo_mx
427,ginfo_my
427,ginfo_paluse
427,ginfo_r
427,ginfo_sel
427,ginfo_sizex
427,ginfo_sizey
427,ginfo_sx
427,ginfo_sy
427,ginfo_vx
427,ginfo_vy
427,ginfo_winx
427,ginfo_winy
427,ginfo_wx1
427,ginfo_wx2
427,ginfo_wy1
427,ginfo_wy2
427,notemax
427,notesize

//--------------------------------------------------------------------------------------------------
// プリプロセッサ関係
// ( 大文字小文字の区別 : ON / 単語の検索 : ON / 正規表現 : OFF / 強調8 )
//--------------------------------------------------------------------------------------------------

483,#uselib
483,#usecom
483,#undef
483,#runtime
483,#regcmd
483,#packopt
483,#pack
483,#module
483,#modterm
483,#modinit
483,#modfunc
483,#include
483,#ifndef
483,#ifdef
483,#if
483,#global
483,#func
483,#epack
483,#enum
483,#endif
483,#else
483,#define
483,#deffunc
483,#defcfunc
483,#const
483,#comfunc
483,#cmpopt
483,#cmd
483,#cfunc
483,#ahtmes
483,#aht
483,#addition

// 命令のキーワードなど
507,(?<=#packopt[ \t]+)(name|runtime|type|xsize|ysize|hide|orgpath)
507,(?<=#cmpopt[ \t]+)(ppout|optcode|optinfo|varname)
507,(?<=#aht[ \t]+)(class|name|author|ver|exp|icon|iconid)
507,(?<=#(func|cfunc|define|const|enum|comfunc)[ \t]+)global
507,(?<=#define[ \t]+(global[ \t]+)?)ctype
507,(?<=#const[ \t]+(global[ \t]+)?)double
507,(?<=#(deffunc|defcfunc)[ \t]+)local
507,(?<=#(deffunc|defcfunc)[ \t]+(local[ \t]+)?[A-Z_a-z@`。-゚、-黑][0-9A-Z_a-z@`。-゚ -黑]*[ \t]+)onexit
507,(?<=#(func|cfunc)[ \t]+[A-Z_a-z@`。-゚、-黑][0-9A-Z_a-z@`。-゚ -黑]*[ \t]+)onexit

// パラメータタイプ
507,(int|var|array|str|double|label|local)(?=[ \t]+[A-Z_a-z@`。-゚、-黑])
507,(bmscr|comobj|double|float|hdc|hinst|hwnd|int|label|nullptr|pexinfo|prefstr|pval|sptr|str|var|wptr|wstr)(?=[ \t]*(,|$))

//--------------------------------------------------------------------------------------------------
// モジュール/関数/ラベルの行の強調
// ( 大文字小文字の区別 : ON / 単語の検索 : OFF / 正規表現 : ON / 行の強調1~3 )
//--------------------------------------------------------------------------------------------------

21,^[ \t]*#(module|global)
85,^[ \t]*#(modinit|modfunc|modterm|deffunc|defcfunc)
149,^[ \t]*\*[A-Z_a-z`。-゚、-黑][0-9A-Z_a-z@`。-゚ -黑]*

//==================================================================================================
// カラー
//==================================================================================================

/<ColorSet>
/[0][0]:0x01000008
/[0][1]:0x01000005
/[0][2]:0x00000000
/[1][0]:0x01000008
/[1][1]:0x02000000
/[1][2]:0x00000000
/[2][0]:0x01000008
/[2][1]:0x02000000
/[2][2]:0x00000001
/[3][0]:0x00008000
/[3][1]:0x02000000
/[3][2]:0x00000000
/[4][0]:0x01000008
/[4][1]:0x02000000
/[4][2]:0x00000001
/[5][0]:0x00FF0000
/[5][1]:0x02000000
/[5][2]:0x00000001
/[6][0]:0x02000000
/[6][1]:0x00D8D8F5
/[6][2]:0x0000000B
/[7][0]:0x00808000
/[7][1]:0x02000000
/[7][2]:0x00000001
/[8][0]:0x000000FF
/[8][1]:0x02000000
/[8][2]:0x00000001
/[9][0]:0x02000000
/[9][1]:0x00D8F5D8
/[9][2]:0x0000000B
/[10][0]:0x01000005
/[10][1]:0x00008000
/[10][2]:0x00000000
/[11][0]:0x00800080
/[11][1]:0x02000000
/[11][2]:0x00000002
/[12][0]:0x00800000
/[12][1]:0x02000000
/[12][2]:0x00000002
/[13][0]:0x00808000
/[13][1]:0x02000000
/[13][2]:0x00000000
/[14][0]:0x00800080
/[14][1]:0x02000000
/[14][2]:0x00000000
/[15][0]:0x00000080
/[15][1]:0x02000000
/[15][2]:0x00000000
/[16][0]:0x00808000
/[16][1]:0x01000005
/[16][2]:0x00000000
/[17][0]:0x0100000E
/[17][1]:0x0100000D
/[17][2]:0x00000000
/[18][0]:0x00808080
/[18][1]:0x01000005
/[18][2]:0x00000000
/[19][0]:0x00808080
/[19][1]:0x01000005
/[19][2]:0x00000000
/[20][0]:0x000000FF
/[20][1]:0x02000000
/[20][2]:0x00000000
/[21][0]:0x00008080
/[21][1]:0x02000000
/[21][2]:0x00000002
/[22][0]:0x00800000
/[22][1]:0x02000000
/[22][2]:0x00000001
/[23][0]:0x00800080
/[23][1]:0x02000000
/[23][2]:0x00000001
/[24][0]:0x01000008
/[24][1]:0x02000000
/[24][2]:0x00000001
/[25][0]:0x01000008
/[25][1]:0x02000000
/[25][2]:0x00000001
/[26][0]:0x00800080
/[26][1]:0x02000000
/[26][2]:0x00000000
/[27][0]:0x00000080
/[27][1]:0x01000005
/[27][2]:0x00000000
/[28][0]:0x00C0C0C0
/[28][1]:0x01000005
/[28][2]:0x00000000
/[29][0]:0x00808000
/[29][1]:0x01000005
/[29][2]:0x00000000
/[30][0]:0x01000008
/[30][1]:0x01000005
/[30][2]:0x00000000
/[31][0]:0x00E0E0E0
/[31][1]:0x01000005
/[31][2]:0x00000000
/[32][0]:0x000000FF
/[32][1]:0x01000005
/[32][2]:0x00000000
/[33][0]:0x00C0C0C0
/[33][1]:0x01000005
/[33][2]:0x00000000
/[34][0]:0x01000008
/[34][1]:0x0000FFFF
/[34][2]:0x00000001
/[35][0]:0x000000FF
/[35][1]:0x01000005
/[35][2]:0x00000000
/[36][0]:0x00000080
/[36][1]:0x02000000
/[36][2]:0x00000001
/[37][0]:0x00008000
/[37][1]:0x02000000
/[37][2]:0x00000001
/[38][0]:0x00008080
/[38][1]:0x02000000
/[38][2]:0x00000001
/[39][0]:0x00C0C0C0
/[39][1]:0x02000000
/[39][2]:0x00000001
/[40][0]:0x0000FF00
/[40][1]:0x02000000
/[40][2]:0x00000001
/[41][0]:0x00FF00FF
/[41][1]:0x02000000
/[41][2]:0x00000001
/[42][0]:0x02000000
/[42][1]:0x00F5D8D8
/[42][2]:0x0000000B
/[43][0]:0x00FFFFFF
/[43][1]:0x00800080
/[43][2]:0x00000000
/[44][0]:0x00FF0000
/[44][1]:0x02000000
/[44][2]:0x00000000
/[45][0]:0x00FFFFFF
/[45][1]:0x00808080
/[45][2]:0x00000000
/[46][0]:0x00808080
/[46][1]:0x00E0E0E0
/[46][2]:0x00000000
/[47][0]:0x00808000
/[47][1]:0x02000000
/[47][2]:0x00000000
/[48][0]:0x01000005
/[48][1]:0x01000008
/[48][2]:0x00000000
/[49][0]:0x02000000
/[49][1]:0x02000000
/[49][2]:0x00000000
/[50][0]:0x00000000
/[50][1]:0x00000000
/[50][2]:0x00000000
/<ColorSetEx>
CurLineColorEx:0x00000080
RulerColorEx:0xFFFFFFFF
RulerBackEx:0xFFFFFFFF

//==================================================================================================
// 複数行の強調
//==================================================================================================

/<HilightMulti>
/0014,00000002,00,5C,00010003,"(?<={)\"",00010003,"\"(?=})"
/0014,00000002,00,5C,00000002,"\"",00010003,"\"|$"
/0014,00000002,00,5C,00000002,"'",00010003,"'|$"
/0003,00000003,00,00,00000002,"//",00000002,""
/0003,00000003,00,00,00000002,";",00000002,""
/0003,00000002,00,00,00000002,"/*",00000002,"*/"

//==================================================================================================
// ツリー定義
//==================================================================================================

/<TreeWord>
/0000,0000,0000,00000001,00008112,"","モジュール"
/0001,0000,0000,00000080,00008112,"","関数"
/0001,0000,0000,00000800,00002112,"","ラベル"

インフォメーション

公開日時
2007年10月14日 午後5時9分45秒
最終更新日時
2007年10月14日 午後5時11分18秒
カテゴリ
秀丸エディタ