I have a long source code consisting of multiple modules wrapped in {}.
Sometimes I use "*" to find the next match. But I'd like to search only
within the same module or class that I started from. (which is wrapped
inside sub ... {})
Thanks all. It should be sufficient.
I am not sure exactly what sort of highlighting you want.
Since my purpose was "not" to go astray to another module, I just wondered
if there can be some visual indication to tell me that I'm still in my {
module }. Like flipping foreground and background of the rest of the file,
or dimming the colors, etc.
But the provided answer should be sufficient.
Regards,
Ben K.
Developer
http://benix.tamu.edu