selectedRange() stopped working?

Version 2.5b (1066)
My script worked before this update:

now this code:

Font = Glyphs.font
Doc = Glyphs.currentDocument
TextStoreage = Doc.windowController().activeEditViewController().graphicView().textStorage()
Range = TextStoreage.selectedRange()

returns this error AttributeError: 'NSKVONotifying_GSTextStorage' object has no attribute 'selectedRange' even when I am in a tab and have text selected

We changed the inner workings of the text system of the edit view. The selection is now handled on the view:

Doc = Glyphs.currentDocument
graphicView = Doc.windowController().activeEditViewController().graphicView()
Range = graphicView.selectedRange()
print Range
Range = graphicView.selectedLayerRange()
print Range