-
-
Notifications
You must be signed in to change notification settings - Fork 15
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
Weird behavior with "nested":false, "foldLastLine":false #51
Comments
I can't reproduce the issue. Here what I get:
|
@daiyam Ah sorry, I accidentally commented out
|
Yep. It's a bug! |
I've having a conflict with a rule like:
where the last line shouldn't be consumed. In your case, the last line has to be consumed. I'm thinking to add the property |
I will add |
It should be fixed in c5cdea4. |
I think I have a similar problem for handling comment line blocks. Depending on the rules used, I don't get the same result. Consider the following source code:
The following rule works for all comment blocks, even those included in separator hierarchies ("First" and "Second" comment block):
While the following rule only works for the 1st level of separator (only "First" comment block):
Set of rules used:
Same kind of problem with the rule concerning the row sequence "DD": works with the first occurrence ("OUT DD"), but does not work on the second occurrence ("A DD"). Note : full regex stop at "PROC"... do'nt understand wy...
Using version 0.14.4. |
@FALLAI-Denis For With the exception of
Yep, there is an issue with the repeated |
So I understand that the declaration In my implementation, |
@FALLAI-Denis The issue has been fixed in v0.14.5 |
@HolyBlackCat Can you tell me if you are still having issues? |
Yep, everything works now, thanks! |
Found a rather obscure issue.
Describe the issue
The end of a folding range is determined incorrectly.
I have following settings:
Now, in the following code...
If I fold the topmost
(
, the folding stops at)"
, rather than at)
.In other words, I get this:
While I expected this:
This doesn't happen if I do any of the following:
"nested": false
"foldLastLine": false
)"
to something else, to not start with)
.To reproduce
cpp
The text was updated successfully, but these errors were encountered: