'setSelectedRange_' Changed?

When I try to run:
TextStorage.setSelectedRange_(NSRange(0,0))

I get:

AttributeError: 'NSKVONotifying_GSTextStorage' object has no attribute 'setSelectedRange_'

Has this changed?

The setSelectedRange_ is on the edit view, not on the textStorage. That is probably so since version 3.0.

1 Like