Logo Search packages:      
Sourcecode: uicilibris version File versions  Download package

def uicilibris::w2mMainWindow::toLatex (   self )
turns the selected contents of the first tab into Latex code which is
fed into the second tab. If nothing is selected previously, the whole
contents are selected.

Definition at line 197 of file __init__.py.

                     :
        """
        turns the selected contents of the first tab into Latex code which is
        fed into the second tab. If nothing is selected previously, the whole
        contents are selected.
        """
        cursor=self.ui.wikiDropArea.textCursor()
        if not cursor.hasSelection():
            self.ui.wikiDropArea.selectAll()
            cursor=self.ui.wikiDropArea.textCursor()
        self.latexSource=unicode(cursor.selectedText())
        self.toLatexWait=spinWheelWaitDialog(self, self.stopToLatex, title="Expanding to LaTeX")
        self.toLatexWait.show()
        self.toLThread=toLatexThread(self)
        self.toLThread.start()


Generated by  Doxygen 1.6.0   Back to index