I’ve run into what I think is a bit a nitpick, but albeit annoy problem.
Try this (Windows), I have not tried this on the Mac yet.
- Open a Xojo project. Make sure that the Inspector is open on the right hand side.
- Ctrl-F to open the search and replace.
- Search for member function in your project.
- Double click on one that you’ve found.
At this point, focus will change from the Find dialog to the inspector, and the member
function will be highlighted (selected and blue) IN THE INSPECTOR.
This is NOT apparent at first glance, and this key to the issue (i.e. Nitpick)
- Scroll your mouse or move it, with the notion that your cursor SHOULD be in the code window.
(You could also start tying here as well, which will change the name of the member function).
You’ll notice that the drop-list of functions will change to another member function or something you typed.
If you’re not paying attention, this will completely mess up your function declaration, and this has
happened to me more than four or five times. Enough for me to warrant asking others if they
can reproduce this – I think this is a pretty glaring UI issue.
The solution is to simply NOT go to the inspector, but go to the code window, or to the Navigator
and highlight the one you found – By going to the inspector (which I understand why), its causing
you to change/modify the name of the function unintentionally.
A nitpick, but I’ve done this enough to get annoyed.
Gary