View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0016344 | Scribus | Story Editor / Text Frames | public | 2020-11-17 12:33 | 2024-11-22 17:42 |
Reporter | sreerajp | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | new | Resolution | open | ||
Platform | Windows | OS | 10 | OS Version | 1909 |
Product Version | 1.5.7.svn | ||||
Summary | 0016344: Undo not working for insertChars() | ||||
Description | Undo not working for following function in storytext.cpp StoryText::insertChars(int pos, const QString& txt, bool applyNeighbourStyle) | ||||
Tags | undo | ||||
Patch | No | ||||
related to | 0011989 | confirmed | Undo/Redo does not record Glyph insertion |
|
There is no undo support inside StoryText. If you use StoryText functions and needs undo, you have to create proper undo actions yourself. |
|
What else I can use to insert text at cursor position in text frame? |
|
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. |
|
Any similarities to 0011989 |
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 |