I have a script where i am replacing (editing, programmatically) the selected glyphs.
It would be nice if i could use Python’s range assignment to do it like this:
tab.layers[tab.textCursor:tab.textCursor+tab.textRange] = replacements
but that doesn’t work because apparently __setitem__
isn’t implemented.
Any chance this could work in the future?