I would like to create a menu-item or function-button (or like) that would work within the VB5 editor. For example... the user could highlight a variable or string in their source code (in VB5 editor)... then execute a function that could insert a new line of code (following the highlighted string). The new line of code would contain the highlighted string.
Does anyone have example code that does anything like this (in part or in whole)?
p.s. I already know how to programmatically edit the source code outside of the VB5 editor.