Page 1 of 1

Syntaxhighlighting for @list/array PB5.30

Posted: Sun Oct 05, 2014 2:05 pm
by Bananenfreak
Heyho,
whenever I use @ before a list or Array, there is no highlighting anymore.

Code: Select all

Structure ah
  a.i
  b.s
EndStructure

NewList lis.ah()

AddElement(lis())
lis()\b = "Helloo"

Debug PeekS(@lis()\b)
lis()\b

Re: Syntaxhighlighting for @list/array PB5.30

Posted: Sun Oct 05, 2014 3:05 pm
by Zebuddi123
Hi Change color of the pointers: in preferences editing\coloring, I think default for @ * is black

Zebuddi. :)

Re: Syntaxhighlighting for @list/array PB5.30

Posted: Sun Oct 05, 2014 4:01 pm
by skywalk
I think he means the array name is also colored the same as the pointer(* or @) symbols.
PB does this now.
@StructArray()\FieldDifferentColor

Bananenfreak - are you expecting this?
@StructArray()\FieldDifferentColor

Or should the entire variable be colored as a pointer?
@StructArray()\FieldSameColor

Re: Syntaxhighlighting for @list/array PB5.30

Posted: Mon Oct 06, 2014 6:40 am
by Bananenfreak
skywalk wrote:Bananenfreak - are you expecting this?
@StructArray()\FieldDifferentColor
Yes, I´m expecting this. I only want names of Arrays/lists marked with a Color, not all pointers.