示例#1
0
 def editor_comment(self):
     """Mark the current line or selection as a comment."""
     editorWidget = self.ide.mainContainer.get_actual_editor()
     if editorWidget and editorWidget.hasFocus():
         helpers.comment(editorWidget)
示例#2
0
 def editor_comment(self):
     """Mark the current line or selection as a comment."""
     editorWidget = self.get_current_editor()
     if editorWidget and editorWidget.hasFocus():
         helpers.comment(editorWidget)
示例#3
0
 def editor_comment(self):
     """Mark the current line or selection as a comment."""
     editorWidget = self.ide.mainContainer.get_actual_editor()
     if editorWidget and editorWidget.hasFocus():
         helpers.comment(editorWidget)
示例#4
0
 def editor_comment(self):
     """Mark the current line or selection as a comment."""
     editorWidget = self.get_current_editor()
     if editorWidget and editorWidget.hasFocus():
         helpers.comment(editorWidget)
示例#5
0
 def editor_comment(self):
     editorWidget = self.ide.mainContainer.get_actual_editor()
     if editorWidget:
         helpers.comment(editorWidget)
示例#6
0
 def editor_comment(self):
     editorWidget = self.ide.mainContainer.get_actual_editor()
     if editorWidget:
         helpers.comment(editorWidget)