Commit 35ad3def authored by andrey zaytsev's avatar andrey zaytsev Committed by Dmitry Jemerov
Browse files

replace: show replace pane even for readonly files.

parent ec9a482c
Showing with 1 addition and 1 deletion
+1 -1
......@@ -69,7 +69,7 @@ public class IncrementalFindAction extends EditorAction {
public boolean isEnabled(Editor editor, DataContext dataContext) {
Project project = PlatformDataKeys.PROJECT.getData(DataManager.getInstance().getDataContext(editor.getComponent()));
return project != null && !editor.isOneLineMode() && (!myReplace || editor.getDocument().isWritable());
return project != null && !editor.isOneLineMode();
}
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment