Skip to content

Commit a5c0490

Browse files
Remove repeated actions on kweditor
1 parent 1a6bbcb commit a5c0490

File tree

3 files changed

+8
-10
lines changed

3 files changed

+8
-10
lines changed

src/robotide/editor/macroeditors.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,6 @@ def close(self):
5151
def save(self):
5252
self.kweditor.save()
5353

54-
def movecursordown(self):
55-
self.kweditor.OnMoveCursorDown()
56-
5754
def undo(self):
5855
self.kweditor.OnUndo()
5956

@@ -118,13 +115,16 @@ def uncomment_cells(self):
118115
self.kweditor.OnUncommentCells(None)
119116

120117
def make_variable(self):
121-
self.kweditor.OnMakeVariable(None)
118+
# Caught by kweditor keyboard events
119+
pass
122120

123121
def make_list_variable(self):
124-
self.kweditor.OnMakeListVariable(None)
122+
# Caught by kweditor keyboard events
123+
pass
125124

126125
def make_dict_variable(self):
127-
self.kweditor.OnMakeDictVariable(None)
126+
# Caught by kweditor keyboard events
127+
pass
128128

129129
def show_content_assist(self):
130130
self.kweditor.show_content_assist()

src/robotide/version.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,5 @@
1414
# limitations under the License.
1515
#
1616
# Automatically generated by `tasks.py`.
17-
VERSION = 'v2.0b3.dev5'
17+
VERSION = 'v2.0b3.dev6'
18+

utest/editor/test_macroeditors.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,9 +81,6 @@ def test_delegation_to_kw_editor(self):
8181
('uncomment_cells', 'OnUncommentCells'),
8282
('comment_rows', 'OnCommentRows'),
8383
('uncomment_rows', 'OnUncommentRows'),
84-
('make_variable', 'OnMakeVariable'),
85-
('make_list_variable', 'OnMakeListVariable'),
86-
('make_dict_variable', 'OnMakeDictVariable'),
8784
('show_content_assist', 'show_content_assist')]:
8885
kw_mock = MockKwEditor()
8986
self.tc_editor.kweditor = kw_mock

0 commit comments

Comments
 (0)