# Javascript: TXTextControl.endUndoAction Method

> Ends a user-defined undo operation. All editing and fomatting changes made between beginUndoAction and endUndoAction belong to the undo operation. These changes are undone or redone in a single step.

- **Product:** DS Server
- **Section:** Reference
- **Kind:** Method
- **Introduced:** 30.0
- **Path:** DS Server > Reference > JavaScript API > Javascript: TXTextControl.endUndoAction Method
- **Web URL:** https://docs.textcontrol.com/ds-server/reference/javascript/txtextcontrol/endundoaction-method/
- **LLMs URL:** https://docs.textcontrol.com/ds-server/reference/javascript/txtextcontrol/endundoaction-method/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/ds-server/reference/javascript/txtextcontrol/endundoaction-method/llms-full.txt

---

## On This Page

- [Description](https://docs.textcontrol.com/ds-server/reference/javascript/txtextcontrol/endundoaction-method/#description)
- [Syntax](https://docs.textcontrol.com/ds-server/reference/javascript/txtextcontrol/endundoaction-method/#syntax)
- [Parameters](https://docs.textcontrol.com/ds-server/reference/javascript/txtextcontrol/endundoaction-method/#parameters)
- [Examples](https://docs.textcontrol.com/ds-server/reference/javascript/txtextcontrol/endundoaction-method/#examples)

---

## Nearby

- **Previous:** [Javascript: TXTextControl.editMode Property](https://docs.textcontrol.com/ds-server/reference/javascript/txtextcontrol/editmode-property/llms.txt)
- **Next:** [Javascript: TXTextControl.FieldType Enumeration](https://docs.textcontrol.com/ds-server/reference/javascript/txtextcontrol/fieldtype-enumeration/llms.txt)
