0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-24 18:32:41 +00:00

Update homebrewery fold helper to allow folding the last page to the end of the document

#629
This commit is contained in:
Charlie Humphreys
2021-11-09 10:08:48 -06:00
parent b06dedfa4a
commit 3abb399045

View File

@@ -19,7 +19,10 @@ module.exports = {
nextLine = cm.getLine(end + 1);
}
return null;
return {
from : CodeMirror.Pos(start.line, 0),
to : CodeMirror.Pos(end, cm.getLine(end).length)
};
}
return null;