Right now this code only clears the selected glyph in edit view. But I want to clear the selected glyphs in font view in current master. In the API it says I need to call selection but couldn’t manage it.
font = Glyphs.font
selectedLayer = font.selectedLayers[0]
for glyph in font.glyphs:
if glyph.selected:
selectedLayer.clear()