Opened 12 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 )
Currently StyledEdit supports one step undo only. Let's make it actually usable :-)
Change History (5)
comment:1 by , 12 years ago
Component: | Applications/ShowImage → Applications/StyledEdit |
---|---|
Owner: | changed from | to
comment:2 by , 12 years ago
Description: | modified (diff) |
---|
comment:3 by , 12 years ago
comment:4 by , 12 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 , 4 years ago
Milestone: | R1 → R1.1 |
---|
Note:
See TracTickets
for help on using tickets.
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.