-
September 22nd, 2009, 20:17 #1
Problems with bold / italic / underlined text
If I enter text into a story page the sentences break across lines fine, if I then apply formatting to some words, the words sometimes split across lines. Is this a known bug? Is there a fix?
Phil
Previously: MurghBpurn
-
September 23rd, 2009, 01:44 #2
- Join Date
- Jun 2008
- Posts
- 768
I posted it a while back. No responses. Such is the blackhole of formattedtext.
-
October 1st, 2009, 09:24 #3
Lesser Deity
- Join Date
- Mar 2006
- Location
- Arkansas
- Posts
- 7,400
Italic text seems the worst so I almost never use it. I suspect FG doesn't take properly take into account the extra size of non standard text or has an error in the calculation.
-
August 17th, 2010, 23:28 #4
Supreme Deity
- Join Date
- Mar 2007
- Posts
- 20,563
MurghBpurn pointed out this old post which was similar to something he found in v2.7.1. If this is still an issue, please let me know; since I haven't been able to re-create with the new version.
Thanks,
JPG
-
August 17th, 2010, 23:39 #5
See attached examples, lots more if you need them!
Previously: MurghBpurn
-
August 18th, 2010, 02:30 #6
Supreme Deity
- Join Date
- Mar 2007
- Posts
- 20,563
Perfect example. It actually gave me a good idea of where to look.
Essentially, for word wrapping, the code attempts to fit whatever it can into the space allowed (in case of very narrow stringfields). That code is also used for each formatted block in the formattedtextcontrols. So, it will always break mid-word if the box ends in the first word.
Now, I just need to figure out how to change that behavior.
Also, working on other fixes for the formattedtextcontrol for 2.7.2. I'll probably wait a couple weeks to put in the changes, since my test server is tied up with 2.6.5 in case of emergencies.
In addition to the backspace cursor location you reported, I'm also addressing lost formatting when deleting between paragraphs or splitting a paragraph with the Enter key. Also, I'll be adding CTRL+A (Select All) and CTRL+X (Cut) functionality.
Cheers,
JPG
-
August 18th, 2010, 07:53 #7
Great stuff!
Previously: MurghBpurn
-
August 18th, 2010, 09:47 #8
- Join Date
- Jun 2010
- Location
- Vancouver, BC
- Posts
- 382
Thank the Maker!
Originally Posted by moon_wizard
-
August 18th, 2010, 20:00 #9
Supreme Deity
- Join Date
- Mar 2007
- Posts
- 20,563
OK, I think I've got a fix for the next release to improve wrapping in both stringcontrols and formattedtextcontrols. Also, I added CTRL+A to stringcontrols as well.
Make sure to test 2.7.2 heavily for me on these items when I post it out in a couple weeks.
Thanks,
JPG
-
August 18th, 2010, 21:39 #10Originally Posted by moon_wizard
Previously: MurghBpurn
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks