Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Section problems #191

Open
yalcomania opened this issue Apr 28, 2023 · 1 comment
Open

Section problems #191

yalcomania opened this issue Apr 28, 2023 · 1 comment

Comments

@yalcomania
Copy link

Firstly, thanks for great extension.
I am having problems with sections.

1- It would be great to see all anchors in quick navigation. My main code includes two main section and I am only seeing two entries on quick nav.
2- Cusrsor position doesn't work either on sections. It just positioned under section and ignores anchors inside it.

Thank you.

@lulufredo
Copy link

lulufredo commented Jul 20, 2023

Wanted to second item #2 and provide more details.

When "Show Cursor" is enabled, it only works properly within a section if the section doesn't have closing tags (i.e., if there's no /! SECTION/.

You can see in the working screenshot that the section has a ? for the end line, and the cursor indicator is correctly positioned next to the section selected.
working

Here the section has a start and end line, but the cursor indicator, instead of being near the middle (given the line number, 2744), it's at the bottom/end of the section anchors.
notworking

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants