Added autoEdit flag, which can be turned off when using soft keyboards.