Archive: $\n Code


There's talk in the documentation about using $\n to place a newline.

I have tried $n, \n and $\n for ComponentText but they simply show up. Any help would be appreciated.


hi,

$\n is meant for something like:

MessageBox MB_OK "top line$\nbottom line"

cu yzo


That's a pity...

...might there be a feature in the future to add newlines to static text on the installer form?


hi,

what do you mean?

cu yzo


I was thinking something like this:

ComponentText "You are about to install Program.$\n$\nPlease select your components:"

where $\n would be converted to newline.


hi,

i just tested it with

ComponentText test #13 test

it seems as there is only one line allowed

cu yzo


Damn...

...could this please maybe become a feature?


hi,

LOL .. dunno, i don't have anything to do with the nsis developement.

i am just a user :)

cu yzo


Oops, forgot to turn my head to Justin... :)

Justin?


Carriage return and newline characters
I think Nullsoft must make it so that the $\r and $\n can be used everywhere to define \r and \n (newline/linefeed and carriage return). Yeah, thats right! CR LF forever...


Well, I just tried $\r$\n, \r\n, and $r$n. None of them worked for the wizard dialog...so I guess it's just not meant to be...

Thanks anyway, saivert!

I really hope this is added sometime.