Opened 8 years ago

Last modified 7 years ago

#9382 new enhancement

[StyledEdit] implement unlimited undo functionality

Reported by: diver Owned by: korli
Priority: normal Milestone: R1
Component: Applications/StyledEdit Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description (last modified by diver)

Currently StyledEdit supports one step undo only. Let's make it actually usable :-)

Change History (4)

comment:1 by axeld, 8 years ago

Component: Applications/ShowImageApplications/StyledEdit
Owner: changed from leavengood to korli

comment:2 by diver, 8 years ago

Description: modified (diff)

comment:3 by jackburton, 8 years ago

Might not be so simple. As you know, StyledEdit is simply using BTextView functionalities, and that class only supports one step undo. Maybe it's possible to create a derived class and implement a new undo "stack" in there.

comment:4 by leavengood, 7 years ago

It is API-creep going into R1, but adding a simple Undo API and then just using that in BTextView would be a good solution.

Even if it is kept private for now there are several places an undo API could be used within the Haiku applications. Even the new ResourceEdit application has an ad hoc undo system created by an GCI student.

Note: See TracTickets for help on using tickets.