forked from eclipse-platform/eclipse.platform.ui
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make "Select All" in FindReplaceDialog work for read-only targets ecl…
…ipse-platform#1029 The FindReplaceDialog does currently not find any results when performing a "Select All" operation for read-only targets, such as a console view. The reason is that the initial implementation reused "Replace All" functionality, including the check for the target of being editable. While this is reasonable for replace operations, it is not for select-only operations. This change enables "Select All" functionality for read-only targets. It refactors the "Select All" and "Replace All" functionalities to reuse their common logic why adapting both for their specific purpose. It also adds a regression test for performing "Select All" operations on read-only targets. Fixes eclipse-platform#1029
- Loading branch information
1 parent
ae50845
commit ef61715
Showing
2 changed files
with
57 additions
and
59 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters