

def on_changed(self, idx):
    if (idx == (- 1)):
        return
    t = self.types[idx]
    output_text(self.output_view, t.show(self.view), clear=True)
    self.view.add_regions('typed', [t.region(idx.view)], 'string', 'dot', sublime.DRAW_OUTLINED)

dataset/ETHPy150Open SublimeHaskell/SublimeHaskell/haskell_type.py SublimeHaskellShowType.on_changed/VarMisuse@69/77 `self`->`idx`