New parameter in RVSetSelection method

General TRichView support forum. Please post your questions here
Post Reply
saeid2016
Posts: 68
Joined: Wed Mar 16, 2016 11:56 am

New parameter in RVSetSelection method

Post by saeid2016 » Wed Feb 13, 2019 4:10 am

Hello, In the TRichView v17.6, The RVSetSelection function has CharsPerLineBreak parameter. What is this parameter?

Sergey Tkachenko
Site Admin
Posts: 14465
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Re: New parameter in RVSetSelection method

Post by Sergey Tkachenko » Wed Feb 13, 2019 6:36 am

This parameter can be of one of the following values:
2: two characters per a line break, #13#10
1: one character per a line break, #13
0: zero characters per a line break, the result is a string without line breaks
-1 (default): use the value of the global variable RVCharsPerLineBreak (which, it its order, may be equal to 0, 1 or 2, the initial value is 2).


Post Reply