Marking blocks

In this section:

SUBROUTINE EDIT_OPEN_LINE_MARK@(E)
INTEGER E(24) ! EDIT_INFO block

This starts a line-mode selection. Initially the selection covers the current line, but it can be extended upwards or downwards by moving the cursor key. The selected area can be cut/paste in the same way as an ordinary character selection.

SUBROUTINE EDIT_OPEN_BLOCK_MARK@(E)
INTEGER E(24) ! EDIT_INFO block

This starts a block (or column) selection. To use this you probably want to use the no_cursor_snap option (see above) since the user will be creating and manipulating rectangular regions on the screen.

SUBROUTINE EDIT_CLOSE_MARK@(E)
INTEGER E(24) ! EDIT_INFO block

This will close a selection of either type.

Alternatively you can pass the window handle instead of the EDIT_INFO.

See also: EDIT_INFO

 

 

Basket
Empty
 
Copyright © 1999-2024 Silverfrost Limited