提交 8502145c 编写于 作者: A Alex Dima

Fixes #2953: Always seed search string from selection when starting replace

上级 a2139d82
......@@ -324,7 +324,7 @@ export class StartFindReplaceAction extends EditorAction {
let controller = CommonFindController.getFindController(this.editor);
controller.start({
forceRevealReplace: true,
seedSearchStringFromSelection: (controller.getState().searchString.length === 0),
seedSearchStringFromSelection: true,
seedSearchScopeFromSelection: true,
shouldFocus: FindStartFocusAction.FocusReplaceInput,
shouldAnimate: true
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册