Quote Originally Posted by wysota View Post
You can emulate a data structure that is called a rope.

http://en.wikipedia.org/wiki/Rope_(computer_science)

See the links at the bottom.

As for scrolling... well.. did you try the obvious approach?
The rope seems to be pretty much what i wanted. I'll think about it. Meanwhile i am open to other ideas as well

The only approach i know is to paint/write everything manually to get the effect of scrolling(based on current column). But there should be memove or some similar trick which can be used to emulate scrolling rather than rewriting everything. May be the interrupt works this way.