Example #1
0
 def editor_duplicate(self):
     """Duplicate the current line or selection."""
     editorWidget = self.ide.mainContainer.get_actual_editor()
     if editorWidget and editorWidget.hasFocus():
         helpers.duplicate(editorWidget)
Example #2
0
 def editor_duplicate(self):
     """Duplicate the current line or selection."""
     editorWidget = self.get_current_editor()
     if editorWidget and editorWidget.hasFocus():
         helpers.duplicate(editorWidget)
Example #3
0
 def editor_duplicate(self):
     """Duplicate the current line or selection."""
     editorWidget = self.get_current_editor()
     if editorWidget and editorWidget.hasFocus():
         helpers.duplicate(editorWidget)
Example #4
0
 def editor_duplicate(self):
     """Duplicate the current line or selection."""
     editorWidget = self.ide.mainContainer.get_actual_editor()
     if editorWidget and editorWidget.hasFocus():
         helpers.duplicate(editorWidget)
Example #5
0
 def editor_duplicate(self):
     editorWidget = self.ide.mainContainer.get_actual_editor()
     if editorWidget:
         helpers.duplicate(editorWidget)
Example #6
0
 def editor_duplicate(self):
     editorWidget = self.ide.mainContainer.get_actual_editor()
     if editorWidget:
         helpers.duplicate(editorWidget)