401 E5MessageBox.critical( |
401 E5MessageBox.critical( |
402 self, |
402 self, |
403 self.trUtf8("Export Highlighting Styles"), |
403 self.trUtf8("Export Highlighting Styles"), |
404 self.trUtf8( |
404 self.trUtf8( |
405 """<p>The highlighting styles could not be exported""" |
405 """<p>The highlighting styles could not be exported""" |
406 """ to file <b>{0}</b>.</p><p>Reason: {1}</p>""")\ |
406 """ to file <b>{0}</b>.</p><p>Reason: {1}</p>""") |
407 .format(fn, f.errorString()) |
407 .format(fn, f.errorString()) |
408 ) |
408 ) |
409 |
409 |
410 def __importStyles(self, lexers): |
410 def __importStyles(self, lexers): |
411 """ |
411 """ |
433 E5MessageBox.critical( |
433 E5MessageBox.critical( |
434 self, |
434 self, |
435 self.trUtf8("Import Highlighting Styles"), |
435 self.trUtf8("Import Highlighting Styles"), |
436 self.trUtf8( |
436 self.trUtf8( |
437 """<p>The highlighting styles could not be read""" |
437 """<p>The highlighting styles could not be read""" |
438 """ from file <b>{0}</b>.</p><p>Reason: {1}</p>""")\ |
438 """ from file <b>{0}</b>.</p><p>Reason: {1}</p>""") |
439 .format(fn, f.errorString()) |
439 .format(fn, f.errorString()) |
440 ) |
440 ) |
441 return |
441 return |
442 |
442 |
443 if self.lexer: |
443 if self.lexer: |