Hi Richard,

> What if the user wants to enter math in the note or heading?

Eventually, my plan is to use a workspace as part of the editing/viewing 
delegate, which would allow for the user to entire math, or any other type of 
LyX docstring.  For the time being, I've been playing with a QPlainTextEdit 
(still trying to get most of the pieces working together without causing 
crashes).

> Given that question, what I'd suggest is that you not worry about the text 
> part. Just insert the note or section heading, perhaps with dummy text, and 
> switch focus there so the user can type what he or she wants. If you had 
> dummy text, you could probably even highlight it so that starting to type 
> would delete it.

That's also a workable solution which I should probably take a look at.

Cheers,

Rob

Reply via email to