hi,
Have anyone ever experience indicator script that cannot get any form of syntax highlighting in Powerlanguage editor ?
My other scripts are fine, but a particular script, the editor just shows all code in dark gray color.
The script can compile and run, but this problem makes it hard to read and edit.
any help is appreciated. thanks !
Syntax highlighting in Powerlanguage Editor
- TJ
- Posts: 7743
- Joined: 29 Aug 2006
- Location: Global Citizen
- Has thanked: 1033 times
- Been thanked: 2222 times
I correct myself.In case there are others experiencing the same problem as me.
I cut and past my codes into wordpad.
Then i paste it back into powerlanguage editor unmodified.
The highlighting came back.
Don't ask me why
Just something to try in case you are frustrated with the same problem like me.
cheers
After restarting powerlanguage editor, the syntax hightlighting disappeared again.
Damm.... again, don't ask me why lol
Re: Syntax highlighting in Powerlanguage Editor
Have you tried Ultraedit or other programmer's editors with syntax highlight capability? The following shows a 100k lines EL in Ultraedit...The script can compile and run, but this problem makes it hard to read and edit.. !
- Attachments
-
- Ultraedit100kEL.gif
- (160.05 KiB) Downloaded 624 times
Re: Syntax highlighting in Powerlanguage Editor
thanks for the suggestion tekram, i would be willing to try ultraedit.Have you tried Ultraedit or other programmer's editors with syntax highlight capability? The following shows a 100k lines EL in Ultraedit...The script can compile and run, but this problem makes it hard to read and edit.. !
But how does it recognize powerlanguage syntax ?
thanks
- Dave Masalov
- Posts: 1712
- Joined: 16 Apr 2010
- Has thanked: 51 times
- Been thanked: 489 times
Dear aljafp,
The limitation for studies highlighting is 10 000 symbols in PLE.
If you want to disable it, please go to Start --> Run --> regedit
HKEY_CURRENT_USER\Software\TS Support\MultiCharts\PowerLanguage Editor\Settings\
ConstraintHLTextSize = 0
If there is no such parameter, you should create DWORD parameter ConstraintHLTextSize, set its value as "0" and the limitation for highlighting will be disabled.
The default value is "1" (there ia a limitation of 10 000 symbols).
The limitation for studies highlighting is 10 000 symbols in PLE.
If you want to disable it, please go to Start --> Run --> regedit
HKEY_CURRENT_USER\Software\TS Support\MultiCharts\PowerLanguage Editor\Settings\
ConstraintHLTextSize = 0
If there is no such parameter, you should create DWORD parameter ConstraintHLTextSize, set its value as "0" and the limitation for highlighting will be disabled.
The default value is "1" (there ia a limitation of 10 000 symbols).
Re: Syntax highlighting in Powerlanguage Editor
Please refer to http://www.ultraedit.com/downloads/extras.html..But how does it recognize powerlanguage syntax ?
thanks
The procedures are different depending on the versions of Ultraedit (UE). The attached Easylanguage text file is a 'wordfile' (coined by UE) that can be added to the default predefined syntax highlight choices.
No relations with UE. In fact there are many other editors capable of doing programmable syntax highlights.
- Attachments
-
- EasyLanguage.txt
- (14.97 KiB) Downloaded 248 times