kamahen / pykythe

Generate code Python source cross-reference facts in Kythe format
Other
21 stars 3 forks source link

src_browser.js mouse-over @dataclass(frozen=True) #37

Open kamahen opened 3 years ago

kamahen commented 3 years ago

When mouseover True, no highlighting.

Code has been added to catch this case, in mouseoverAnchor: (g_anchor_to_anchors[mouse_target.id] || [])

kamahen commented 3 years ago

Also, the bare word "dataclasses" in from dataclasses import dataclass doesn't handle mouseover. And the "." in from . import pod isn't highlighted.

These probably have to do with the new code for mouseover (g_anchor_to_anchors).