Author Topic: Selective dispaly behavior seems incorrect  (Read 2564 times)

JimmieC

  • Senior Community Member
  • Posts: 490
  • Hero Points: 17
Selective dispaly behavior seems incorrect
« on: November 09, 2016, 02:47:22 PM »
When first enabled, only single braces are shown inside a function. When and if statement is expanded, the braces from the if are expanded and so is the following if statement. But, not the if statement associated with the expanded braces. When collapsed, the if statement does not hide. However, the expanded singe brace is now collapsed as an open-close brace pair.

I have attached a pdf file with images of each step.

Maybe this is correct and I am misunderstanding how Selective Display is supposed to work. I am just starting to work with it.
Jim

Dennis

  • Senior Community Member
  • Posts: 3961
  • Hero Points: 517
Re: Selective dispaly behavior seems incorrect
« Reply #1 on: November 09, 2016, 05:02:02 PM »
I can't reproduce the problem you are seeing with everything being collapsed immediately, at least not with the settings that you said you were using.

You would have better luck doing the multi-level outline using Statements instead of Braces, especially given your brace style.

Tim Kemp

  • Senior Community Member
  • Posts: 546
  • Hero Points: 92
Re: Selective dispaly behavior seems incorrect
« Reply #2 on: November 09, 2016, 06:55:46 PM »
I see the same results as Jim.

Dennis

  • Senior Community Member
  • Posts: 3961
  • Hero Points: 517
Re: Selective dispaly behavior seems incorrect
« Reply #3 on: November 09, 2016, 07:54:40 PM »
After changing the default for def_seldisp_minlevel, I was able to replicate the problem.  This will be fixed in the next hot fix.  In the meantime, you can check "Collapse items below level" and set the level as high as you want.

JimmieC

  • Senior Community Member
  • Posts: 490
  • Hero Points: 17
Re: Selective dispaly behavior seems incorrect
« Reply #4 on: November 09, 2016, 08:54:50 PM »
Hi Dennis,

 "Collapse items below level" may be useful to see more.

But, the bigger issue is that the "if" statement "above" the braces is not shown when the braces are expanded. Instead, the "if" statement below is shown. That "if" statement is not related to those braces.

So, what is needed is "Collapse\Expand above".

I am not at a PC with SE right now but I will try the Collapse Below also.

Jim

Dennis

  • Senior Community Member
  • Posts: 3961
  • Hero Points: 517
Re: Selective dispaly behavior seems incorrect
« Reply #5 on: November 09, 2016, 08:58:32 PM »
As I recommended before, try creating the Multi-level outline with Statements instead of Braces.

JimmieC

  • Senior Community Member
  • Posts: 490
  • Hero Points: 17
Re: Selective dispaly behavior seems incorrect
« Reply #6 on: November 09, 2016, 09:06:14 PM »
10-4
I see what you were suggesting. That gets the correct "if" statement shown.