New Script Editor
-
How big is your file (as in lines)?
Pressing return will invalidate the line caches, so if you have super large files, it might be the reason for the lag.
-
@Christoph-Hart Yeah that is what I thought but this is a new project, just interface with one panel and 200 lines... no include, no audio proc, just drawing a panel. It happens even if I don't draw anything and comment out the entire code... so just the small amount of lines seems to be the cause
-
That's weird, I can edit files with 10k+ lines of code with a reasonable lag here.
Can you send me a snippet, maybe there's some weird edge case.
-
-
@Christoph-Hart I send you MP as I prefer to stay protective on this one...
-
@ustk And a simple Lorem ipsum text in a new project makes it laggy not only when creating/deleting lines, but also when clicking in the text...
HiseSnippet 2690.3ocsXssbbbaDcVItthXtT1oxG.J8jbUq2hzR14heP1jhJgULkXLkck2bgcld2AlC.FgKjbSp7Om+fjS2X1aVLLxLUzCT6.fFn6Se4z.mG70TL5CUidzaV1SUi9EiuXoK0dbq13pN8EUi9UiOSGSTPUF5nk85XjZpFM5g+QdfQOZuJ4e+ymejtS6poMCUU8cdSM80FqIsYzy+x+roq6k5F5MF6Vq9Ye4o0d2w9NeF5yCGePUut9R8B5UZdYOXb0nO3jFSxGtHoSTrZzdG4aVdQq+ZWY8emIZl0Q7GGVcA1nxvuz20vZLOZ0wsltlyWY2wJrKmuAEdXAE9MiOyzXVO9Fz3CkITajXa7XzCtK06v+6p2A2l5MZK0auh58QiunNX5Salg0se93ScvQMWCWv1pUYsUOXue83i8XEtzTq9R5kA7wZIdxmevASTe1AG7wew96+lVRESZWiNzn9ZefrpS6iYqh2T3PlnxXuUQC71pDV7gPv396+3xZMxZafAFvZRJ39RSTv2Fo5DkxAktwzah0F2BE0Yvj7103UjIGs9FUhr8PXr+.saxtjJmTc5YX6UTpr0jxpW3zJcm4sY8T02lTjyXwdqrF9GWgO01Ip2lMQkyGSgbihtgB0F3fLdmJ20os09xNyKBNH9jjszziEqHMTbKzIew.vQklpdAuk5bhTlPFZRwVMNUf5CTK4Zn.LbLvU9tbOGO.0AVpBtKRUi3+UHDLnrZddgQmTNVg.HGvG4vT0I2TS8IJyvHv.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XXQh2goXnloBQGWOjoO4+eGRbVH+0Bz4KgKnIwR3h3FPoAIjEAHKjPQYJjDH8UwsMHc8AHgo4XHrzVPgRaPYiHX+JZPeGx3SCZrvUNnK0xcdaDGD12HILuRmNbvGxQuVuDaluqINDtHqALbggHJgKhuBB6FglFk5.Pu+Cp10s+skhAgvMdjjBIqTZQA++5UHz1TGNGHOWejkhAXQVAjUW6CwRNQb5immcEZZu6U9D8Z2S938+66+n8+G6q9wSMe9sNG+TMAPQQgacZ9oyB2kfOAWNCTN35E5tLsdgUi1a2Go5Cd+djp5xKGs0B8tSAq9q6oguu6WYqZ3omvu91SeAteM+xVCig0gjujgUmQuftBoNk245QieAEuL46qpd2GA6CGeF5UBEY28843GkbXBfG67PX7ic4.ozxsezxeBOZ2Au2uo36q59QiO2jpauc88A2h9BT6+256vSf9KGexbtd3Fkcuwu7udeeuyeBpx23ybo1yz35.2TMZ7qx1KP4wZBZhygjPL1nGvQTkuOf+lQlKPho7w+B+aXxC4uGML4gqlrxpqC9uutjovOx5OSFA5jSdq4GM9L9a0gUR1Cja7ASOnxh9N+95ZFJ9Dn62tLe58PlmdOj4Y2CY9r6gLe98Ple68Ple2cJC+r6eUN4skzDLv4mHkQFM5DGyYJQjU+aXJ8TEI
-
@ustk Please post a video showing what you mean by laggy. For me it seems fine but that might be laggy to you :)
-
Are you using a debug build?
-
@d-healey I'll try to get the click sound in a video...
Well, the fact is that it wasn't before, no matter the size of my projects, but now a simple one makes the editor reacting as it comes from another age. Simple typing is perfect, but as @Christoph-Hart mentioned it seems to be related to line cache updating. But mouse clicks are laggy too... It might be a macOS-only issue though if no one sees this... -
-
I haven't change anything except updating to new text editor commits (I mean, since the introduction of the new text editor)
-
@ustk No it's super laggy for me too - I went back to Master...
I have 4k+ lines of code - I saw @Christoph-Hart mention it was slow with more than 1k.
But it's jumpy as well as laggy. Resizing work spaces is also laggy.
-
@DanH said in New Script Editor:
I have 4k+ lines of code
But is it laggy with just a few lines like for ustk?
I went back to Master...
BTW you can disable the new editor in the develop branch, you don't have to use the master branch just to have the old editor.
-
-
@DanH Yeah you're right, resizing is very jumpy too... But no need to go back to master, just before the new text editor is enough to get those issues.
-
@ustk I think there was some other update that I needed that came with the editor actually
Also I can't compile anything in Develop, can anyone?
-
Also I can't compile anything in Develop, can anyone?
No problems here.
To turn off the new editor
-
@d-healey Thanks :)
-
@d-healey develop branch can export here too...
-