+1 (218) 451-4151
glass
pen
clip
papers
heaphones

Write a simple text editor, which stores and displays a string of characters using the positional…

Write a simple text editor, which stores and displays a string of characters using the positional…

Write a simple text editor, which stores and displays a string of characters using the positional list ADT, together with a cursor object that highlights a position in the string. The editor must support the following operations:• left: Move cursor left one character (do nothing if at beginning).• right: Move cursor right one character (do nothing if at end).• insert c: Insert the character c just after the cursor.• delete: Delete the character just after the cursor (if not at end).