Two questions, requests for the text editor:
- for me the most important: is there any way to get a serialized undo history out of a text editor? I have a tab that offers the user the chance to edit Lua scripts. The user might have up to 10 text editors open. When the user changes tab, perhaps to view images, I want to destroy the other tab’s components, including the text editors. I can recreate the user’s scripts easily enough when (s)he switches back, but I’ve lost their undo history.
Ideally what i’d like is a way to stuff an xml document with the undo hostory because then I could even preserve it over sessions.
- Since the text editor uses its own undo manager, there’s no way to gracefully hook it into the application’s undo manager that I can see. As such, my edit menu shows no feedback of a available undo commands when a text editor has focus. Is there any way of getting around this?