620 "vm_file_new", |
620 "vm_file_new", |
621 ) |
621 ) |
622 self.newAct.setStatusTip(self.tr("Open an empty editor window")) |
622 self.newAct.setStatusTip(self.tr("Open an empty editor window")) |
623 self.newAct.setWhatsThis( |
623 self.newAct.setWhatsThis( |
624 self.tr( |
624 self.tr( |
625 """<b>New</b>""" """<p>An empty editor window will be created.</p>""" |
625 """<b>New</b><p>An empty editor window will be created.</p>""" |
626 ) |
626 ) |
627 ) |
627 ) |
628 self.newAct.triggered.connect(self.__newFile) |
628 self.newAct.triggered.connect(self.__newFile) |
629 self.fileActions.append(self.newAct) |
629 self.fileActions.append(self.newAct) |
630 |
630 |
715 self, |
715 self, |
716 "vm_file_close", |
716 "vm_file_close", |
717 ) |
717 ) |
718 self.closeAct.setStatusTip(self.tr("Close the editor window")) |
718 self.closeAct.setStatusTip(self.tr("Close the editor window")) |
719 self.closeAct.setWhatsThis( |
719 self.closeAct.setWhatsThis( |
720 self.tr("""<b>Close Window</b>""" """<p>Close the current window.</p>""") |
720 self.tr("""<b>Close Window</b><p>Close the current window.</p>""") |
721 ) |
721 ) |
722 self.closeAct.triggered.connect(self.close) |
722 self.closeAct.triggered.connect(self.close) |
723 self.fileActions.append(self.closeAct) |
723 self.fileActions.append(self.closeAct) |
724 |
724 |
725 self.printAct = EricAction( |
725 self.printAct = EricAction( |
872 "vm_edit_clear", |
872 "vm_edit_clear", |
873 ) |
873 ) |
874 self.deleteAct.setStatusTip(self.tr("Clear all text")) |
874 self.deleteAct.setStatusTip(self.tr("Clear all text")) |
875 self.deleteAct.setWhatsThis( |
875 self.deleteAct.setWhatsThis( |
876 self.tr( |
876 self.tr( |
877 """<b>Clear</b>""" """<p>Delete all text of the current editor.</p>""" |
877 """<b>Clear</b><p>Delete all text of the current editor.</p>""" |
878 ) |
878 ) |
879 ) |
879 ) |
880 self.deleteAct.triggered.connect(self.__textEdit.clear) |
880 self.deleteAct.triggered.connect(self.__textEdit.clear) |
881 self.editActions.append(self.deleteAct) |
881 self.editActions.append(self.deleteAct) |
882 |
882 |