Havn't looked in detail, but the idea seems sound, and one less weird little local function is a good thing IMHO :grin:
Doxygen is used to generate the plugin API docs, so its not used for Geany internal function documentation, so the normal "style" is to not use doxygen markup in comments on internal functions, and to keep it brief (ok, nonexistant in most cases), only mentioning the key things like line_no is 1 based.