Hi, I am new to Leo editor and find it very interesting. I have been using it for writing my slides (presentations) in Beamer/LaTeX. Its structure editing is very useful.
I would like to create a few buttons to insert template LaTeX code, for example code for a new frame (i.e. slide), code for columns, etc. However, I don't know how to insert text at the current cursor position in the body pane? Also, will the function g.app.gui.runAskOkCancelStringDialog() returns None if the user clicked Cancel? Or will it return an empty string? How about runAskOkCancelNumberDialog()? It'd be great if someone can help me with those questions. I know Python, however I could not find those details in Leo's docs. Thanks. Truong. -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/leo-editor?hl=en.
