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"