Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ DtEditorUndoEdit(3) — Digital UNIX 3.2c

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

DtEditor(5)

DtEditor(3)

DtEditorUndoEdit(3)  —  Subroutines

NAME

DtEditorUndoEdit − undo the last edit made to the text in a DtEditor widget

SYNOPSIS

#include <Dt/Editor.h>
Boolean DtEditorUndoEdit(Widget widget);

DESCRIPTION

The DtEditorUndoEdit() function undoes the last change (deletion or insertion) made to the text in a DtEditor widget. A change consists of either a set of consecutive insertions, or a set of consecutive deletions followed by up to one set of consecutive insertions. An insertion is consecutive if there have been no intervening deletions, and it is continuing forward from the same point. A deletion is consecutive if there have been no intervening insertions, and its start or end position is coincidental with the last deletion (that is, the deletion is continuing from the same point, either forward or backward). Undoing an edit once restores the original text. Undoing an edit twice restores the last change.

The widget argument specifies the DtEditor widget ID. 

For a complete definition of the DtEditor widget and its associated resources, see DtEditor(3). 

RETURN VALUE

???? component owner: x/open requires the following wording format for RETURN VALUE; I’ve modified the original to fit this format; can you please check that the info correctly fits this template????
Upon successful completion, the DtEditorUndoEdit() function returns False if there is no pending undo; otherwise, it returns True. 

SEE ALSO

DtEditor(5), DtEditor(3). 
 
 
 
 
 
 

  —  3 May 1994

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026