DIF_EDITOR

Far Manager

DIF_EDITOR

Sequentially declared edit controls (DI_EDIT) with the DIF_EDITOR flag set are grouped into an editor capable of insertion and removal of lines.

Controls

The DIF_EDITOR flag is applicable to the following dialog items:

ControlDescription
DI_EDIT Edit box.

Remarks

In order to create an edit area with the size of 5 rows it is necessary to place 5 elements of type DI_EDIT with DIF_EDITOR flag set, as shown in the following example:

DI_EDIT,5,3,29,3,1,1,DIF_EDITOR,0,"", DI_EDIT,5,4,29,4,0,1,DIF_EDITOR,0,"", DI_EDIT,5,5,29,5,0,1,DIF_EDITOR,0,"", DI_EDIT,5,6,29,6,0,1,DIF_EDITOR,0,"", DI_EDIT,5,7,29,7,0,1,DIF_EDITOR,0,"",

See also: