🚀 功能建议:can we hold on the previous result if selected text is empty? #371
Labels
enhancement
New feature or request
fixed in next release
The issue will be closed once next release is available
请先确认以下事项
功能描述
if no text is selected, and trigger the selectTextTranslate, can we just show the window and the previous result?
使用场景
To get myself remember less shortcuts, I only give 'Select Text Translate' a shortcut, let's say, option+d. Sometimes, focus may get dismissed accidentally, if I press option+d again, the prev result got cleared, I must select context again or type it again.
实现方案(可选)
The expected behavior is when option+d pressed, check if any selected text exists, if not, just showing the previous result and making the previous selectedText selected. If I want to search other words, I can just start typing. It's a win-win, suitable for two different scenarios.
Is replacing
with
almost all the work? anythings else to consider?
是否愿意提交 PR 实现该功能
The text was updated successfully, but these errors were encountered: