Re: How to move #tags up to line above and sort doc by tags?

2021-08-19 Thread David J
Hi Fletcher and Chris. I tried both your methods and they both worked for placing the tags. Then I used the pattern to sort lines and that worked as well. That is just wild and awesome! I'd have sat here a year sorting that out myself. Thank you both. On Thursday, August 19, 2021 at 2:31:01

Re: How to move #tags up to line above and sort doc by tags?

2021-08-19 Thread Christopher Stone
On Aug 19, 2021, at 12:20, David J wrote: > I have a long text that I tagged, I'd like to move those tags up to the end > of the last line they are under: Hey David, I'm thinking something like this: Find: \s+((?:#\w+\h*)+) Replace: “ \1” ** Without the quotes. -- Best Regards, Chris

Re: Use grep replacements in a text factory?

2021-08-19 Thread Patrick Woolsey
On 8/19/21 at 4:24 PM, thepo...@gmail.com (ThePorgie) wrote: Yeah, I'll give you the option in the Text Factory of "Replace All" is a bit odd rather than just something like "Find & Replace". For completeness :-) that's because the task performed by a text factory 'Replace All' action is

Re: Use grep replacements in a text factory?

2021-08-19 Thread Rich Siegel
On 19 Aug 2021, at 15:18, mwra wrote: I'm currently re-using grep find/replace via the Find dialog because I can't find a way to save and sequentially apply a number of find/replace tasks (e.g. 4 or 5 discrete tasks) to a file. It feels like a Text Factory is the place to do this but it's

Re: Use grep replacements in a text factory?

2021-08-19 Thread ThePorgie
Yeah, I'll give you the option in the Text Factory of "Replace All" is a bit odd rather than just something like "Find & Replace". As for the rest. I have a few text factories that don't rely on any saved search pattern other than the string used in the text factory itself. The only time I

Use grep replacements in a text factory?

2021-08-19 Thread mwra
I'm currently re-using grep find/replace via the Find dialog because I can't find a way to save and sequentially apply a number of find/replace tasks (e.g. 4 or 5 discrete tasks) to a file. It feels like a Text Factory is the place to do this but it's not to clear. It looks like the rather

Re: How to format this text so it expands and fits page width?

2021-08-19 Thread David J
Oops, apparently learning Google groups too and sent a response to Rich private. "Better to keep this on the group. :-) Once it's unwrapped you can turn on Soft Wrap, or use Hard Wrap to reflow it to a specific width." This worked, thanks! On Thursday, August 19, 2021 at 10:18:00 AM UTC-7

Re: How to move #tags up to line above and sort doc by tags?

2021-08-19 Thread Fletcher Sandbeck
If the tags always start with hash marks then you can find "\s+#" and replace with " #". Basically you're just replacing whatever white space appears before each # with a single space. For sorting you can look at Sort Lines... on the Edit menu. Sort with a pattern like "#.+" with Entire Match

How to move #tags up to line above and sort doc by tags?

2021-08-19 Thread David J
I have a long text that I tagged, I'd like to move those tags up to the end of the last line they are under: *Original:* "What another would have done as well as you, do not do it. What another would have said as well as you, do not say it; what another would have written as well, do not write

Re: How to format this text so it expands and fits page width?

2021-08-19 Thread Rich Siegel
On 19 Aug 2021, at 13:16, David J wrote: > Hello, > > I've got a bunch of files that were cleaned up so they are just text. The > text looks fine, except I can't for the life of me figure out how to get it > to fill up horizontal space so I can read them like a pdf/document. I've > played around

How to format this text so it expands and fits page width?

2021-08-19 Thread David J
Hello, I've got a bunch of files that were cleaned up so they are just text. The text looks fine, except I can't for the life of me figure out how to get it to fill up horizontal space so I can read them like a pdf/document. I've played around with hard/soft wrap options for hours and the