View Full Version : $\n Code
21st May 2001, 07:59
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.
21st May 2001, 08:46
$\n is meant for something like:
MessageBox MB_OK "top line$\nbottom line"
21st May 2001, 09:00
That's a pity...
...might there be a feature in the future to add newlines to static text on the installer form?
21st May 2001, 09:14
what do you mean?
21st May 2001, 09:26
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.
21st May 2001, 09:37
i just tested it with
ComponentText test #13 test
it seems as there is only one line allowed
21st May 2001, 09:39
...could this please maybe become a feature?
21st May 2001, 09:44
LOL .. dunno, i don't have anything to do with the nsis developement.
i am just a user :)
21st May 2001, 09:49
Oops, forgot to turn my head to Justin... :)
30th May 2001, 09:07
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...
30th May 2001, 10:13
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.
vBulletin® v3.8.6, Copyright ©2000-2013, Jelsoft Enterprises Ltd.