Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Alter Intellisense C++ Operator Behavior
Message
From
10/06/2002 11:58:35
 
 
To
10/06/2002 11:53:19
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00666489
Message ID:
00666561
Views:
16
Did you try:
lcvar+=
Glenn
>Sergey,
>
>Thanks alot, that worked perfectly. I altered it to insert "m." on the right if it sensed a memory variable, and to change the + 1 to + "" if the variable name started with "lc" (handy for string concatenation).
>
>BTW, I grew up just a few miles NW of Wayne, NJ.
>
>-- Randy
>
>>>Is there any hook to allow altering the Intellisense behavior re C++ Operators? I don't want to turn it off, but wanted to tweak it a bit. Didn't see anything obvious in _foxcode table.
>>>
>>Yes, you can. First, find the record in the FoxCode table with type='S' and empty Abbrev filed. That's the script that gets triggered when Space key is pressed. AT the end of the script you will find subclass of the FoxCodeScript class where you can overwrite C++ operators handler.
>>DEFINE CLASS FoxCodeLoader AS FoxCodeScript
>>	PROCEDURE Main()
>>		THIS.DefaultScript()
>>	ENDPROC
>>* Overwrite C++ operators handler
>>        PROCEDURE HandleCOps()
>>        ...
>>	ENDPROC
>>ENDDEFINE
The source code for FoxCode aplication you can find in the xsource.zip file in the Tools\xsource directory.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform