Beispiel #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)
Beispiel #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)
Beispiel #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)
Beispiel #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)
Beispiel #5
0
 def editor_comment(self):
     editorWidget = self.ide.mainContainer.get_actual_editor()
     if editorWidget:
         helpers.comment(editorWidget)
Beispiel #6
0
 def editor_comment(self):
     editorWidget = self.ide.mainContainer.get_actual_editor()
     if editorWidget:
         helpers.comment(editorWidget)