shabiel / VPE

Victory Programmer Environment (used in M code Development; esp. for VISTA)
Other
11 stars 5 forks source link

Greg: Rethink and Imporove how ..VRR/..E TAB-L works (Locate) #59

Open shabiel opened 5 years ago

shabiel commented 5 years ago

I don't know if I ever tested or noticed this before, but if your cursor is into a routine and you use the L command to locate a string, it won't find strings above that cursor, only below. I checked the help and it says that!

L Locate selected string. Search begins on next line after cursor. Use N in EDIT mode to find next occurance.

I don't know how I feel about that. Do y'all think that is useful? I would think most folks would expect it to look to the bottom and then wrap around. Maybe it could prompt and ask if you want to continue looking from the top of the routine when it reaches the end? Just a thought for a feature in the next version.

Actually the Locate command could use a re-write I think. It stops after finding the first instance. I think it should work more like LC but without the change component.