View Issue Details

IDProjectCategoryView StatusLast Update
0001752ScribusStory Editor / Text Framespublic2022-01-29 22:33
Reporterjo-hannes Assigned To 
PrioritynormalSeveritymajorReproducibilityalways
Status assignedResolutionopen 
Target Version1.6 milestone 
Summary0001752: Use selected text in SE search/replace as the basis for the search field
Descriptionif any text is selected in the story editor and the function
search/replace is called, take that selected text as the basis for the search
field
Tagssearch, story editor, text frames, usability, workflow
PatchNo

Relationships

related to 0002332 new Add regular expression capability to Search/Replace 
related to 0005189 confirmed [OBSOLETE] Story editor and Search/replace should be separated 
child of 0012755 new Metabug: Search & Replace (1.5.x svn) 

Activities

milan

2005-03-05 15:29

reporter   ~0003878

I think searches and substitutions should allow the user to choose if he wants them to be global, i.e. they affect all the text frames of the document or of the page.
This is really useful to replace special characters like spaces next to quotes to non-break-spaces, or oe to œ. This is not so complex to implement, do it ? ;-)

ringerc

2005-03-05 21:07

reporter   ~0003879

milan: While global S&R would be useful, you can do a lot of that at text import time using the get text plugin. You can even use regular expressions for more complex replacement tasks if you need to.

ringerc

2005-05-25 05:03

reporter   ~0004770

Re the use of text selection, I agree that'd be very useful. So would "search only this frame" vs "search all frames" when not in story editor. It would be very important to have a GUI control for:

Search:
   - The current selection
   - The current frame
   - The whole document

(with "the current selection" on by default if there is a selection, and greyed out if there is not).

ringerc

2005-05-25 08:52

reporter   ~0004771

Hmm... I think it might be possible to do this, and global S&R, in Python.

lemmit

2006-02-21 13:57

reporter   ~0008847

Global S&R would make me happy. Sometimes you need to change something _after_ you have imported all texts. In my case I needed to change the model number of a device. Considering the document was a 100-page manual of the same device, there were lots of instances. Using a text editor does the trick, but is somewhat cumbersome. I wouldn't mind if global S&R was a plugin, script or wild magic, as long as it is there :)

louisdesjardins

2006-02-21 14:37

developer   ~0008848

Agree we need a better S/R capability.

To [Current frame] option we could add [Current linked frames] to Craig Ringer's options.

Also, a Super Search and Replace would allow to look for many strings "at once". Or a table of automatic substitution, à la Short Words. Readily editable, handy.

cbradney

2006-02-21 15:03

administrator   ~0008851

This will be helped with the new text system in 1.3.4+ that will store the text for a text chain in one data structure rather than per frame.

axelb

2006-08-31 20:10

reporter   ~0012387

Last edited: 2007-01-18 10:28

And, I might add, if I search for a phrase in the text and find it, then close the search box, I will be brought back to the very beginning of that text, not even is the found text marked (as I think it should be). I have *almost* as much difficulty finding the occurence now as I had before the search :-(

IMHO: The text ought to be editable when the search box is open also. And the program ought to remember my position when I select something somewhere.

jegHegy

2006-09-01 01:03

reporter   ~0012391

addition: S&R doesn't find non-printing characters (spaces, tabs, new lines, etc).

axelb

2007-01-18 10:29

reporter   ~0014856

Last edited: 2015-09-25 18:56

See also 0005189

Kunda

2015-09-25 18:56

updater   ~0036375

Reworded summary
lowered priority to normal since it's been open for years

Issue History

Date Modified Username Field Change
2005-03-03 06:32 jo-hannes New Issue
2005-03-05 15:29 milan Note Added: 0003878
2005-03-05 21:07 ringerc Note Added: 0003879
2005-05-25 05:03 ringerc Note Added: 0004770
2005-05-25 08:52 ringerc Note Added: 0004771
2005-06-15 11:51 ringerc Relationship added related to 0002097
2005-06-15 11:51 ringerc Status new => acknowledged
2005-06-15 11:52 ringerc Relationship deleted related to 0002097
2006-02-21 13:57 lemmit Note Added: 0008847
2006-02-21 14:37 louisdesjardins Note Added: 0008848
2006-02-21 15:03 cbradney Note Added: 0008851
2006-04-14 11:21 mhanski Relationship added related to 0002332
2006-08-31 20:10 axelb Note Added: 0012387
2006-08-31 20:13 axelb Note Edited: 0012387
2006-09-01 01:03 jegHegy Note Added: 0012391
2007-01-18 10:28 axelb Note Edited: 0012387
2007-01-18 10:29 axelb Note Added: 0014856
2012-01-06 08:45 StefanM Tag Attached: text frames
2012-01-06 08:46 StefanM Tag Attached: story editor
2012-01-06 08:47 StefanM Tag Attached: usability
2014-10-07 23:47 Kunda Relationship added child of 0012755
2014-11-06 19:29 Kunda Tag Attached: MABs
2014-12-24 16:45 JLuc Patch => No
2014-12-24 16:45 JLuc Priority normal => urgent
2014-12-24 16:45 JLuc Severity feature => major
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
2015-09-25 18:56 Kunda Note Added: 0036375
2015-09-25 18:56 Kunda Priority urgent => normal
2015-09-25 18:56 Kunda Summary search & replace improvement => Use selected text in SE search/replace as the basis for the search field
2015-09-25 18:56 Kunda Note Edited: 0014856
2015-12-10 08:59 JLuc Tag Detached: MABs
2015-12-10 15:52 Kunda Relationship added related to 0005189
2016-04-12 14:47 Kunda Tag Attached: workflow
2016-04-12 14:48 Kunda Tag Attached: search
2019-12-17 08:58 ale Assigned To => ale
2019-12-17 08:58 ale Status acknowledged => assigned
2019-12-17 08:58 ale Summary Use selected text in SE search/replace as the basis for the search field => Use selected text in SE search/replace as the basis for the search field
2022-01-29 21:42 cbradney Target Version => 1.6 milestone
2022-01-29 22:33 JLuc Assigned To ale =>