shift-enter is a line feed. It works in other programs like Word etc.
Just tested, does not work in FG though. The xml shows all <p> & </p>
Printable View
Now that I think about this, it was a win-win or no-win-no-win situation...
If it had worked, I could springboard an extension off of the functionality. But it doesn’t work, so there’s even more need for the extension. :)
(EDIT: oops. And btw, LordEntrails thanks for checking!)
I have become really tired of closing down Fantasy Grounds so that I can hand enter the & #13; as necessary to get the line breaks in the chat paragraph text, so I started looking at writing "the small extension".
It is my opinion that this can not be done. The <formattedtextcontrol> has almost all of its code embedded as builtin, unexposed properties and functions.
So I have come up with a work-around of sorts. As I am copying text from the source document (.pdf file) and pasting it into Story windows in Fantasy Grounds, I also paste extended ASCII symbols for "new paragraph" into the chat frames, as desired. Then when it is convenient (and there are several "new paragraph"s embedded in the Story) I simply do one global replace in the db.xml file.
Here's a screen shot:
The left panel is the .pdf. The center panel is a Story dialog with the copy-and-pasted text, in a chat frame, and the inserted "new paragraph" ASCII code. The right panel shows the results after the global substitution.
Attachment 27258
[EDIT] Oops. The really astute reader will recognize that I actually put the ASCII code in the wrong place. Aargh!
For the record (in case anyone else stumbles upon this as I did), entering a backslash ("\") followed by "n" will create a paragraph break in the text display without actually starting what FG thinks of as a paragraph, so a chat text box will continue as intended.
Entering it where? In the Story dialog? When editing the db.xml file? I tried both without success.
Attachment 34321
I am currently doing this right now in some modules I am inputting into the system. I found that using & # 1 3 ; (remove all of the spaces in there)
is the way that make it work. I do that as I am doing the input itself (so instead of a carriage return in the chat box for the next paragraph, I put & # 1 3 ; (remove all of the spaces in there)
and then make it all a chat box). When I save the module, exit FG and reopen the module in FG; now that chat box is 1 and show the carriage return there.
editing because the coding changing to carraige returns :)
You can also use the & # x D; or & # 13 ; sequence with & # 149 ; to get a bullet point list in the Chat paragraphs.
Attachment 34329