It is currently Thu Feb 25, 2021 9:09 am

All times are UTC + 1 hour




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: IDE syntax: Remove '@' from words
PostPosted: Tue Aug 26, 2014 3:01 pm 
Offline
Addict
Addict
User avatar

Joined: Tue Nov 09, 2010 10:15 pm
Posts: 1749
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:
Code:
Procedure MyFunction()
   ; Do stuff
EndProcedure

DoSomethingWithAFunction(1, @MyFunction())

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.


Last edited by Tenaja on Tue Aug 26, 2014 5:11 pm, edited 1 time in total.

Top
 Profile  
Reply with quote  
 Post subject: Re: IDE syntax: Remove '@' from words
PostPosted: Tue Aug 26, 2014 3:07 pm 
Offline
Addict
Addict
User avatar

Joined: Wed Dec 23, 2009 10:14 pm
Posts: 3409
Location: Boston, MA
Good idea...but...
ampersand = &. :wink:
at sign = @.

_________________
The nice thing about standards is there are so many to choose from. ~ Andrew Tanenbaum


Top
 Profile  
Reply with quote  
 Post subject: Re: IDE syntax: Remove '@' from words
PostPosted: Tue Aug 26, 2014 5:12 pm 
Offline
Addict
Addict
User avatar

Joined: Tue Nov 09, 2010 10:15 pm
Posts: 1749
skywalk wrote:
ampersand = &. :wink:
at sign = @.

I know that! Why do you bring it up?
:mrgreen:


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 9 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  

 


Powered by phpBB © 2008 phpBB Group
subSilver+ theme by Canver Software, sponsor Sanal Modifiye