Hi, It is difficult to write tikz figures for beamer slides because it is easy to make grammar mistakes, and it is difficult to preview the figure. Actually, previewing ERT has been requested several times, which makes me wonder if it is desired to have a 'preview selection' feature. Basically, the source code of the selected text is extracted (via the same method as view source), put to a latex file and compile (similar to instant preview). The result can be displayed in a special panel (tabbed with view source?) or a separate windows.
On the GUI side, this can be made to a 'view dvi' (or additionally 'view pdf') button to the view-source dialog... Sounds like a good idea? Bo