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
RStudio Edition : Desktop
RStudio Version : 2024.04.0+735
OS Version : MacOS 14.4.1
R Version : 4.4.0
Steps to reproduce the problem
Open a quarto document containing unfolded (open) R code blocks in the RStudio source pane. Here I used the File -> New File -> Quarto Document... menu commands to create the pristine quarto new document template.
Attempt to fold closed an unfolded (open) R code block by clicking on the flippy triangle at the bottom of the code block. In the two images, this was at line 16.
Describe the problem in detail
The text between the bottom of the current block and either the i) header of the next code block, or ii) the end of the file, is folded closed. See line 16 of second image. In this case, the folded text went to the header of the next code block (line 20).
Describe the behavior you expected
The current code block (between lines 14 to 16 inclusive) is folded closed.
I narrowed down when this bug was introduced. It was working correctly in build 2024.04.0-396, with commit 78087e9 from Feb 3, 2024, and broken in build 2024.04.0-426 with commit 15196de on Feb 8, 2024.
Unfortunately there were no successful builds between those two so there's a list of commits to consider.
The most likely candidate for this issue is the Ace upgrade: #14227
System details
Steps to reproduce the problem
Describe the problem in detail
The text between the bottom of the current block and either the i) header of the next code block, or ii) the end of the file, is folded closed. See line 16 of second image. In this case, the folded text went to the header of the next code block (line 20).
Describe the behavior you expected
The current code block (between lines 14 to 16 inclusive) is folded closed.
This report is in response to this discussion
The text was updated successfully, but these errors were encountered: