As far as I know text input and editing with SDL is a feature of SDL 1.3.