Outline filter acts like wildcard character is present.

Oxygen general issues.
mlbex
Posts: 7
Joined: Sat Apr 27, 2013 1:26 am

Outline filter acts like wildcard character is present.

Post by mlbex »

When I only want to see "task", I enter "task" in the filter bar.

However, "task" acts like "task*", with a wildcard at the end. I don't want that. I only want to see:

task

Instead, I see:

task
taskprerequisite
tasksummary

How can I make this behavior stop?

thanks
mlbex
adrian
Posts: 2879
Joined: Tue May 17, 2005 4:01 pm

Re: Outline filter acts like wildcard character is present.

Post by adrian »

Hello,

Unfortunately, currently (v14.2) this behavior cannot be altered.
This behavior is supposed to make it easier to find items with partial matches. This is particularly useful when there are long element names and it's cumbersome to type the full name to locate them.

However, I do agree that the Outline view should also offer the possibility to filter exact matches and currently it doesn't. This will most likely be implemented with surrounding quotes, since it's the most intuitive. e.g. "task"
We are still discussing the possibility of a trigger option for switching the general behavior between partial and exact matches.

We already have a feature request logged for this on our issue tracking tool. I've added your vote and mentioned your concerns. This will be analyzed and implemented in a future version of Oxygen (probably v15.0).

Regards,
Adrian
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
mlbex
Posts: 7
Joined: Sat Apr 27, 2013 1:26 am

Re: Outline filter acts like wildcard character is present.

Post by mlbex »

When you do that, can you preserve the indents that display the nesting, so the parent/child relationships are more visible?

What I'm really after is a table of contents view that only shows me those structures that go into the table of contents:

Code: Select all

topicgroup
topic
subtopic
task
task
topic
... without seeing the para, indexentry, itimized list, etc.

If you know a better way to see my table of contents, I'd love to know it.

Thanks
Mike
mlbex
Posts: 7
Joined: Sat Apr 27, 2013 1:26 am

Re: Outline filter acts like wildcard character is present.

Post by mlbex »

In my last posting, I tried to indent the list of structures but something stripped out the leading spaces. I'll use periods instead.

I wanted the list to look like this:


topicgroup
..topic
....subtopic
....task
....task
..topic

Thanks
Mike
adrian
Posts: 2879
Joined: Tue May 17, 2005 4:01 pm

Re: Outline filter acts like wildcard character is present.

Post by adrian »

Hi,

I've edited your other post and put code tags around the list so that the spaces are preserved.

There is already a setting in the Outline view that allows something similar to what you want. Click on the Settings (cogwheel icon) button to the right of the filter field and from the popup menu select Flat presentation mode of the filtered results. This option toggles between tree and flat mode for the filtered results.
However, note that in tree mode you will also see the parent/ancestor nodes for each of the items in the results. The matching elements are styled bold and the parents are plain.

Please let me know if you don't actually want to see the parent/ancestor in this hierarchy and I'll submit an additional feature request.

Regards,
Adrian
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
mlbex
Posts: 7
Joined: Sat Apr 27, 2013 1:26 am

Re: Outline filter acts like wildcard character is present.

Post by mlbex »

It took awhile, but the Flat Presentation switch is what I was looking for. Thanks
Mike
mlbex
Posts: 7
Joined: Sat Apr 27, 2013 1:26 am

Re: Outline filter acts like wildcard character is present.

Post by mlbex »

I meant to say I took awhile. I haven't looked at this forum for a long time.
Post Reply