IDE syntax: Remove '@' from words
Posted: Tue Aug 26, 2014 3:01 pm
It appears that the At ('@') character is in the list of word characters. Please remove it.
PB's syntax treats it just like any other arithmetic operator, and so should the IDE.
The disadvantage to the current IDE setup is that functions referenced as pointers will not be highlighted when looking for function references, unless a space is added between the At and the function name. For instance:
In this simple example, selecting the word MyFunction will NOT highlight the argument using it, unless you add the space. Since most of us do not insert spaces within pointer references, this means we can easily miss the visual cues that were the reason for "word highlighting" in the first place.
Thanks.
PB's syntax treats it just like any other arithmetic operator, and so should the IDE.
The disadvantage to the current IDE setup is that functions referenced as pointers will not be highlighted when looking for function references, unless a space is added between the At and the function name. For instance:
Code: Select all
Procedure MyFunction()
; Do stuff
EndProcedure
DoSomethingWithAFunction(1, @MyFunction())
Thanks.