예제 #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)