0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-04 16:52:38 +00:00
This commit is contained in:
Trevor Buckner
2025-01-27 23:10:37 -05:00
parent c22bb7fb92
commit 36df121cf6
3 changed files with 8 additions and 8 deletions

View File

@@ -193,7 +193,7 @@ const Editor = createClass({
(this.props.renderer == 'V3' && line.match(/^(?=\\page(?:{[^\n{}]+})?$)/))) {
if(lineNumber > 0) // Since \page is optional on first line of document,
editorPageCount += 1; // don't use it to increment page count; stay at 1
editorPageCount += 1; // don't use it to increment page count; stay at 1
// add back the original class 'background' but also add the new class '.pageline'
codeMirror.addLineClass(lineNumber, 'background', 'pageLine');