Implement KeyPress in DocView