def insert_text(self, index, text):
        """Insert text into line in given index.

        Each character in the text is turned into
        a special text object before being inserted.

        Characters are also repositioned at the end of the
        method.

        Parameters
        ==========
        index (integer)
            specific index wherein to begin inserting
            the instantiated objects using list.insert.
        text (string)
            characters used to instantiate text objects
            to be inserted into the line.
        """
        ### iterate over the characters of the text, keeping
        ### track of the index number as you go

        for index, char in enumerate(text, start=index):

            ## insert...

            self.insert(
                ## ...at the current index...
                index,
                ## a special text object instantiated
                ## from the character, using the
                ## stored font settings
                CachedTextObject(char, self.font_settings),
            )

        ### finally, reposition the characters
        self.reposition_chars()
Insert text into line in given index.

        Each character in the text is turned into
        a special text object before being inserted.

        Characters are also repositioned at the end of the
        method.

        Parameters
        ==========
        index (integer)
            specific index wherein to begin inserting
            the instantiated objects using list.insert.
        text (string)
            characters used to instantiate text objects
            to be inserted into the line.
        
nodezator/textman/entryedition/line.py