Add debug logging for cursor logic in TextView and Editor

Test: manual
Change-Id: If5ddb575af3518aba2c4fbed3d6a040898c0d003
2 files changed