「FireBS」の版間の差分
ナビゲーションに移動
検索に移動
シンタックスハイライトの言語を変更 |
タグをpreに変更、空行の削除 |
||
| 14行目: | 14行目: | ||
== ソースコード == | == ソースコード == | ||
bs.msy | bs.msy | ||
< | <pre> | ||
#TagBegin= | #TagBegin= | ||
#TagEnd= | #TagEnd= | ||
| 121行目: | 121行目: | ||
param8 | param8 | ||
param9 | param9 | ||
</pre> | |||
</ | |||
2025年1月22日 (水) 07:50時点における版
概要
Fire AlpacaやMedhibang Paintで使える、bsスクリプトをハイライトする構文です。
コメントアウトなどの基本はLua構文で、bs_xxxxxのような対応ファンクションと、かならず使うであろう「x,y, pressure」変数をハイライトするようにしてあります。
さっくり適当に作ったので、ミスがあったら暖かい修正をお願い申し上げます。
変更履歴
- 1.0.0 (2024-02-27)
- 初版
ソースコード
bs.msy
#TagBegin= #TagEnd= #CommentBegin1=--[[ #CommentEnd1=]] #LineComment1=-- #CommentBegin2=[[ #CommentEnd2=]] #LineComment2= #SpecialSyntax=None #ScriptBegin= #ScriptEnd= #QuoteSingle=True #QuoteDouble=True #QuoteContinue=True #EscapeCharacter=\ #Word Color=0, WholeWord=True, RightSide=False, RightAll=False, MatchCase=True, InsideTag=False, RegEx=False end false function if true #Word Color=1, WholeWord=True, RightSide=False, RightAll=False, MatchCase=True, InsideTag=False, RegEx=False bs_atan bs_bezier_begin bs_bezier_c bs_bezier_clear bs_bezier_l bs_bezier_m bs_bezier_move bs_bezier_move_center bs_bezier_mul bs_bezier_region bs_bezier_rotate bs_bezier_v bs_bezier_y bs_bg bs_canvas_angle bs_canvas_dpi bs_canvas_height bs_canvas_width bs_count bs_dir bs_distance bs_ellipse bs_fill bs_fore bs_forebg bs_grand bs_ms bs_normal bs_opaque bs_pixel_get bs_pixel_get_alpha bs_pixel_set bs_polygon bs_polygon_clear bs_polygon_move bs_polygon_move_center bs_polygon_mul bs_polygon_region bs_polygon_rotate bs_rect bs_rotate bs_width bs_width_max bs_width_min local #Word Color=2, WholeWord=True, RightSide=False, RightAll=False, MatchCase=True, InsideTag=False, RegEx=False a b bit32 coroutine debug file g io math os package pressure r string table x y #Word Color=3, WholeWord=True, RightSide=False, RightAll=False, MatchCase=True, InsideTag=False, RegEx=False acos byteabs yield #Word Color=4, WholeWord=True, RightSide=False, RightAll=False, MatchCase=True, InsideTag=False, RegEx=False main param1 param10 param2 param3 param4 param5 param6 param7 param8 param9
スポンサーリンク