Error while trying to set selected range in text tab: setSelectedRange_()

import GlyphsApp

Font = Glyphs.font
Doc = Glyphs.currentDocument

TextStoreage = Doc.windowController().activeEditViewController().graphicView().textStorage()

TextStoreage.setSelectedRange_(1)

I get an error with this in a text tab:

TypeError: depythonifying struct, got no sequence

1 is not a range, try for instance

TextStoreage.setSelectedRange_((0,4))

will select 4 glyphs, starting with the first one

Thanks Mark!