how is it done?

Good day!

How is a word processor written? A very basic one, for only editing text.

features:
- only navigate with arrow keys
- edit pre entered text, and write more

Is the general way like this:
- make each line any array with max length
- push each line entered on stack
- use the arrow keys to move up and down in stack and left and righ in each line (array index)
- get a character at a time, and enter it in the write position for each array line

Thanks for your feedback..

Comments

  • : Good day!
    :
    : How is a word processor written? A very basic one, for only editing text.
    :
    : features:
    : - only navigate with arrow keys
    : - edit pre entered text, and write more
    :
    : Is the general way like this:

    Sure. Do it however you like. Do whatever you think will work, if you find out it's wrong do it some other way or hack it until it's right. Experiment.

    "We can't do nothing and think someone else will make it right."
    -Kyoto Now, Bad Religion

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