Page MenuHome

Text field undo/redo
Confirmed, LowPublicTO DO

Description

This task is to support undo/redo in text fields in the interface.

This only needs to work while editing the text field, once it's accepted or cancelled, the undo history can be removed.

Each undo step should store the text & cursor position.

While this isn't high priority I think it's nice to support, it means any typo's can be easily undone.

Related Objects

Event Timeline

Campbell Barton (campbellbarton) changed the task status from Needs Triage to Confirmed.Thu, Mar 5, 5:38 AM
Campbell Barton (campbellbarton) triaged this task as Low priority.
Campbell Barton (campbellbarton) changed the subtype of this task from "Report" to "To Do".

Hey text fields are the one in search boxes and such right?

In scripting tab, console & text editor, https://docs.blender.org/manual/en/dev/interface/controls/templates/operator_search.html , file browser fields etc.
try with one, it can be extended later. I guess text editor has its own undo history: https://blender.stackexchange.com/a/159892/79345

Right, this is only for the single line text entries used for renaming data, operator-search.

Not the text editor or Python console.