fixed editor cursor right bug

fixed cursor overflow out of buffer with arrow right or down