The GeanyLua documentation mentions
https://plugins.geany.org/geanylua/geanylua-ref.html
`geany.find ( phrase, start, stop, options )`
Also gives the following example
```
a,b = geany.find( "foobar", 0, geany.length(), {"wholeword","matchcase"} )
if (a) then
geany.select(a,b)
else
geany.message("Search phrase not found.")
end
```
I have played around with this and done a little editing, but this just finds
the first instance, cannot advance to next / previous more than once. In order
to make go to previous keyword, the "start" value has to be greater than the
"stop" value.
0 = starting line of document
`geany.length ()` = I believe this means the length of the entire document top
to bottom
Documentation says
`geany.length ()`
"Returns the text length of the current document"
--
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/discussions/4171#discussioncomment-11661501
You are receiving this because you are subscribed to this thread.
Message ID: <geany/geany/repo-discussions/4171/comments/[email protected]>