ViewerSelect

Far Manager

ViewerSelect

The ViewerSelect structure is used to select a block in the internal viewer.
struct ViewerSelect
{
   FARINT64 BlockStartPos;
   int  BlockLen;
};

Elements

BlockStartPos
Selection start - in characters, not in bytes. This means that if the viewer is in Unicode mode, BlockStartPos will equal - position in file / 2.
BlockLen
Selection length in characters.
See also: