each textfield keeps its own insert mode state. to keep an app-wide insert mode, copy this value in/out of the app state
@ffi.Int() external int row_count_per_page;