Inserting a field name into a procedure using right-click deletes the following carriage return


If I have code something like this (say I’ve inserted the field statement in front of the selectall):


and I right-click after the field statement and choose a field name, I get this:

field alphaselectall

Not good.


Looks like the problem is where the cursor is when you right click on the insert line. If you click with the cursor to the right you automatically also select the following carriage return. If you click to the left of the insertion you automatically select the preceding space. If you can somehow click exactly on the insertion point you get the normal insertion action without also including either the space or the carriage return.


I’d have thought that after the space following field WAS the correct insertion point. It strikes me as very strange behaviour but I can learn to live with it.