mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-01-11 09:02:44 +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);
|
nextLine = cm.getLine(end + 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
return null;
|
return {
|
||||||
|
from : CodeMirror.Pos(start.line, 0),
|
||||||
|
to : CodeMirror.Pos(end, cm.getLine(end).length)
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
return null;
|
return null;
|
||||||
|
|||||||
Reference in New Issue
Block a user