def enable_keyboard_edition_mode(self):
        """Assign behaviours for keyboard edition mode.

        Also performs additional setups.
        """
        self.handle_input = self.keyboard_edition_control
        self.update = self.keyboard_edition_update
        self.draw = self.keyboard_edition_draw

        ### if app is not in play mode, enable text editing events
        ### and set the text input rect

        if GENERAL_NS.mode_name != 'play':

            start_text_input()
            set_text_input_rect(self.rect.move(0, 20))
Assign behaviours for keyboard edition mode.

        Also performs additional setups.
        
nodezator/widget/intfloatentry/modes.py