Community
Participate
Eclipse IDE
Prior to 3.1, whitespace was recognized in infopops. It was removed for the new dynamic help view, but I'm not sure why. If there was not a compelling reason for doing this, then please return whitespace recognition back to the way it was. If it is not returned, those of us who implement dynamic help will have to rewrite many of our context descriptions (for example, most of my pre-3.1 descriptions contain whitespace formatting).
*** Bug 102836 has been marked as a duplicate of this bug. ***
Would 3.1.1 be good enough for you as a fix delivery vehicle?
Text from context help is wrapped in XML markup and passed directly to the FormText widget. This widget does not handle hard coded new lines because it performs white space normalization. An explicit <br/> is required to make it wrap at a particular point. The fix is simple and involves conversion of new line characters into <br/> element before passing the text to FormText widget. I will attach the patch. We will fix this for 3.1.1.
Created attachment 24997 [details] The fix for hardcoded new line characters in context help.
Speaking for myself only, I can live with 3.1.1 as a fix delivery vehicle. You have run this past a few others here - people who are responsible for much larger offerings. They should be the ones who decide if we can live with this until 3.1.1.
I will rebuild helpui.jar and attach it here to allow you to play with it and let us know if there are any side-effects of the fix.
Fix released into 3.2 and 3.1.1 builds.
Verified in eclipse-SDK-I20050726-1222-win32.zip - whitespace is now recognized.