Edit x->col, y->line and c-> cell