It is currently Wed Sep 18, 2019 11:04 pm

All times are UTC + 1 hour




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: Please be less aggressive when sanitizing procedure hints
PostPosted: Mon Nov 07, 2016 12:03 am 
Offline
Addict
Addict
User avatar

Joined: Sat Jun 30, 2007 8:04 pm
Posts: 3240
Please be less aggressive when sanitizing the whitespace of parameters procedures for IDE hints.

I'm trying to implement macro annotations to clarify the intent of procedure arguments but the spaces between the annotations and the parameters themselves are lost. This is causing the annotation to be concatenated with the parameter name.

For example:
Code:
Macro _IN
EndMacro

Macro _OUT
EndMacro

Macro _OPT
EndMacro

Procedure SomeProc(_IN a, _OUT b, _OPT c)
EndProcedure

SomeProc(


I see the hint as:
Code:
SomeProc(_INa, _OUTb, _OPTc)


On a minor note, adding an annotation prefix causes pointers which share the same name as a keyword to be colored as a keyword instead of a field. This isn't necessarily a bug since what I'm doing is an odd use case:
Code:
Procedure SomeProc(_IN *Data)
EndProcedure

_________________
Image


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

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 7 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