You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.
Checked that there is not already an Atom package that provides the described functionality: https://atom.io/packages
Description
Using Symbols View: Toggle File Symbols in a LaTeX file produces some output but depending on the whitespace and comments surrounding the sections and subsections, the symbol list is often incomplete and what does show up is often incorrectly located.
First, sections and subsections seem to be randomly omitted from the list of symbols. I originally thought this was related to whitespace surrounding the section declarations, but I am no longer sure what is causing this.
Second, the line number that corresponds to the symbols is incorrect and seems to be too high in the file. From what I can tell, it locates the preceding non-whitespace/non-comment line. So, if I have a section, then some commented out text, then another section, it will locate the latter section above the commented out text, which is obviously incorrect.
Steps to Reproduce
Open any LaTeX file with multiple section and/or subsections
Try to locate symbols in the file
Notice that the behavior is incorrect
Expected behavior: Sections and subsections are correctly located regardless of surrounding whitespace.
Actual behavior: Sections are only correctly located when they are not surrounded by whitespace on either side.
Prerequisites
Description
Using
Symbols View: Toggle File Symbols
in a LaTeX file produces some output but depending on the whitespace and comments surrounding the sections and subsections, the symbol list is often incomplete and what does show up is often incorrectly located.First, sections and subsections seem to be randomly omitted from the list of symbols. I originally thought this was related to whitespace surrounding the section declarations, but I am no longer sure what is causing this.
Second, the line number that corresponds to the symbols is incorrect and seems to be too high in the file. From what I can tell, it locates the preceding non-whitespace/non-comment line. So, if I have a section, then some commented out text, then another section, it will locate the latter section above the commented out text, which is obviously incorrect.
Steps to Reproduce
Expected behavior: Sections and subsections are correctly located regardless of surrounding whitespace.
Actual behavior: Sections are only correctly located when they are not surrounded by whitespace on either side.
Reproduces how often: Always
Versions
Atom 1.12.9 on OSX 10.12.2
The text was updated successfully, but these errors were encountered: