mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2025-12-24 22:52:40 +00:00
Update homebrewery fold helper to allow folding the last page to the end of the document
#629
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user