def install(area):
    area.install((-1, '<FocusIn>', lambda event: update_mode(event.widget)),
           (-1, '<FocusIn>', lambda event: update_cursor_pos(event.widget)),
           (-1, '<Control-F9>', lambda event: root.status.switch()),
           (-1, '<Escape>', lambda event: set_status_msg('')),

           (-1, '<<SaveData>>', lambda event: root.title('Vy %s' % event.widget.filename)),
           (-1, '<<LoadData>>', lambda event: root.title(event.widget.filename % 'Vy %s')),
           (-1, '<<ClearData>>', lambda event: root.title('Vy %s' % event.widget.filename)),
           (-1, '<FocusIn>', lambda event: root.title('Vy %s' % event.widget.filename)),

           (-1, '<<SaveData>>', lambda event: root.note.tab(get_area_tab_index(event.widget), text=basename(event.widget.filename))),
           (-1, '<<LoadData>>', lambda event: root.note.tab(get_area_tab_index(event.widget), text=basename(event.widget.filename))),
           (-1, '<<ClearData>>', lambda event: root.note.tab(get_area_tab_index(event.widget), text=basename(event.widget.filename))),
           (-1, '<FocusIn>', lambda event: root.note.tab(root.note.select(), text=basename(event.widget.filename))))
dataset/ETHPy150Open iogf/vy/vyapp/plugins/status.py/install/swapped operands of `%`