Information générale
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Network:
Windows 2003 Server
Hi Albert.
Perhaps KEYBOARD '{CTRL+C}' or SYS(1500, '_MED_COPY', '_MEDIT') would work for you. However:
>I have to clarify: I have not found that the "beautify" app formats code the way I would like so I would like to highlight code in the code editor and fire my own app to format the code. So after highlighting the text, I would like to press a function key to format what I have highlighted.
>
>First step it seems to me is to get the text into a var that I can use so I thought of copying it to the clipboard, then to a var, manipulate it and then put it back by pasting in to the same spot.
Since you want to manipulate text in a VFP editor, you might want to take a look at the _ED* functions in FoxTools.FLL. They were specifically designed to select text, retrieve text, replace text, etc. from code windows.
Doug
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement