Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Alter Intellisense C++ Operator Behavior
Message
 
 
À
10/06/2002 09:29:04
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00666489
Message ID:
00666503
Vues:
15
This message has been marked as the solution to the initial question of the thread.
>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.
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform