Problems with edit.start for SDL Event?

Something like this.
I press the left and right arrows in the SDL_TEXTEDITING event to try to get my cursor to do this: a|->|a
I thought ‘edit.start’ would be 0 after pressing the left arrow, but it’s always 1, So I failed.
Finally I found that after I kept pressing the left arrow it was strlen(… edit.text).
How can I solve this situation?
I’m not good at English. I wrote this with the help of a translator.