Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[eclipse-dev] Welcome Editor & Text Wrapping


The Welcome Editor now supports wrapping of text (builds > 20020927).  To use the feature, you must change your welcome.xml as follows:

1. specify new attribute format="wrap" for the welcomePage tag
2. indicate the portions of text within intro and item tags that should be wrapped by using <p> tags.  Line breaks within text that is between <p> tags will be treated as "soft" (i.e., wrapped).

Example:

<?xml version="1.0" encoding="UTF-8" ?>
<welcomePage
   title="Eclipse Platform"
   format="wrap">
<intro><p>This page will help familiarize you with the Eclipse Workbench.
To get started, read the sections below and click on the related
links.</p></intro>
<item><b>Perspectives, views and editors </b>
<p>A window contains one or more perspectives. A perspective consists of views
(e.g. Navigator)
and editors for working with your resources.</p>
</welcomePage>


See [Bug 5449] for more info.

Back to the top