Menu

#2398 structural element inside another statement not shown in structure panel

None
fixed
nobody
None
5*
2018-11-05
2018-10-03
Jason Ni
No

texstudio 2.12.10
Windows 7 64-bit

The \section{} elements in the example below are not shown in the structure panel. I don't know if this was designed that way or not. If yes, I would prefer to show these elements by default.

Example:

\iftoggle{toggle}{%
\section{Test}
}{%
\section{Test}
}

Related

Bugs: #2397

Discussion

  • Tim Hoffmann

    Tim Hoffmann - 2018-11-05

    This has been broken for some time, because it's not compatible with the parser anymore. The corresponding option has been removed.

    See also https://github.com/texstudio-org/texstudio/issues/324

     

    Last edit: Tim Hoffmann 2018-11-05
  • Tim Hoffmann

    Tim Hoffmann - 2018-11-05
    • status: open --> wont-fix
    • Group: -->
     
  • Tim Hoffmann

    Tim Hoffmann - 2018-11-05
    • status: wont-fix --> fixed
     
  • Tim Hoffmann

    Tim Hoffmann - 2018-11-05

    Works on master. There have been some changes to the parser, one of which possibly fixed this as a side-effect.

     

Log in to post a comment.

MongoDB Logo MongoDB