Remove cursor_part_changed signal.
This commit is contained in:
parent
f9eb2af979
commit
1928add992
@ -57,7 +57,6 @@ class Command(MinimalLineEdit):
|
|||||||
arg 1: A list of strings (commandline separated into
|
arg 1: A list of strings (commandline separated into
|
||||||
parts)
|
parts)
|
||||||
arg 2: The part the cursor is currently in.
|
arg 2: The part the cursor is currently in.
|
||||||
cursor_part_changed: The command part where the cursor is over changed.
|
|
||||||
show_cmd: Emitted when command input should be shown.
|
show_cmd: Emitted when command input should be shown.
|
||||||
hide_cmd: Emitted when command input can be hidden.
|
hide_cmd: Emitted when command input can be hidden.
|
||||||
"""
|
"""
|
||||||
@ -68,7 +67,6 @@ class Command(MinimalLineEdit):
|
|||||||
clear_completion_selection = pyqtSignal()
|
clear_completion_selection = pyqtSignal()
|
||||||
hide_completion = pyqtSignal()
|
hide_completion = pyqtSignal()
|
||||||
update_completion = pyqtSignal(str, list, int)
|
update_completion = pyqtSignal(str, list, int)
|
||||||
cursor_part_changed = pyqtSignal(int)
|
|
||||||
show_cmd = pyqtSignal()
|
show_cmd = pyqtSignal()
|
||||||
hide_cmd = pyqtSignal()
|
hide_cmd = pyqtSignal()
|
||||||
|
|
||||||
@ -117,7 +115,6 @@ class Command(MinimalLineEdit):
|
|||||||
# foo| bar
|
# foo| bar
|
||||||
self.cursor_part = i
|
self.cursor_part = i
|
||||||
if old_cursor_part != i:
|
if old_cursor_part != i:
|
||||||
self.cursor_part_changed.emit(i)
|
|
||||||
# FIXME do we really want to emit this here?
|
# FIXME do we really want to emit this here?
|
||||||
self.update_completion.emit(self.prefix, self.parts,
|
self.update_completion.emit(self.prefix, self.parts,
|
||||||
self.cursor_part)
|
self.cursor_part)
|
||||||
|
Loading…
Reference in New Issue
Block a user