在 Notepad++ 中,当您执行搜索->查找时,它会根据以下行为自动填充“查找内容:”字段(根据在线文档-强调我的)...
In the Find what field, type the text you want to find. This is automatically filled with the current selected text, or the word under the caret, or the last searched pattern, when the Find dialog is opened.
有没有办法改变或禁用这种行为?我宁愿它空着。我不介意最后一次搜索的模式作为一个合理的默认值,但是当它通过自动选择光标旁边的一个单词来不断更改搜索值时,它让我发疯了。
我做了很多挖掘(设置、帮助、网络搜索等),但找不到关闭它的方法。
最佳答案
自 2019 年以来,此问题已得到修复。我下载了 7.8.8 版,并在“设置”>“首选项”>“其他”>“不使用所选单词填充查找对话框中的查找字段”中找到了关闭此功能的选项。
关于replace - 防止 Notepad++ 使用选定/相邻文本自动填充搜索值,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/17710122/