document-outline icon indicating copy to clipboard operation
document-outline copied to clipboard

Issue with 'Highlight Current Section' option

Open werunom opened this issue 8 years ago • 1 comments

Consider that the markdown document has the following outline.

screenshot_20180220_062527

Given this structure, if the option Highlight Current Section is enabled, the outline does not get highlighted when the cursor is in the last section 2.2 heading.

outline

I have observed this problem with sections having the following properties -

  • should be the last one for that level (2.2 heading is the last of level 2 headings)
  • there has to be prior similar level heading (2.1-heading )
  • that prior heading should have a sub-heading (2.1.1 heading)

I have observed this behaviour both in markdown and latex files.

werunom avatar Feb 20 '18 01:02 werunom

Intriguing... a bit busy atm but will try to look into this when i can. Could be something to do with row numbers, or maybe something causing the unfold to no trigger...

mangecoeur avatar Feb 27 '18 08:02 mangecoeur