Changes between Version 56 and Version 59 of Help/Action/Search


Ignore:
Timestamp:
(multiple changes)
Author:
(multiple changes)
Comment:
(multiple changes)

Legend:

Unmodified
Added
Removed
Modified
  • Help/Action/Search

    v56 v59  
    11[[TranslatedPages]]
     2[[PageOutline(2-4,Table of Content)]]
    23
    34= Search =
    45
    5 [[JOSMImage(dialogs/search,middle)]] ''Keyboard shortcut'': '''{{{Ctrl+F}}}'''
     6[[JOSMImage(dialogs/search,link=,48,middle,margin-right=20)]] ''Keyboard shortcut'': **`Ctrl+F`**
    67
    7 '''Search [wikitr:/Help/Concepts/Object objects] in the current data layer using query language'''. This windows has different looks, depending on your expert setting ([#ExpertMode see below]):
     8**Search [wikitr:/Help/Concepts/Object objects] in the current data layer using query language**. \\
     9This windows has different looks, depending on your [[JOSMImage(expert)]] [wikitr:/Help/ExpertMode Expert Mode] setting, [#ExpertMode see below]:
    810
    9 The search action will respect the current [wikitr:/Help/Dialog/Filter filters] meaning it wouldn't return any of the filtered objects.
     11* The search action will respect the current [wikitr:/Help/Dialog/Filter filters] meaning it wouldn't return any of the filtered objects.
     12* Colons (`:`) within ''keys'' and ''values'' need to be wrapped with quotation marks (`"`).
     13* Hover over a keyword in the search hints section to get a explanation and special examples.
     14* Double click on a preset listed in the search window to add the query to search for objects that match this preset.
    1015
    11 Colons (`:`) within ''keys'' and ''values'' need to be wrapped with quotation marks (`"`).
     16[[Image(Search.png,link=,70%)]]
    1217
    13 Hover over a keyword in the search hints section to get a explanation and special examples.
     18== Expert mode ==#ExpertMode
     19In [wikitr:/Help/ExpertMode expert mode], the following options are added:
     20* more keywords are listed (they work also in non-expert mode, but are hidden in the dialog)
     21* **standard/regular expression/MapCSS selector** radio button, see sections below for details
     22* **all objects** check box to include **''deleted''** and **''incomplete''** objects in the search
     23* **add toolbar button** see [wikitr:/Help/Action/Search#SavesearchqueryinMaintoolbar save search query in main toolbar] below.
    1424
    15 Double click on a preset listed in the search window to add the query to search for objects that match this preset.
    16 
    17 [[br]] [[Image(Search.png)]]
    18 
    19 == Expert mode ==
    20 In [wikitr:/Help/ExpertMode expert mode], the following options are added:
    21 - more keywords are listed (they work also in non-expert mode, but are hidden in the dialog)
    22 - '''standard/regular expression/MapCSS selector''' radio button, see sections below for details
    23 - '''all objects''' check box to include `deleted` and `incomplete` objects in the search
    24 - '''add toolbar button''' see section "save search query in main toolbar" [wikitr:/Help/Action/Search#SavesearchqueryinMaintoolbar below]
    25 
    26 [[Image(Search_expert.png)]]
    27 
     25[[Image(Search_expert.png,link=,70%)]]
    2826
    2927== Examples ==#Examples
    30 
    3128Some examples of queries:
    32 
    3329* `type:way` selects all ways
    3430* `name:Herrengasse` selects all elements with the given name
     
    4339
    4440== Save search query in [wikitr:/Help/MainToolbar main toolbar] ==#SavesearchqueryinMaintoolbar
     41To ''save search as a button'' if you check **add toolbar button** checkbox, as soon as you click on [[JOSMImage(dialogs/search)]] **Start Search**, a button will be added to the main toolbar. which will execute the defined search expression each time, you press the button.
    4542
    46 To ''save search as a button'' if you check '''add toolbar button''' checkbox, as soon as you click on [[JOSMImage(dialogs/search,middle)]] '''Start Search''', a button will be added to the main toolbar. which will execute the defined search expression each time, you press the button.
    47 
    48 [wikitr:/Help/Preferences/Toolbar#Previouslysavedsearchresults Toolbar Customization] will let you modify icon, search query and tooltip.
    49 
    50 As with any button you can always [wikitr:/Help/Preferences/Shortcuts assign a shortcut] to it.
     43* [[JOSMImage(preferences/toolbar,link=,24,middle)]] [wikitr:/Help/Preferences/Toolbar#Previouslysavedsearchresults Toolbar Customization] will let you modify icon, search query and tooltip.
     44* As with any button you can always assign a shortcut to it in [[JOSMImage(preferences/shortcuts,link=,24,middle)]] [wikitr:/Help/Preferences/Shortcuts Shortcut Preferences].
    5145
    5246== Regular expressions ==
    53 
    54 JOSM supports [http://docs.oracle.com/javase/8/docs/api/java/util/regex/Pattern.html Java regex syntax].
     47JOSM supports [https://docs.oracle.com/javase/8/docs/api/java/util/regex/Pattern.html Java regex syntax].
    5548
    5649== MapCSS syntax ==
    57 
    5850See [wikitr:/Help/Styles/MapCSSImplementation MapCSS implementation]
    5951
    6052== Fetch external file and replace selection ==#Fetchexternalfileandreplaceselection
    61 
    6253A very under-used feature that lets you enter a web URL (`file://`, `http://`, `https://`, `ftp://`) in the search field.
    6354
    64 JOSM will then attempt to load that URL, and select any objects that it finds referenced in that file.
    65 JOSM will look for XML tags "way", "node", and "relation" in the document (clarify? examples?), and use their id attribute .
    66 You can access another OSM file on your hard disk this way and have JOSM select all objects that are present in the file (provided they are present in JOSM's dataset too).
     55* JOSM will then attempt to load that URL, and select any objects that it finds referenced in that file.
     56* JOSM will look for XML tags "way", "node", and "relation" in the document (clarify? examples?), and use their id attribute .
     57* You can access another OSM file on your hard disk this way and have JOSM select all objects that are present in the file (provided they are present in JOSM's dataset too).
    6758
    6859Similar thing is possible via:
     
    7162
    7263== See also ==
    73 * [wikitr:/Help/Dialog/Filter Filters] allow you to save and combine multiple search patterns between your JOSM sessions
     64* [[JOSMImage(dialogs/filter)]] [wikitr:/Help/Dialog/Filter Filters] allow you to save and combine multiple search patterns between your JOSM sessions
     65
    7466----
    75 Back to [wikitr:/Help/Menu/Edit Menu Edit][[Br]]
     67Back to [wikitr:/Help/Menu/Edit Menu Edit] \\
     68Back to [wikitr:/Help/Menu Main Menu] \\
    7669Back to [wikitr:/Help Main Help]