Skip to content

Commit

Permalink
Find/Replace overlay: New/Noteworthy Entry
Browse files Browse the repository at this point in the history
  • Loading branch information
Maximilian Wittmer authored and Maximilian Wittmer committed Jul 1, 2024
1 parent 9adc00f commit 26a4ad4
Show file tree
Hide file tree
Showing 10 changed files with 241 additions and 0 deletions.
Binary file added news/4.33/images/.png
Binary file not shown.
47 changes: 47 additions & 0 deletions news/4.33/images/case-sensitive.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added news/4.33/images/overlay-bottom.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added news/4.33/images/overlay-options.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added news/4.33/images/overlay-top-replace-closed.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added news/4.33/images/overlay-top-search-history.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
45 changes: 45 additions & 0 deletions news/4.33/images/regex.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
68 changes: 68 additions & 0 deletions news/4.33/images/search-in-area.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
54 changes: 54 additions & 0 deletions news/4.33/images/whole-word.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
27 changes: 27 additions & 0 deletions news/4.33/platform.html
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,33 @@ <h2>Views, Dialogs and Toolbar </h2>
<h2>Text Editors </h2>
</td>
</tr>

<tr id="find-replace-overlay"> <!-- https://github.com/eclipse-platform/eclipse.platform.ui/pull/1192 -->
<td class="title">Overlay for performing find/replace operations</td>
<td class="content">
<p><img src="images/overlay-top-replace-closed.png"/></p>
<p>The find/replace dialog now appears as an overlay on top of the editor.
By default, it performs a "search as you type". This overlay includes several search options that can
be toggled on or off either through keyboard shortcuts or by clicking the corresponding icons in the overlay.
The supported search options are:
</p>
<ul>
<li><img src="images/case-sensitive.svg"/> Case sensitive search (<code>Ctrl</code> + <code>shift</code> + <code>C</code> in Windows)</li>
<li><img src="images/whole-word.svg"/> Whole word search (<code>Ctrl</code> + <code>shift </code>+ <code>W</code> in Windows)</li>
<li><img src="images/regex.svg"/> Search for a regular expression (<code>Ctrl</code> + <code>shift</code> + <code>P</code> in Windows)</li>
<li><img src="images/search-in-area.svg"/> Search in a selected area (<code>Ctrl</code> + <code>shift</code> + <code>A</code> in Windows)</li>
</ul>
<p>In case you prefer the old find/replace dialog, you can enable it in the preferences under <b>General -> Editors -> Text Editors</b>
<img src="images/overlay-options.png"/>
You can also choose to display the overlay at the bottom of the page.
</p>
<p><img src="images/overlay-bottom.png"/></p>

The overlay keeps a history of the past searches and updates the history everytime you perform a search.
Searches by "search as you type" will not be stored to the history. You can also navigate the history using the arrow keys up or down.
<p><img src="images/overlay-top-search-history.png"/></p>
</td>
</tr>
<!-- ******************* End of Text Editors ************************************* -->

<!-- ****************** Preferences ************************************* -->
Expand Down

0 comments on commit 26a4ad4

Please sign in to comment.