From 9fe792205881d41873ae72832337c82d2301dd8c Mon Sep 17 00:00:00 2001 From: Eike Ziller Date: Wed, 20 Mar 2024 15:24:15 +0100 Subject: [PATCH] Doc: Small improvement of the locator pages It was unclear what "file type" was meant. The available filters could depend on a lot of other things, but I guess "current document and project" is ok as a baseline. Clarify what list of filters is meant, that is the list that appears when the locator input field is empty. Mention the list that is shown when selecting the magnifying glass. The descriptions in the preferences is not longer than what appears in the tool tips, so remove that reference. Mention the Magnifying glass > Configure menu item as an option for opening the preference page. Change-Id: I7d16d3f3eed11cce0aff9dcaf7e467fe0508366e Reviewed-by: Leena Miettinen --- .../src/editors/creator-only/creator-locator.qdoc | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/doc/qtcreator/src/editors/creator-only/creator-locator.qdoc b/doc/qtcreator/src/editors/creator-only/creator-locator.qdoc index af9f3a3d828..eab661647fd 100644 --- a/doc/qtcreator/src/editors/creator-only/creator-locator.qdoc +++ b/doc/qtcreator/src/editors/creator-only/creator-locator.qdoc @@ -38,11 +38,11 @@ \section1 Use locator filters - The filters that are available depend on the file type. For more information - about what a particular locator filter does, see the tooltips that appear - when you hover over a filter in the locator. For longer descriptions of the - filters, select \inlineimage icons/magnifier.png > \uicontrol Configure to - open the \l{Locator} preferences. + The filters that are available depend on the current document and project. + If the locator field is empty, a list of available filters is shown. + A list of filters is also shown when selecting \inlineimage icons/magnifier.png. + For more information about what a particular locator filter does, see the + tooltips that appear when you hover over a filter. To use a locator filter: @@ -52,7 +52,7 @@ string (for example, a filename or class name) or the command to execute. - \li Double-click a locator filter in the filter list to use it. Press + \li Select a locator filter in the filter list to use it. Press the up and down arrow keys or press \key Ctrl+P and \key Ctrl+N to move up and down the list, and then press \key Enter to use the selected filter. @@ -140,7 +140,8 @@ \brief Add and change locator filters. To set locator preferences, go to \preferences > \uicontrol Environment > - \uicontrol Locator. + \uicontrol Locator, or select + \inlineimage icons/magnifier.png > \uicontrol Configure in the locator field. \image qtcreator-locator-customize.webp {Locator preferences}