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
So when the comment was added to an empty line, it still start counting from the current line.
The exact problem is that we need to consider the case of empty lines, we still need the approval from maintainers since it should be a breaking change (impacts normal usages).
Validations
Describe the bug
Ranges on transformations include the current line, to me this was very uninuitive.
Instead it could be:
Currently:
// [!code highlight]
is effectively// [!code highlight:1]
Becomes:
// [!code highlight:0]
I guess this is a breaking change, and it is slightly arbitary - so no worries if you disagree :)
Reproduction
Included in comment
Contributes
The text was updated successfully, but these errors were encountered: