Navigation  without Java Scripts

edit_SetStatusLineCaptionsOffsets/5

edit_SetStatusLineCaptionsOffsets(window WinHandle, unsigned PosInsert, unsigned PosIndent, unsigned PosWrap, unsigned PosModified)

Flow pattern (i,i,i,i,i) 

Sets offsets (from the beginning of the status line) to the positions of correspondent status line captions.

Remarks

The default captions displayed in the editor status line to identify editor modes are: Overwrite, Indent, NoIndent, Wrap, UnWrap, Modified, and ReadOnly.

A programmer can overwrite these default captions calling the  edit_SetStatusLineCaptions predicate. If the specified captions are too long to be properly displayed in the default positions, then these positions can be modified with the call of the edit_SetStatusLineCaptionsOffsets predicate.

PosInsert specifies a new position to Insert/Overwrite caption.
PosIndent specifies a new position to Indent/NoIndent caption.
PosWrap specifies a new position to Wrap/UnWrap caption. Notice that this argument is ignored when edit_SetStatusLineCaptionsOffsets is applied to an editor created by edit_Create/12 predicate.
PosModified specifies a new position to Modified/ReadOnly caption.

New positions will be proportional to the specified numbers of pixels; therefore, the result will depend upon screen resolution. 

Fail

Never fails

Errors

6900 Specified window is not an editor window