def on_key_press(self, symbol, modifiers):
        super(TestWindow, self).on_key_press(symbol, modifiers)
        if symbol == pyglet.window.key.TAB:
            self.caret.on_text('\t')
dataset/ETHPy150Open ardekantur/pyglet/tests/text/HTML.py/TestWindow.on_key_press/original