calvaryftl
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2012
01:09 PM
textScreen and line breaks
What is the proper way to indicate new paragraphs in the textScreen? I am bringing in the text via json, and currently have \\n, but that shows on screen as \n. I'm sure it's a simple answer, I just can't find it anywhere....
Kenny
Kenny
3 REPLIES 3

TheEndless
Channel Surfer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2012
01:13 PM
Re: textScreen and line breaks
Have you tried just a \n in the JSON instead of \\n? If that doesn't work (I suspect it will), you can replace the \n's with Chr(10)'s.
My Channels: http://roku.permanence.com - Twitter: @TheEndlessDev
Instant Watch Browser (NetflixIWB), Aquarium Screensaver (AQUARIUM), Clever Clocks Screensaver (CLEVERCLOCKS), iTunes Podcasts (ITPC), My Channels (MYCHANNELS)
Instant Watch Browser (NetflixIWB), Aquarium Screensaver (AQUARIUM), Clever Clocks Screensaver (CLEVERCLOCKS), iTunes Podcasts (ITPC), My Channels (MYCHANNELS)
calvaryftl
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2012
01:25 PM
Re: textScreen and line breaks
Ah... will try that. I read somewhere that it needed to be escaped in json with the double slash....
calvaryftl
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2012
01:26 PM
Re: textScreen and line breaks
That did it. So much for believing everything you read online.
Thank you!

Thank you!