Goto folded row -> does not unfold
Closed this issue · 2 comments
lloiser commented
Given a simple JSON (or any other foldable code block):
When I fold it and then go to a line in between the folded code block:
Then I expect the code block to unfold and jump to the entered line.
Instead it remains folded.
Works at least in Sublime Text 3.
Atom: 1.0.10
OS: Win 8.1 64Bit
How to fix:
adding the following lines after https://github.com/atom/go-to-line/blob/master/lib/go-to-line-view.coffee#L68 unfolds the row
if (editor.isFoldedAtBufferRow(position)) {
editor.unfoldBufferRow(position)
}
lloiser commented
opened a new one in atom
Deleted user commented
👍