Suppose I have a very loooong file with all my libraries and its functions (can't change it, that's what I have to work with), all in one file, e.g.:
[library1
function 1
blablablah1
[library2
...
function 2
blablablah2
I want to find the closest [library...] line, to guess which library contains my current cursor line:
For example, if I have the cursor in the line "blablablah2", and do a search (ctrl+f), and start typing "[lib", the cursor immediately goes to "[library1" because it always start searching from the beginning of the file. I want that, when I start typing, the cursor don't start moving until I press the "up" arrow to search backwards... so I find the [library2] line
Thanks in advance,
Roger