Text editor buffers ?

What is the 'normal' way to get text from the key board?

my current idea is to have 2 buffers, the first for all the
text before the cursor, and the second for after the cursor.
but is there a more compact method short of copying all the
text after the cursor for each keystroke?


Comments

  • : What is the 'normal' way to get text from the key board?
    :
    : my current idea is to have 2 buffers, the first for all the
    : text before the cursor, and the second for after the cursor.
    : but is there a more compact method short of copying all the
    : text after the cursor for each keystroke?
    :
    :
    :

    normal :S whats normal
    1. use the standard interrupt
    2. use the portz

    before/after the cursor? How you mean this?
    reading the buffer as an array or something?

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

In this Discussion