View Issue Details

IDProjectCategoryView StatusLast Update
0016344ScribusStory Editor / Text Framespublic2024-11-22 17:42
Reportersreerajp Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status newResolutionopen 
PlatformWindowsOS10OS Version1909
Product Version1.5.7.svn 
Summary0016344: Undo not working for insertChars()
DescriptionUndo not working for following function in storytext.cpp

StoryText::insertChars(int pos, const QString& txt, bool applyNeighbourStyle)
Tagsundo
PatchNo

Relationships

related to 0011989 confirmed Undo/Redo does not record Glyph insertion 

Activities

jghali

2020-11-17 12:44

administrator   ~0048449

Last edited: 2020-11-17 12:45

There is no undo support inside StoryText. If you use StoryText functions and needs undo, you have to create proper undo actions yourself.

sreerajp

2020-11-17 12:50

reporter   ~0048450

What else I can use to insert text at cursor position in text frame?

jghali

2020-11-17 13:06

administrator   ~0048451

StoryText::insertChars() is the right function for this. However you will need to add separately the necessary code to perform undo if you need so.

luzpaz

2024-11-22 14:33

reporter   ~0051635

Any similarities to 0011989

Issue History

Date Modified Username Field Change
2020-11-17 12:33 sreerajp New Issue
2020-11-17 12:42 jghali Summary Undo not working for inertChars() => Undo not working for insertChars()
2020-11-17 12:44 jghali Note Added: 0048449
2020-11-17 12:45 jghali Note Edited: 0048449
2020-11-17 12:50 sreerajp Note Added: 0048450
2020-11-17 13:06 jghali Note Added: 0048451
2024-11-22 14:32 luzpaz Tag Attached: undo
2024-11-22 14:33 luzpaz Note Added: 0051635
2024-11-22 17:42 nitramr Relationship added related to 0011989