Hi, I have a question.
I am making a font editor, so I have a font that can have many glyphs.
I'm using SQLite as the database, and I want to track undo state.
That's transient data, just like points selection state, so I was thinking: in the state class for the window that holds the font and displays all the data, to store undo stacks for a given glyph: Map of glyphName -> undoStack.
But that could break if a glyph gets renamed.
So I think I need a unique identifier for the indexing. Should I add a UUID column and create that for each new object, or can i use row ids as a way to track a glyph uniquely?
I'm worried row ids change also, but not sure what people usually use.
Also let me know if there's a better channel for this kind of questions. Thanks!