@elextr The Scintilla documentation says, "These messages let you set and get the zoom factor directly. There is no limit set on the factors you can set, so limiting yourself to -10 to +20 to match the incremental zoom functions is a good idea."
Since Geany upgraded Scintilla versions, the old limit probably no longer applies.