Community
Participate
Working Groups
20020402 Win2K I was trying to use the schema editor to create my extension point docs. I was trying to enter an example of the markup. If I enter "<example>" into the text widget the source page shows it as <.example>. (which is what I would have expected) .... BUT the builder writes it as <example> into the resulting htm l and the markup example does not show. Need to be able to distinguish when <> tags are entered as formatting information and when they are entered as text. Also, no matter how hard I tred to insert indentation into my example, when I save/ refresh it gets lost. In particulat, for examples, I'd like to be able to control the indentation.
To get what I wanted I had to manually enter the following completely unusable text: <code> <extension<br> id="packaged"<br> point="org.eclipse.update.core.featureTypes"><br> <br> <feature-factory<br> class="org.eclipse.update.internal.core.Feat urePackagedFactory"><br> </feature-factory><br> </extension><br> </code>
The other problem was that although the drop menu has cut/ copy/ paste actions, they were never enabled. I had to use win keyboard shortcuts (shift-insert, control-insert) to get the job done
Take a look in some of the *.mxsd files in 'schema/map' directory in PDE. You will see a 'trick' - the key is to use <pre></pre> tags.
Must fix cut/copy. Code sample is correctly handled for all text between <pre> and </pre> tags.
Copy/Paste fixed both in the main and Documentation pages.