How do I disable “cursor beyond end of line”?

天大地大妈咪最大 提交于 2019-12-01 13:58:19

问题


How do I deactivate Delphi's "Cursor beyond end of line" feature? When I click in the empty space to the right of a line, or when I navigate to a line with the arrow keys, I want the cursor to be at the line's real end, not in the "virtual space".


回答1:


AFAIK, you cannot. The code editor has always had that behavior built-in. You can tell it to not go past End-Of-File, but not End-Of-Line.




回答2:


When possible you can set a macro on one of the mouse buttons to hit the combo "left-click" and "End" when clicked. Not the ideal situation but it does the trick.



来源:https://stackoverflow.com/questions/17977490/how-do-i-disable-cursor-beyond-end-of-line

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!