Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
for setext style headers the underline is displayed in the symbol list #158
Well, I do not think it would help much placing a message instead of the underlines in the symbol list.
I have looked into it a bit and even had partial success: had multi-line paragraphs show up as one line in the symbol list (modified
So I feel it should be possible, but too hard for me to make it.
It is not possible.
For multiline blocks, Sublime Text offers only one way for capturing. It is this: you define a regex to capture the beginning and another regex to capture the end of the block. This way you can define the block. However, those regexes can be run against only a single line.
To put it in another way, if you can define the beginning and the end regex for a setext header, I can help you with the rest.
The second regex is easy:
But the first one is not. If you think something like this:
OK, I see now, thanks!
At the time of trying I was unable to find any usable Sublime Text documentation on it, certainly not something with details you mentioned.
Is TextMate's 12.2 Language Rules the ST documentation?
I see any of these steps slightly forward:
But these are just slightly better than simply closing this issue, so closing is fine as well.
That mostly applies to ST, too. However, I couldn't find the detail I mentioned (single-line only regex) there. When the docs doesn't cover things, trial and error is your friend. And don't forget to read the unofficial docs.
Underlines are better IMHO.