TCustomRichViewEdit.SelectCurrentLine
Posted: Thu Feb 20, 2020 9:37 pm
I'm using SelectCurrentLine to copy out some text from a RVF document.
However, if that line has different formatting like Regular font and then italics it only selects up until that change in formatting.
Is this an expected behavior? Is there a way to change this. In this application the format could be different on a per character basis.
Do I need to change anything in RichViewEdit to fix this? Thank you.
This is quite easy to test write a line of text with various formattings in RVF then call SelectCurrentLine and then update/refresh the RVF and you should be able to see this.
However, if that line has different formatting like Regular font and then italics it only selects up until that change in formatting.
Is this an expected behavior? Is there a way to change this. In this application the format could be different on a per character basis.
Do I need to change anything in RichViewEdit to fix this? Thank you.
This is quite easy to test write a line of text with various formattings in RVF then call SelectCurrentLine and then update/refresh the RVF and you should be able to see this.