feat: graphical editor sentences hotkey #350
Closed
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.
Sentence 和 AddSentence 快捷键
Sentence (不包括自定义)
(OUTER 为焦点在整个语句控件时触发)
(INNER 为焦点在语句控件内输入框时触发)
AddSentence (包括自定义,且储存至IEditorState)
在AddSentence左下角切换设置模组,并点击对应按钮调整其快捷键
string
"Ctrl+Enter"
或"Alt+Enter"
。shortcuts: "Ctrl+Enter"
commandType | "custom"
commandType
枚举中的值),也可以是自定义的"custom"
。type: commandType.run_sentence
string?
(可选)type
为"custom"
时,可以提供一个初始文本,用于快捷执行某指令(待写)。initialText: "changeFigure:stand.png -left"