def showParsingErrors(self, path):
        " Fires the show errors dialog window "

        try:
            dialog = ParserErrorsDialog(path)
            dialog.exec_()
        except Exception, ex:
            logging.error(str(ex))
Example #2
0
    def showParsingErrors(self, path):
        " Fires the show errors dialog window "

        try:
            dialog = ParserErrorsDialog(path)
            dialog.exec_()
        except Exception, ex:
            logging.error(str(ex))
Example #3
0
    def __showParserError( self ):
        " Shows the parser errors window "
        if self.__currentUUID is None:
            return

        try:
            fName = self.__outlineBrowsers[ self.__currentUUID ].shortFileName

            widget = self.__editorsManager.getWidgetByUUID( self.__currentUUID )
            if widget is None:
                return

            editor = widget.getEditor()
            info = getBriefModuleInfoFromMemory( editor.text() )
            dialog = ParserErrorsDialog( fName, info )
            dialog.exec_()
        except Exception, ex:
            logging.error( str( ex ) )