Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix correctly setting Find-Scopes when opening Find/Replace-Dialog #1819 #1820

Conversation

Wittmaxi
Copy link

This PR correctly disables SearchOptions.GLOBAL in the FindReplaceLogic object of the Dialog if a multiline-selection was selected while opening the Find/Replace-Dialog.

This PR also provides a unit-test for this behavior.

See #1819

@Wittmaxi
Copy link
Author

This PR is branched from #1805 since I needed the changes to the Testing Infrastructure I made in that PR in order to test this feature. The diff will look far cleaner, once #1805 is merged

Copy link
Contributor

github-actions bot commented Apr 12, 2024

Test Results

   921 files  ±0     921 suites  ±0   1h 13m 31s ⏱️ - 1m 10s
 7 519 tests +1   7 368 ✅ ±0  150 💤 ±0  1 ❌ +1 
23 709 runs  +3  23 204 ✅ +2  504 💤 ±0  1 ❌ +1 

For more details on these failures, see this check.

Results for commit e9340dc. ± Comparison against base commit 3c12155.

♻️ This comment has been updated with latest results.

@Wittmaxi Wittmaxi force-pushed the MW_FindReplaceDialog_AreaSearch_On_Selection branch 2 times, most recently from 493da29 to ddd9a5e Compare April 18, 2024 09:57
Copy link
Contributor

@HeikoKlare HeikoKlare left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thank you!
Just two minor comments.

@Wittmaxi Wittmaxi force-pushed the MW_FindReplaceDialog_AreaSearch_On_Selection branch from ddd9a5e to d2b7626 Compare April 20, 2024 09:57
@HeikoKlare HeikoKlare force-pushed the MW_FindReplaceDialog_AreaSearch_On_Selection branch 2 times, most recently from f583f7d to 2c2428a Compare April 21, 2024 17:59
@Wittmaxi Wittmaxi force-pushed the MW_FindReplaceDialog_AreaSearch_On_Selection branch from 2c2428a to 4f96a6e Compare April 22, 2024 07:53
@HeikoKlare HeikoKlare force-pushed the MW_FindReplaceDialog_AreaSearch_On_Selection branch from 4f96a6e to e50b59c Compare April 22, 2024 15:32
…lipse-platform#1819

This PR correctly disables SearchOptions.GLOBAL in the FindReplaceLogic
object of the Dialog if a multiline-selection was selected while opening
the Find/Replace-Dialog.

This PR also provides a unit-test for this behavior.

Fixes eclipse-platform#1819
@HeikoKlare HeikoKlare force-pushed the MW_FindReplaceDialog_AreaSearch_On_Selection branch from e50b59c to e9340dc Compare April 22, 2024 18:30
Copy link
Contributor

@HeikoKlare HeikoKlare left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great, thank you! Failing test is unrelated and documented in #926.

@HeikoKlare HeikoKlare merged commit 6dcd646 into eclipse-platform:master Apr 22, 2024
14 of 16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants