View Issue Details

IDProjectCategoryView StatusLast Update
0010977ScribusStory Editor / Text Framespublic2016-04-14 14:30
Reportercezaryece Assigned To 
PrioritynormalSeveritytweakReproducibilityN/A
Status newResolutionopen 
Product Version1.5.0svn 
Summary0010977: [PROPOSAL] change in StoryText for performance and possibility of selection across multiple frames
DescriptionThere is few requests for make possible to select text across linked frames.

For now trouble is that each text frame has its own itemText and only chars list ScText_Shared * d is shared by all instances of frames itemText fields.

My proposal is to make one itemText for one story shared by all linked frames.
In that design variables int firstFrameItem, lastFrameItem (with methods associated with them) should be moved to PageItem (or even PageItem_TextFrame).

Some methods will need some refactoring.
But as advantage we will get simply possibility for make and handling text selections across all story text.

Another benefit may be in fact that layouting whole text (for example in case when user change some style attributes for whole text chain, what is quite often) can be done in one loop for whole itemText (only availableRegion should be calculated for all frames of text chain).
After changes for selected text layouting should start at line where selection start. Each new layouted line can be compared with old line and if they are equal layouting can stop as change in text does not change furthers lines. I think it should give big speed-up for editing very long text stories (books).
If in addition Scribus will be able to stop layouting text if next portion of it is not visible in canvas (page is not in canvas?) then we will have solved problem with handling long documents I guess.
Tagslinked frames
Patch

Activities

JLuc

2012-08-04 07:25

developer   ~0028750

yes cezariece, this change would be one of the "basic most important" improvement (or bug correction) of the 1.6.
According to previous talks on irc, your description fits with the facts and your plans are the right attitude toward this problem.

Issue History

Date Modified Username Field Change
2012-07-31 08:16 cezaryece New Issue
2012-08-04 07:25 JLuc Note Added: 0028750
2015-09-17 20:08 Kunda Category Story Editor / Text Frames => Story Ed/Txt Frames
2015-09-17 20:12 Kunda Category Story Ed/Txt Frames => Story Editor / Text Frames
2016-04-14 14:30 Kunda Tag Attached: linked frames