Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在编写一个包含带有 scoll 的富文本面板的应用程序。我对文本进行了一些操作,有时在某些操作之后,我需要在屏幕上重新编写文本,但我希望焦点在操作发生之前的位置。是否可以将屏幕上的焦点更改为特定的插入符号位置?谢谢。