Template editor line limit bug



  • The CodeMirror editor sometimes gets the line number limit incorrect, the following shows line 1-29 of my template yet the template is actually 84 lines long and the content area has plenty of room to show more lines ..

    0_1555469147542_upload-5e6fe392-e44a-4a31-86c9-d7f8a1372244

    scrolling down a bit ..

    0_1555469204764_upload-9760dd94-f96f-4ddb-a140-da47c10217a7

    the work around is to close the template editor and reopen it, so not a serious issue.

    It was able to reproduce by creating a blank template and then copy-pasting in another completed template.



  • Hi, thanks for posting.

    The next 2.5.0 release should replace the current editor with the one the vscode uses.
    If the replacement won't work, we will try to fix this issue in the current ace editor.

    https://github.com/jsreport/jsreport/issues/430


Log in to reply
 

Looks like your connection to jsreport forum was lost, please wait while we try to reconnect.