mark select

Apply mark colors to selected glyphs, and select glyphs based on their mark color.

RF3 RoboFont 3 code which still works in RoboFont 4. Not updated to the new RoboFont 4 APIs yet.

get
get color from selected glyph
color
open the color palette to choose a color
set
mark selected glyphs with the current color
select
select all glyphs marked with the current color
clear
clear mark color in selected glyphs