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 }}
Repository navigation
[folding] spec that invalid ranges are ignored #48524
Activity
jrieken commentedon Apr 24, 2018
It seems that
document.lineCountis the culprit... The docs on the ctor aren't very clear and there is no validation/warning message printed...[-]FoldingProvider doesn't work?[/-][+]FoldingProvider results slightly dropped[/+][-]FoldingProvider results slightly dropped[/-][+]FoldingProvider results silently dropped[/+][-]FoldingProvider results silently dropped[/-][+][folding] FoldingProvider results silently dropped[/+][-][folding] FoldingProvider results silently dropped[/-][+][folding] spec that invalid ranges are ignored[/+]aeschli commentedon May 4, 2018
Yes, end line must be a line that exists in the document (< document.lineCount).
I updated the spec.
dbaeumer commentedon May 31, 2018
Verified that doc got updated.
[folding] spec that invalid ranges are ignored. Fixes microsoft/vscod…