Hi all,
I try to get a line text in TRichviewEdit, there's a small problem.
a line is, Example...
This is a test line...
S := rve.GetItemText(0) -> result S) This is a test line...
And I Change TextStyle to BOLD(or Underline, etc...) at a word in a line, Example...
This is a test line...
S := rve.GetItemText(0) -> result S) This
and 'is a test line...' is Changed ItemNo = 1.
How get I full line text?
Thanks in advance!
How get I full line text?
-
- Site Admin
- Posts: 17555
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
Re: How get I full line text?
You can use the functions from RVGetTextW.pas:
- GetCurrentLineText - returns text from the current line (line bounds depend on word wrapping)
- GetCurrentParaText - returns text from the current paragraph (between breaks made by "Enter")
- GetCurrentParaSectionText - returns text from the current paragraph section (between breaks made by "Enter" or "Shift+Enter")
- GetCurrentLineText - returns text from the current line (line bounds depend on word wrapping)
- GetCurrentParaText - returns text from the current paragraph (between breaks made by "Enter")
- GetCurrentParaSectionText - returns text from the current paragraph section (between breaks made by "Enter" or "Shift+Enter")