Table of Contents
User Guide
Searching in the Source Editor

Use the find feature in the Source Editor to search for content.
You have a topic open and want to search for a term.
  1. Click Edit -> Source Code.

    Step Information

    Expected Result
    The Source Editor displays the DITA markup for the topic.

  2. Press Ctrl+F or press Cmd+F.

    Expected Result
    The Source Editor’s search field displays.
  3. Type a search term and press Enter.

    Example
    Search for “edit”.
    Expected Result
    All matches are highlighted.
  4. To navigate the search results, do any of the following:

    1. To navigate to the next search result, press Ctrl+G or Cmd+G.
    2. To navigate to the previous search result, press Shift+Ctrl+G or Shift+Cmd+G.
  5. To replace the search result, do any of the following:

    1. To only replace the selected search result, press Shift+Ctrl+F or Cmd+Option+F and then enter the new text.

      Step Information
      The Replace field displays the selected search result that you’ll replace.
    2. To replace all matching search results, press Shift+Ctrl+R or Shift+Cmd+Option+F and then enter the next text.

      Step Information
      The Replace all field displays the search result that you’ll replace.
  6. To run a search where the Search field doesn’t autoclose, press Alt+F. Enter a search term and press Enter to find the next search result or press Shift-Enter to find the previous search result.
  7. To jump to a line, press Alt+G.
Matches to your search display.