lines also hey, a useful suggestion
This commit is contained in:
parent
cb8b16ecc5
commit
9f81a9c3c6
@ -147,7 +147,7 @@ class HintManager(QObject):
|
||||
title=lambda elem: elem["title"],
|
||||
src=lambda elem: elem["src"].split('/')[-1],
|
||||
href=lambda elem: elem["href"].split('/')[-1],
|
||||
text=lambda elem: str(elem),
|
||||
text=str,
|
||||
)
|
||||
|
||||
TAGS_FOR = collections.defaultdict(
|
||||
@ -157,7 +157,6 @@ class HintManager(QObject):
|
||||
"INPUT": ["name"]
|
||||
})
|
||||
|
||||
|
||||
mouse_event = pyqtSignal('QMouseEvent')
|
||||
start_hinting = pyqtSignal(usertypes.ClickTarget)
|
||||
stop_hinting = pyqtSignal()
|
||||
@ -287,7 +286,6 @@ class HintManager(QObject):
|
||||
# either the first good, or None
|
||||
return next(no_prefixes, None)
|
||||
|
||||
|
||||
def _hint_words(self, words, elems):
|
||||
"""Produce hint labels based on the html tags.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user