FIXFOR: Start of edit buffers refactoring.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>