*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->HP-UX 11i man pages -> DtEditorUndoEdit (3)              
Title
Content
Arch
Section
 

Contents


 DtEditorUndoEdit(library call)               DtEditorUndoEdit(library call)




 NAME    [Toc]    [Back]
      DtEditorUndoEdit - undo the last edit made to the text in a DtEditor
      widget

 SYNOPSIS    [Toc]    [Back]
      #include <Dt/Editor.h>
      Boolean DtEditorUndoEdit(
      Widget widget);

 DESCRIPTION    [Toc]    [Back]
      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    [Toc]    [Back]
      Upon successful completion, the DtEditorUndoEdit function returns
      True; otherwise, if there is no pending undo it returns False.

 SEE ALSO    [Toc]    [Back]
      Dt/Editor.h - DtEditor(5), DtEditor(3).


                                    - 1 -       Formatted:  January 24, 2005
[ Back ]
      
      
 Similar pages
Name OS Title
DtEditorTraverseToEditor HP-UX set keyboard traversal to the edit window of a DtEditor widget
DtEditorSelectAll HP-UX select all text in a DtEditor widget
DtEditorInvokeFindChangeDialog HP-UX display the DtEditor widget dialog for searching and replacing text
DtEditorGetMessageTextFieldID HP-UX retrieve the widget ID of the message text field in the DtEditor status line
DtEditorInvokeSpellDialog HP-UX display the DtEditor widget dialog for checking text for spelling errors
DtEditorCutToClipboard HP-UX copy the primary selection in a DtEditor widget to the clipboard and delete the selected text
XmTextSetEditable IRIX A Text function that sets the edit permission
XmTextSetEditable HP-UX A Text function that sets the edit permission
XmTextSetEditable Tru64 A Text function that sets the edit permission
XmTextGetEditable IRIX A Text function that accesses the edit permission state
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service