feat: [0778] カスタムキー用に一部の部分キー定義を標準実装 #1614
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
🔨 変更内容 / Details of Changes
charaX, stepRtnX, keyCtrlX の一部が対象です。
この定義を行うと、次のようなことが可能です。
sleft, sleftdia, sdown, sspace, sup, srightdia, sright
を指定したいとき⇒
|charaX=7_s|
と指定tleft, tleftdia, tdown, tup, trightdia, tright
を指定したいとき⇒
|charaX=3S_t,3J_t|
と指定(開始数字)...(終了数字)
の記法で開始から終了までカウントアップした文字列を自動生成します。開始数字には小数を使うこともできます。
また、
(開始数字)...(+加算数)
の記法で開始から加算数を加えた分までカウントアップした文字列を自動生成します。(対象)@:(繰り返し数)
の記法で対象文字を繰り返し表示することができます。また、
(対象1!対象2!対象3)@:(繰り返し数)
で対象1~3を繰り返すこともできます。🔖 関連Issue, 変更理由 / Related Issues, Reason for Changes
1~3. 主にトランスキー定義の記述簡略化のため。
特にcolorX, posXについては数字列の間違いが起こりやすく、終了位置がわかりにくい問題がありました。
📷 スクリーンショット / Screenshot
📝 その他コメント / Other Comments
数字に小数が使える関係で、2つだと視認しにくいためです。