def extend_from_string(self, text):
        """Extend list w/ objs created from given text.

        Also rearranges the positions of the objects.

        Parameters
        ==========
        text (string)
            its characters will be used to instantiate
            instances of a special class called
            CachedTextObject; such instance are used to
            which to extend this list.
        """
        ### extend list with the objects as you create them
        ### from each character in the text

        self.extend(CachedTextObject(char, self.render_settings) for char in text)

        ### then reposition the objects
        self.reposition_chars()
Extend list w/ objs created from given text.

        Also rearranges the positions of the objects.

        Parameters
        ==========
        text (string)
            its characters will be used to instantiate
            instances of a special class called
            CachedTextObject; such instance are used to
            which to extend this list.
        
nodezator/textman/editor/line.py