I don’t know if this is a crazy idea or not, but…
Some of my projects have methods with very similar code, and there have been several times, while editing, that I have accidentally made changes to the wrong method, thinking that I was working on a different one. I wouldn’t discover what I’d done until running the code and then discovering the mess, and then having to recover the original code from a backup and start over.
It would be useful to be able to lock methods that I’m not currently working on so that I wouldn’t be able to modify them inadvertently.
Anyone else run into this problem, or am I the only one?
BTW, the reason why this keeps happening to me is that Xojo’s search function always wants to default back to the entire project, even after I’ve set it search only the current method. I’ll click on one of the search results thinking that it’s taking me to a line in the current method, when it’s actually going to one of the other ones.