Scintilla does not allow variable margin widths, it is set for the entire buffer.
Actually scintilla doesn't handle any margin widths at all, leaving it entirely up to the application. Geany just follows the approach recommended in the Scintilla documentation and that taken by other (non-Scintilla) editors.