Version

Quick search

Table Of Contents

Code Navigation Behavior

The CodeNavigationBehavior modifies navigation behavior in the TextInput, making it work like an IDE instead of a word processor.

Using this mixin gives the TextInput the ability to recognize whitespace, punctuation and case variations (e.g. CamelCase) when moving over text. It is currently used by the CodeInput widget.

class kivy.uix.behaviors.codenavigation.CodeNavigationBehavior[source]

Bases: kivy.event.EventDispatcher

Code navigation behavior. Modifies the navigation behavior in TextInput to work like an IDE instead of a word processor. Please see the code navigation behaviors module documentation for more information.

New in version 1.9.1.