You are here: PSPad forum > English discussion forum > crlf in assembly

crlf in assembly

#1 crlf in assembly

Posted by: jpsdjs | Date: 10/04/2017 17:36 | IP: IP Logged

I can no longer use Notepad++. It had a nice feature that helped make the
source file shorter. You could move the crlf at will.
How can I do this in pspad?
Thanks for pspad and this site.

Options: Reply | Quote | Up ^


#2 Re: crlf in assembly

Posted by: pspad | Date: 10/04/2017 20:08 | IP: IP Logged

Hello

What do you mean "move the crlf at will"?
Can you explain it more please?

Options: Reply | Quote | Up ^


#3 Re: crlf in assembly

Posted by: jpsdjs | Date: 10/05/2017 11:35 | IP: IP Logged

In Notepad++ using an assembler language it was possible to shorten
the length of the program by making visible the "CRLF" at the end
of each line. In other words if the line was 40 bytes long and the
crlf was sitting at position 72 then the crlf could be moved to
position 41 making the program 30 bytes shorter.
Notepad++ also gave the option to turn this option
on or off.
If you need more information about this I will try to comply.
Thanks for answering.

Edited 1 time(s). Last edit at 10/05/2017 11:39 by jpsdjs.

Options: Reply | Quote | Up ^


#4 Re: crlf in assembly

Posted by: pspad | Date: 10/05/2017 11:55 | IP: IP Logged

To see white chars, use paragraph toolbar button (same as e.g. in the Word) or menu View / Special chars

To remove additional spaces from the begin/middle/end of line, use function from the menu Edit / Line manipulation / Remove redundant spaces
For faster access, you can assign shortcut for this function in the program settings / Key Map. Personally I use Shift+Ctrl+Q

Options: Reply | Quote | Up ^


#5 Re: crlf in assembly

Posted by: jpsdjs | Date: 10/05/2017 20:48 | IP: IP Logged

I thank you very much for helping.
There are so many buttons on the editor and I am
very new at using the editor. I was unable to follow your
instructions.
Would you be so kind as to state them in a different manner?

Options: Reply | Quote | Up ^


#6 Re: crlf in assembly

Posted by: pspad | Date: 10/05/2017 21:12 | IP: IP Logged

jpsdjs:
I thank you very much for helping.
There are so many buttons on the editor and I am
very new at using the editor. I was unable to follow your
instructions.
Would you be so kind as to state them in a different manner?

Hello

1. You want to see CrLf.
Go to menu View and click on the Show hidden chars

2. You want to remove redundant spaces on the end of lines
Go to menu Edit / Line manipulation and click on the Remove redundant spaces

I am sorry, but I don't know how to write it better way.

Options: Reply | Quote | Up ^


#7 Re: crlf in assembly

Posted by: jpsdjs | Date: 10/06/2017 15:27 | IP: IP Logged

Thanks very much for helping.
It's not the same but the special character you have used
means the same thing and it works for me.

Options: Reply | Quote | Up ^


#8 Re: crlf in assembly

Posted by: jpsdjs | Date: 10/06/2017 19:40 | IP: IP Logged

It would be nice if I could get rid of the "."s between each word.
But the end if line problem is solved.

Couldn't find out how to edit the previous message.

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