[TextEditor] Updated avl implementation/used it in compressing list
tree.