23494Re: [Clip] How to make the clip?
- Dec 8, 2012Hi,
Thank You. This is what I want. Very good job:)
--- In email@example.com, Axel Berger <Axel-Berger@...> wrote:
> puusto13 wrote:
> > Can somebody help me and make me the clip.
> This is not elegant and cobbled together from stuff in my clipbar. You
> should have set the line length in the editor to your preferred size
> before running it.
> Split lines gets rid of the space at the end of lines not ending
> paragraphs, which is usually the opposite of what I want. The next
> commands rectify it. The blank lines are needed to mark the difference
> between paragraph- and line-ends and can be got rid of in the end.
> ^!Replace "^(\d+)\. " >> "\n$1\. " WRASTI
> ^!Replace "^Psalmi (\d+)" >> "\nPsalmi $1" WRASTI
> ^!Select ALL
> ^!Menu Modify/Lines/Join Lines
> ^!Menu Modify/Lines/Split Lines
> ^!Replace "^P" >> " ^P" HASTI
> ^!Replace " ^P ^P" >> "^P^P" HASTI
> ^!Replace " +\R\R" >> "\n\n" HRASTI
> ^!Replace "^P^P" >> "^P" HASTI
> There are lots of far more elegant alternatives e.g. using ^$StrSplit()$
- << Previous post in topic Next post in topic >>