[question] Is receving TEXTINPUT event after KEYDOWN standard behaviour?


I was learning the SDL_TEXTINPUT feature and when I remove the SDL_StartTextInput/SDL_StopTextInput(); from the code I still receive the SDL_TEXTINPUT event but directly after SDL_KEYDOWN event which is good for my purpose because I could poll next event inside the keydown switch label and I have all information I need scancode,keycode,modifiers_mask, and what unicode character I have.

the question is: is that behavior standard between all systems? can I depend on it on other platforms other than my setup X11 gnu box? will it work on wayland, windows, macs, or even android?

And why is this not mentioned in the documentations?