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()


I get an error with this in a text tab:

TypeError: depythonifying struct, got no sequence

1 is not a range, try for instance


will select 4 glyphs, starting with the first one

Thanks Mark!