News for hackers. Stuff that matters.
Re:Text Editor: Data Structures by hnlmorg on Monday October 02, 2017 @12:26PM (#15385210)
I'm not really sure how you've interpreted my claim but the context of this discussion was about holding the text as an unbuffered array. This would mean every keystroke is effectively an edit. But even that aside, I'm sure we've all done stuff like:

    type "foobar\n" -> select "foobar\n" -> copy
    ctrl+v
    ctrl+v
    ctrl+v
    ctrl+v
    ctrl+v
...or the equivalent with replacing text within blocks of the same document; or other repetitive textual tasks that could easily be marcoed if it were a job you'd need to repeat again at a future point in time.

There are no comments on this comment yet.