Hi Frank
One omission from the Alt-6 code we put together was pointed out and fixed by Daniel Gramunt.
If the code you are editing extends beyond a single view pane, the cursor is not correctly positioned after inserting a declaration.
To fix this, add the following line of code to the very end of both the InsertLocalDeclaration() and the UpdateLocalDeclaration() methods
_EdStoPos( tnHandle, lnPos, .t. )
----
Regards
Andy Kramek