Power Language Editor (PLE)

Questions about MultiCharts and user contributed studies.
evdl
Posts: 401
Joined: 19 Jan 2011
Location: Netherlands
Has thanked: 85 times
Been thanked: 123 times

Power Language Editor (PLE)

Postby evdl » 18 May 2015

Editing in PLE becomes slow and sluggish when you reach a couple of 1000's lines.

For example, when you copy/paste something, it takes up to 5 seconds before you can procede with your typing. Probably due to the editor checking the used variabels and functions. (greyed out text becomes color coded). In taskmanager you can see that it loads the PLEditor.exe.

Is there a way to only check manually for used functions and variabels and set the automatic mode to off. So you can type all the code you want and then, by shortkey or something, take care of the color coding of your new section of code.

Or any other tips to speedup the PLE?

User avatar
TJ
Posts: 7284
Joined: 29 Aug 2006
Location: Global Citizen
Has thanked: 992 times
Been thanked: 2071 times

Re: Power Language Editor (PLE)

Postby TJ » 18 May 2015

Editing in PLE becomes slow and sluggish when you reach a couple of 1000's lines.

For example, when you copy/paste something, it takes up to 5 seconds before you can procede with your typing. Probably due to the editor checking the used variabels and functions. (greyed out text becomes color coded). In taskmanager you can see that it loads the PLEditor.exe.

Is there a way to only check manually for used functions and variabels and set the automatic mode to off. So you can type all the code you want and then, by shortkey or something, take care of the color coding of your new section of code.

Or any other tips to speedup the PLE?
Which version of MultiCharts you are using?

The old PLE used to slow down at 1,000 lines. But the newer versions are much faster.


If you have a lot of codes, try to offload sections into functions. It might help.

User avatar
Henry MultiСharts
Posts: 9165
Joined: 25 Aug 2011
Has thanked: 1264 times
Been thanked: 2944 times

Re: Power Language Editor (PLE)

Postby Henry MultiСharts » 19 May 2015

Hello evdl,

You can also try switching off the "Use syntax highlight" in PowerLanguage Editor->Tools->Editor Options->Colors tab.

evdl
Posts: 401
Joined: 19 Jan 2011
Location: Netherlands
Has thanked: 85 times
Been thanked: 123 times

Re: Power Language Editor (PLE)

Postby evdl » 19 May 2015

@TJ: I use the latest 64bit version of MC. Will try your suggestion about functions. Thanks.

@Henry: if I can somehow toggle this with an easy key combination, this could work as a workaround. Put to off when copy/paste or editing a lot of text. And after this, switch it back on. Because for easy view the color coding is necesssary. I assume such key combination is not available right now.

Out of curiosity, are there any plans in the roadmap on giving the PLE a tuneup in the near future?

A couple of improvements come in to mind to improve the programming experience:

- way of easy backup (versioning)
- less memory use (at the moment 1gb is not uncommon after a lot of editing)
- more options to file and keep track of your scripts (now own scripts are between the standard scripts in the file three, and when adding studies)
- detachable windows (very usefull)
- autosave

Just some ideas. Keep up the good work!

User avatar
Henry MultiСharts
Posts: 9165
Joined: 25 Aug 2011
Has thanked: 1264 times
Been thanked: 2944 times

Re: Power Language Editor (PLE)

Postby Henry MultiСharts » 01 Jun 2015

Hello evdl,

Unfortunately there is no such functionality at the moment.
You may want to submit a feature request to the Project Management of our web site so other users can vote for it: https://www.multicharts.com/pm/

waveslider
Posts: 210
Joined: 16 Oct 2011
Has thanked: 64 times
Been thanked: 20 times

Re: Power Language Editor (PLE)

Postby waveslider » 04 Jun 2015

needs a tune up for sure.
I'm sure many of us have tried to "open script" from chart analysis or "format signals" and had the wrong code come up, or not at all.


Return to “MultiCharts”