Add Cursor, Selection and Buffer.getLine