Is there a way to show the caret only when there is no selection? I'm thinking something along the lines of what Word does. I guess HideCaret/ShowCaret would be the way to go - the problem is where to put those calls to trap selection changes? OnSelect seems to be the place, but it fires far too often and also at unexpected times.
Of course this brings out another "problem". With caret gone, there is no visual indication on where the selection starts/ends if blank lines are involved. Word solves this by highlighting a small portion of the blank line. Is it possible to achieve the same result with TRichViewEdit?
Hiding caret when selection exists?
-
- Site Admin
- Posts: 17559
- Joined: Sat Aug 27, 2005 10:28 am
- Contact: