Design a Text EditorMaintain text and a movable cursor with insertion, deletion, and bounded context queries.