3 ms·
Because you can't just ask the OS to "please paint text caret here thankyou", and browsers do not expose a powerful enough native text editing control. So you e
by Sharlin 10y ago
Because you can't just ask the OS to "please paint text caret here thankyou", and browsers do not expose a powerful enough native text editing control. So you end up reimplementing one in JS/HTML/CSS, including the caret.
- heinrich5991 10y agoThe WinAPI function SetCaretPos seems to do that: https://msdn.microsoft.com/en-us/library/windows/desktop/ms648405(v=vs.85).aspx https://msdn.microsoft.com/en-us/library/windows/desktop/ms6...