[TextEditor] Implemented layout cache for caching native pango layout
objects.
[TextEditor] Use the layout cache in other frequently done operations.