Add some FIXMEs
This commit is contained in:
parent
d961211188
commit
c98eb5502d
@ -68,6 +68,7 @@ class NormalKeyParser(keyparser.CommandKeyParser):
|
|||||||
Return:
|
Return:
|
||||||
A self.Match member.
|
A self.Match member.
|
||||||
"""
|
"""
|
||||||
|
# FIXME rewrite this
|
||||||
txt = e.text().strip()
|
txt = e.text().strip()
|
||||||
if self._inhibited:
|
if self._inhibited:
|
||||||
self._debug_log("Ignoring key '{}', because the normal mode is "
|
self._debug_log("Ignoring key '{}', because the normal mode is "
|
||||||
@ -166,6 +167,7 @@ class HintKeyParser(keyparser.CommandKeyParser):
|
|||||||
Return:
|
Return:
|
||||||
True if event has been handled, False otherwise.
|
True if event has been handled, False otherwise.
|
||||||
"""
|
"""
|
||||||
|
# FIXME rewrite this
|
||||||
log.keyboard.debug("Got special key 0x{:x} text {}".format(
|
log.keyboard.debug("Got special key 0x{:x} text {}".format(
|
||||||
e.key(), e.text()))
|
e.key(), e.text()))
|
||||||
hintmanager = objreg.get('hintmanager', scope='tab',
|
hintmanager = objreg.get('hintmanager', scope='tab',
|
||||||
@ -209,6 +211,7 @@ class HintKeyParser(keyparser.CommandKeyParser):
|
|||||||
Returns:
|
Returns:
|
||||||
True if the match has been handled, False otherwise.
|
True if the match has been handled, False otherwise.
|
||||||
"""
|
"""
|
||||||
|
# FIXME rewrite this
|
||||||
match = self._handle_single_key(e)
|
match = self._handle_single_key(e)
|
||||||
if match == self.Match.partial:
|
if match == self.Match.partial:
|
||||||
self.keystring_updated.emit(self._keystring)
|
self.keystring_updated.emit(self._keystring)
|
||||||
@ -293,6 +296,7 @@ class RegisterKeyParser(keyparser.CommandKeyParser):
|
|||||||
Return:
|
Return:
|
||||||
True if event has been handled, False otherwise.
|
True if event has been handled, False otherwise.
|
||||||
"""
|
"""
|
||||||
|
# FIXME rewrite this
|
||||||
if super().handle(e):
|
if super().handle(e):
|
||||||
return True
|
return True
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user