You are here: PSPad forum > English discussion forum > Format in a single line

Format in a single line

#1 Format in a single line

Posted by: Esgrimidor | Date: 08/19/2017 13:41 | IP: IP Logged

I am using a quotes program that presents quotes or citations in a desktop window.
the quotes or phrases are read from a txt file where each quote is a line.

I want to use to put jokes. Some jokes are conversations in several lines.

I am using a \ to indicate the moment of carriage return o change of line.

[img=http://imagizer.imageshack.com/img922/1540/A7xM6f.png]http://imagizer.imageshack.com/img922/1540/A7xM6f.png[/img]

The Window Size in this program configurated is :
Max. Width 640 , Max. Height 480

How can i create in a single line the effect of carriage return ?

Best Regards

--
Nice program indeed

Options: Reply | Quote | Up ^


#2 Re: Format in a single line

Posted by: Andreas | Date: 08/21/2017 11:24 | IP: IP Logged

I think you have to read the manual of your quotes programm to figure out how to setup multiple lines in one phrase.

Options: Reply | Quote | Up ^


#3 Re: Format in a single line

Posted by: Esgrimidor | Date: 08/21/2017 17:21 | IP: IP Logged

Ejem. I think I know what is my next reading.
I will comment if I am not able to find.

Best Regards

--
Nice program indeed

Options: Reply | Quote | Up ^


#4 Re: Format in a single line

Posted by: Esgrimidor | Date: 08/21/2017 17:34 | IP: IP Logged

if you want to have a linebreak use \n instead.

You're a charm. Best Regards. Thanks a lot !!!!! smiling smiley Wonderful

--
Nice program indeed

Options: Reply | Quote | Up ^


#5 Re: Format in a single line

Posted by: Esgrimidor | Date: 08/21/2017 18:51 | IP: IP Logged

How can with pspad convert this string in several lines in one ?

LARRY is in Room 232 at the Hospital
\n
\n
\nOkay, you are asking who in the hell is 'Larry'.
\n
\nLarry gets home late one night and, Linda, his wife says, 'Where in the hell have you been?'
\n
\nLarry replies, 'I was out getting a tattoo.' 'A tattoo?' she frowned.
\n'What kind of tattoo did you get?'
\n
\n'I got a hundred dollar bill on my privates,' he said proudly.
\n
\n'What the hell were you thinking?, she said, shaking her head in disgust. 'Why on earth would an accountant get a hundred dollar bill tattooed on his privates?'
\n
\nWell, one, I like to watch my money grow. Two, once in a while I like to play with my money. Three, I like how money feels in my hand.
\n
\nAnd, lastly, instead of you going out shopping, you can stay right here at home and blow a hundred bucks anytime you want.'
\n
\nLarry is recovering in room 232 at the Hospital.

Best Regards

--
Nice program indeed

Options: Reply | Quote | Up ^


#6 Re: Format in a single line

Posted by: Andreas | Date: 08/21/2017 20:01 | IP: IP Logged

Make a oneliner out of multiple lines?

Use Edit-"lines manipulation"-"join lines".

In Settings there is on option so you can use space as a separator.

Options: Reply | Quote | Up ^


#7 Re: Format in a single line

Posted by: Esgrimidor | Date: 08/21/2017 20:41 | IP: IP Logged

Running to try.

This is wonderful !!!!!!!!!!

--
Nice program indeed

Options: Reply | Quote | Up ^


#8 Re: Format in a single line

Posted by: Esgrimidor | Date: 08/22/2017 18:09 | IP: IP Logged

I am having a strange problem for me with the formatting of the text.

When trying to format a converted image in ASCII text and insert in the text the code in the beginning of each line it goes near the image.

[img=http://imagizer.imageshack.com/img923/9369/gIC3ah.png]the code \n I don't get at the beginning of the line[/img]

--
Nice program indeed

Options: Reply | Quote | Up ^


#9 Re: Format in a single line

Posted by: pspad | Date: 08/22/2017 18:41 | IP: IP Logged

Esgrimidor:
I am having a strange problem for me with the formatting of the text.

When trying to format a converted image in ASCII text and insert in the text the code in the beginning of each line it goes near the image.

[img=http://imagizer.imageshack.com/img923/9369/gIC3ah.png]the code \n I don't get at the beginning of the line[/img]

PSPad did exactly what you toldd to do. You want to insert \n on the begin of each line (see the dialog) and PSPad did it. What exactly do you want to do?
If you want to insert it on the begin of line but not on the start of text on each line, choose option "Antes del carácter"
For my opinion is better to insert it on the line end than line begin

Options: Reply | Quote | Up ^


#10 Re: Format in a single line

Posted by: Esgrimidor | Date: 08/23/2017 07:01 | IP: IP Logged

Understood.

I have applied before character 0 with good results. The important thing about pspad here is its flexibility.

Best Regards

--
Nice program indeed

Options: Reply | Quote | Up ^






Editor PSPad - freeware editor, © 2001 - 2017 Jan Fiala
Hosted by Webhosting TOJEONO.CZ, design by WebDesign PAY & SOFT, code Petr Dvořák