Re: Best way to rewrap text?

2022-07-12 Thread Fletcher Sandbeck
There's a "Hard Wrap" command on the Text menu which can do this. I have it assigned to shortcut Command-\ which brings up the dialog and Command-Option-\ which applies using the last settings. I think these are the default shortcuts but I'm not sure. You can change the shortcut in the "Menus &

Re: Any Regex Gurus -

2022-07-12 Thread eu...@gmx.de
Try this: Search pattern: "\b(.*)(")(.*)\b“ Replace pattern: "\1\3“ This changes "good for me",yo“ to "good for me,yo“ And then: Search pattern: (\w),(\w) Replace pattern: „\1, \2“ To change "good for me,yo“ to "good for me, yo“ Hope I understood your need. Ulrich > Am 11.07.2022 um 21:

Re: Best way to rewrap text?

2022-07-12 Thread Ted Stresen-Reuter
Also, is there any way to get keep Hard Wrap from breaking URLs in markdown format? In other words, if I have a URL that exceeds 72 characters, is there any setting that will keep Hard Wrap from actually splitting the URL? TIA! On Tuesday, July 12, 2022 at 10:35:42 AM UTC+1 Ted Stresen-Reuter w

Best way to rewrap text?

2022-07-12 Thread Ted Stresen-Reuter
I'm working in Markdown files quite a bit lately and would like to "rewrap" blocks of text after editing some lines. Expressed in Given When Then: Given I've selected a paragraph of text When I (select a command or text factory or something) Then line breaks are removed AND Hard Wrap is applied t