General information
Category:
Coding, syntax & commands
Environment versions
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
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only