I have an indicator that is not showing any colors in the PLeditor.
all the words appear gray.
I can't figure out why.
I tried to change the Tools> Editor Options> Colors
but nothing works.
anybody know Why?
the indicator is about 3000 lines long. Would it make a difference?
PLEditor color
- TJ
- Posts: 7774
- Joined: Aug 29 2006
- Location: Global Citizen
- Has thanked: 1036 times
- Been thanked: 2233 times
-
- Posts: 407
- Joined: Jan 01 2008
- Been thanked: 3 times
Does it only happen with just one indicator ? (or all)
- TJ
- Posts: 7774
- Joined: Aug 29 2006
- Location: Global Citizen
- Has thanked: 1036 times
- Been thanked: 2233 times
yes, just one indicator.
i copied the code to a new space... and it is the same gray color!!!
I copied a small section of the code to a new space...
the keyword colors came back.
then when I copy more sections over...
and the color turned gray.
strange, isn't it?
i copied the code to a new space... and it is the same gray color!!!
I copied a small section of the code to a new space...
the keyword colors came back.
then when I copy more sections over...
and the color turned gray.
strange, isn't it?
-
- Posts: 407
- Joined: Jan 01 2008
- Been thanked: 3 times
yes, that is strange. If it isn't proprietary, I'd be glad to try it and see if I have the same thing happen.
- TJ
- Posts: 7774
- Joined: Aug 29 2006
- Location: Global Citizen
- Has thanked: 1036 times
- Been thanked: 2233 times
I figured it out... the Editor can only hold so many characters.
I pared down the words, using acronyms and short forms wherever possible.
and the magic color came back !
![Wink ;-)](./images/smilies/icon_wink.gif)
I pared down the words, using acronyms and short forms wherever possible.
and the magic color came back !
![Wink ;-)](./images/smilies/icon_wink.gif)
-
- Posts: 407
- Joined: Jan 01 2008
- Been thanked: 3 times
I figured it out... the Editor can only hold so many characters.
I pared down the words, using acronyms and short forms wherever possible.
and the magic color came back !
** Shouldn't the editor be unlimited in size ? (within reason- maybe 20 pages)
** Marina please explain the size limitation in PLeditor ?
- Marina Pashkova
- Posts: 2758
- Joined: Jul 27 2007
Hi guys,I figured it out... the Editor can only hold so many characters.
I pared down the words, using acronyms and short forms wherever possible.
and the magic color came back !
** Shouldn't the editor be unlimited in size ? (within reason- maybe 20 pages)
** Marina please explain the size limitation in PLeditor ?
Studies in PowerLanguage can contain up to 10,000 lines.
However, after 1,000 lines the code is not coloured - to enhance performance.
- TJ
- Posts: 7774
- Joined: Aug 29 2006
- Location: Global Citizen
- Has thanked: 1036 times
- Been thanked: 2233 times
it would be nice if there is a switch to quickly toggle between color ON/OFF.Hi guys,
Studies in PowerLanguage can contain up to 10,000 lines.
However, after 1,000 lines the code is not coloured - to enhance performance.
also additional features like #include, it should reduce the file size and make editing easier.
- Bruce DeVault
- Posts: 438
- Joined: Jan 19 2010
- Location: Washington DC
- Been thanked: 2 times
- Contact:
I can understand how this came into being some time ago, but this really should be made optional - with today's very powerful PCs, there should be an option to enable coloring on all lines of code in the editor and this should not be an issue.
- Bruce DeVault
- Posts: 438
- Joined: Jan 19 2010
- Location: Washington DC
- Been thanked: 2 times
- Contact:
Work-around - in your registry:
HKEY_CURRENT_USER\Software\TS Support\MultiCharts\PowerLanguage Editor\Settings\ConstraintHLTextSize
Set this value to 0 and it will remove the restriction but may slow down the editor significantly for large files.
HKEY_CURRENT_USER\Software\TS Support\MultiCharts\PowerLanguage Editor\Settings\ConstraintHLTextSize
Set this value to 0 and it will remove the restriction but may slow down the editor significantly for large files.
- Bruce DeVault
- Posts: 438
- Joined: Jan 19 2010
- Location: Washington DC
- Been thanked: 2 times
- Contact:
It would be great if this could be added to the PowerLanguage Editor's preferences, to make it easier to adjust, as on today's powerful PCs it may be less of an issue and any time users edit the registry, there is a potential for error.
- Anastassia
- Posts: 179
- Joined: Jan 18 2010
- Been thanked: 4 times
That is a great suggestion Bruce, thank you!It would be great if this could be added to the PowerLanguage Editor's preferences..
We will consider it for the future.