1. In addition to the methods that correspond to the editor commands, what other public operations are exported by the Editor Buffer class?
2. Which editor operations require linear time in the array representation of the editor buffer? What makes those operations slow?
3. Draw a diagram showing the contents of the before and after stack in the two-stack representation of a buffer that contains the following text, with the cursor positioned as shown:
4. How is the cursor position indicated in the two-stack representation of the editor buffer?
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here