Page 4 of 4 First ... 234
  1. #31
    LordEntrails's Avatar
    Join Date
    May 2015
    Location
    GMT -7
    Posts
    7,311
    Blog Entries
    9
    Quote Originally Posted by Minty23185Fresh View Post
    Shift Enter..
    I wasn’t aware of that. It might be true for paragraphs and I’m just late to the table.

    I hope it’s true for the paragraphs. Maybe I can springboard off that in the code to make it work the same way in chat frames.
    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>

    Current Projects: Ultimate Undermountain (NYDUM)
    Community Contributions: Gemstones, 5E Quick Ref Decal, Adventure Module Creation, Dungeon Trinkets
    DMsGuild Content: Balance Disturbed (Adventure), Dungeon Room Descriptions
    FG Product Reviews: Virtual Scribe Reviews

  2. #32
    Minty23185Fresh's Avatar
    Join Date
    Dec 2015
    Location
    NV, USA
    Posts
    624
    Blog Entries
    29
    Quote Originally Posted by LordEntrails View Post
    shift-enter... Just tested, does not work in FG...
    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!)
    Last edited by Minty23185Fresh; July 3rd, 2018 at 02:15.

  3. #33
    Minty23185Fresh's Avatar
    Join Date
    Dec 2015
    Location
    NV, USA
    Posts
    624
    Blog Entries
    29
    Quote Originally Posted by Minty23185Fresh View Post
    … so there’s even more need for the extension ...
    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.

  4. #34
    Minty23185Fresh's Avatar
    Join Date
    Dec 2015
    Location
    NV, USA
    Posts
    624
    Blog Entries
    29
    Quote Originally Posted by Minty23185Fresh View Post
    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...
    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.
    Untitled.png

    [EDIT] Oops. The really astute reader will recognize that I actually put the ASCII code in the wrong place. Aargh!
    Last edited by Minty23185Fresh; May 3rd, 2019 at 17:39.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Log in

Log in