Bug 527833

Summary: Allow special character "-" in keyword searches for preference pages
Product: [Eclipse Project] Platform Reporter: Lars Vogel <Lars.Vogel>
Component: UIAssignee: Platform-UI-Inbox <Platform-UI-Inbox>
Status: REOPENED --- QA Contact:
Severity: normal    
Priority: P3 CC: daniel_megert, gautier.desaintmartinlacaze, Lars.Vogel
Version: 3.7.1   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
See Also: https://bugs.eclipse.org/bugs/show_bug.cgi?id=527082
Whiteboard:

Description Lars Vogel CLA 2017-11-27 18:40:48 EST
Currently it is not possible to add words containing a - as search term for preference pages See for example Bug 527082 in which it was suggsted to add "pop-up" as search term.
Comment 1 Dani Megert CLA 2017-11-28 05:54:20 EST
This works fine for me. It finds pages when using "pop-up"
Comment 2 Lars Vogel CLA 2017-11-30 11:31:21 EST
(In reply to Dani Megert from comment #1)
> This works fine for me. It finds pages when using "pop-up"

Only if you add it as first entry. So the following works:

preferenceKeywords.general= pop-up text

The following does not work for me:

preferenceKeywords.general= text pop-up

Tested in org.eclipse.ui.editors from eclipse.platform.text, via the General -> Editors-> Text Editors preference page for text editors:
----
preferenceKeywords.general= pop-up text editor tabs spaces undo history ruler overview hyperlink overwrite colors range indicator typing appearance derived navigation smart caret positioning invisible whitespace characters drag drop dnd hovers popup sticky enrich rich
----
Comment 3 Dani Megert CLA 2017-11-30 11:33:48 EST
Nasty! ;-)