Is there a possibility to recognize when a user triple-clicks?
To append in case of copying a CRLF
Possibility to recognize triple click?
-
- Site Admin
- Posts: 17559
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
-
- Site Admin
- Posts: 17559
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
This problem is not related to a triple click.
It happens because TRichView does not have an invisible "end of paragraph" mark that can be selected or not (this mark causes other problems, you can see them in MS Word, for example paragraph properties are copied only together with this mark, so it's not possible to copy paragraph attributes, if you copy a beginning or a middle of the paragraph; so it has pros and contras)
It could be solved by selecting paragraphs differently - the end of selection is not at the end of the paragraph, but at the beginning of the next paragraph. It's not possible for the last paragraph, though.
It happens because TRichView does not have an invisible "end of paragraph" mark that can be selected or not (this mark causes other problems, you can see them in MS Word, for example paragraph properties are copied only together with this mark, so it's not possible to copy paragraph attributes, if you copy a beginning or a middle of the paragraph; so it has pros and contras)
It could be solved by selecting paragraphs differently - the end of selection is not at the end of the paragraph, but at the beginning of the next paragraph. It's not possible for the last paragraph, though.