TextCopyMode

 

Type

 

enum TextCopyModes

 

Description

 

Controls copy-to-clipboard behavior. Possible settings are:

 

0

TextCopyNormalized

Words are separated by single spaces, no CR or LF.

1

TextCopyWithNewlines

Words are separated by single spaces except when line breaks occur, in which case a single newline character (NL) is substituted for the space.

2

TextCopyExpandedCRLF

Line spacing is indicated by CR/LF sequences. In this mode, the number of characters actually copied to the clipboard may be larger than the value of the SelectionLength property.

 

 

Example

 

REM Use UNIX-style copy mode:

WebsterPro1.TextCopyMode = TextCopyWithNewlines

 

Remarks

 

TextCopyMode controls how text is copied to the clipboard by the CopySelectedText method as well as copy-to-clipboard operations by the user (via the pop-up menu).

 

The default setting is TextCopyExpandedCRLF.