New parameter in RVSetSelection method

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

New parameter in RVSetSelection method

Post by saeid2016 »

Hello, In the TRichView v17.6, The RVSetSelection function has CharsPerLineBreak parameter. What is this parameter?
Sergey Tkachenko
Site Admin
Posts: 17602
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Re: New parameter in RVSetSelection method

Post by Sergey Tkachenko »

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).
Sergey Tkachenko
Site Admin
Posts: 17602
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Re: New parameter in RVSetSelection method

Post by Sergey Tkachenko »

I updated information in the online manual: https://www.trichview.com/help/idh_rvlinear.html
Post Reply