Opened 11 years ago

Last modified 4 years ago

#9382 new enhancement

[StyledEdit] implement unlimited undo functionality

Reported by: diver Owned by: korli
Priority: normal Milestone: R1.1
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 (5)

comment:1 by axeld, 11 years ago

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

comment:2 by diver, 11 years ago

Description: modified (diff)

comment:3 by jackburton, 11 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, 11 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.

comment:5 by pulkomandy, 4 years ago

Milestone: R1R1.1
Note: See TracTickets for help on using tickets.