diff options
author | Paul Pazderski | 2019-11-22 20:16:45 +0000 |
---|---|---|
committer | Paul Pazderski | 2019-11-22 21:06:44 +0000 |
commit | 567f9f6450ab192346285014c9286ad8cd4dff98 (patch) | |
tree | 42ba5939bff7cce3d900b3177d74237c7fbedab1 | |
parent | 90e85f0825c46d266a7cb45f9bb004b1d2d1c551 (diff) | |
download | eclipse.platform.swt-567f9f6450ab192346285014c9286ad8cd4dff98.tar.gz eclipse.platform.swt-567f9f6450ab192346285014c9286ad8cd4dff98.tar.xz eclipse.platform.swt-567f9f6450ab192346285014c9286ad8cd4dff98.zip |
Bug 548250 - Javadoc problems in swt
Change-Id: Idb4e52d69d72b50dddc90b805ffe7ec9dca7830c
Signed-off-by: Paul Pazderski <paul-eclipse@ppazderski.de>
4 files changed, 25 insertions, 23 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/CTabFolder.java b/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/CTabFolder.java index b9ef1e6233..63d9676f57 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/CTabFolder.java +++ b/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/CTabFolder.java @@ -136,12 +136,12 @@ public class CTabFolder extends Composite { * <p> * If there is not enough place for all tabs, tabs starting from the end of * the {@link #priority} array will be hidden first (independently from the - * {@link #mru} flag!) => the right most elements have the highest priority + * {@link #mru} flag!) => the right most elements have the highest priority * to be hidden. * <p> * If there is more place to show previously hidden tabs, tabs starting from * the beginning of the {@link #priority} array will be made visible first - * (independently from the {@link #mru} flag!) => the left most elements + * (independently from the {@link #mru} flag!) => the left most elements * have the highest priority to be shown. * <p> * The update strategy of the {@link #priority} array however depends on the diff --git a/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/DefaultContent.java b/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/DefaultContent.java index ada84d7b1f..bd3d0131a7 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/DefaultContent.java +++ b/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/DefaultContent.java @@ -37,7 +37,7 @@ class DefaultContent implements StyledTextContent { int replaceExpandExp = 1; // the expansion exponent, used to increase the lines array exponentially /** - * Creates a new DefaultContent and initializes it. A <code>StyledTextContent</> will always have + * Creates a new DefaultContent and initializes it. A <code>StyledTextContent</code> will always have * at least one empty line. */ DefaultContent() { @@ -759,12 +759,12 @@ public void removeTextChangeListener(TextChangeListener listener){ * lines that are going to be inserted and <code>replaceLineCount</code> is * the number of lines that are going to be deleted, based on the change * that occurs visually. For example: + * </p> * <ul> - * <li>(replaceText,newText) ==> (replaceLineCount,newLineCount) - * <li>("","\n") ==> (0,1) - * <li>("\n\n","a") ==> (2,0) + * <li>(replaceText,newText) ==> (replaceLineCount,newLineCount) + * <li>("","\n") ==> (0,1) + * <li>("\n\n","a") ==> (2,0) * </ul> - * </p> * * @param start start offset of text to replace * @param replaceLength start offset of text to replace diff --git a/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/MouseNavigator.java b/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/MouseNavigator.java index 1857d0f043..764ae80728 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/MouseNavigator.java +++ b/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/MouseNavigator.java @@ -18,9 +18,11 @@ import org.eclipse.swt.graphics.*; import org.eclipse.swt.widgets.*; /** - * This class add the following behaviour to <code>StyledText</code> widgets:<br/> + * This class add the following behaviour to <code>StyledText</code> widgets: + * <p> * When the user clicks on the wheel, a circle with arrows appears. When the user moves the mouse, - * the StyledText content is scrolled (on the right or on the left for horizontal movements, up or down for vertical movements).<br/> + * the StyledText content is scrolled (on the right or on the left for horizontal movements, up or down for vertical movements). + * </p> * * @since 3.110 */ diff --git a/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StyledText.java b/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StyledText.java index 71deecfe1b..61453a505e 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StyledText.java +++ b/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StyledText.java @@ -232,7 +232,7 @@ public class StyledText extends Canvas { * Creates an instance of <code>Printing</code>. * Copies the widget content and rendering data that needs * to be requested from listeners. - * </p> + * * @param parent StyledText widget to print. * @param printer printer device to print on. * @param printOptions print options @@ -263,7 +263,7 @@ public class StyledText extends Canvas { } /** * Caches all line data that needs to be requested from a listener. - * </p> + * * @param printerContent <code>StyledTextContent</code> to request * line data for. */ @@ -378,7 +378,7 @@ public class StyledText extends Canvas { } /** * Copies the text of the specified <code>StyledTextContent</code>. - * </p> + * * @param original the <code>StyledTextContent</code> to copy. */ StyledTextContent copyContent(StyledTextContent original) { @@ -1039,7 +1039,7 @@ public class StyledText extends Canvas { * partial lines, specify the start and length of the desired segment * during object creation. * <p> - * </b>NOTE:</b> <code>toString()</code> is guaranteed to return a valid string only after close() + * <b>NOTE:</b> <code>toString()</code> is guaranteed to return a valid string only after close() * has been called. * </p> */ @@ -1113,7 +1113,7 @@ public class StyledText extends Canvas { /** * Inserts the given string to the data at the specified offset. * <p> - * Do nothing if "offset" is < 0 or > getCharCount() + * Do nothing if "offset" is < 0 or > getCharCount() * </p> * * @param string text to insert @@ -3350,7 +3350,7 @@ void doSelectionLineUp() { * relative to the top line remains the same. The exception is the end * of the text where a full page scroll is not possible. In this case * the caret is moved after the last character. - * <p></p> + * </p><p> * Adjusts the selection according to the caret change. This can either add * to or subtract from the old selection, depending on the previous selection * direction. @@ -8144,8 +8144,8 @@ public void scroll(int destX, int destY, int x, int y, int width, int height, bo /** * Scrolls the widget horizontally. * - * @param pixels number of SWT logical points to scroll, > 0 = scroll left, - * < 0 scroll right + * @param pixels number of SWT logical points to scroll, > 0 = scroll left, + * < 0 scroll right * @param adjustScrollBar * true= the scroll thumb will be moved to reflect the new scroll offset. * false = the scroll thumb will not be moved @@ -8855,7 +8855,7 @@ void setCaretOffset(int offset, int alignment) { * @param start start index of the text * @param length length of text to place in clipboard * - * @exception SWTError, see Clipboard.setContents + * @exception SWTError * @see org.eclipse.swt.dnd.Clipboard#setContents */ void setClipboardContent(int start, int length, int clipboardType) throws SWTError { @@ -10008,9 +10008,9 @@ public void setSelection(int start, int end) { * the selection into view. * </p> * - * @param start offset of the first selected character, start >= 0 must be true. - * @param length number of characters to select, 0 <= start + length - * <= getCharCount() must be true. + * @param start offset of the first selected character, start >= 0 must be true. + * @param length number of characters to select, 0 <= start + length + * <= getCharCount() must be true. * A negative length places the caret at the selection start. * @param sendEvent a Selection event is sent when set to true and when * the selection is reset. @@ -10331,7 +10331,7 @@ void setStyleRanges(int start, int length, int[] ranges, StyleRange[] styles, bo * * @param referenceRanges former ranges, sorted by order and without overlapping, typically returned {@link #getRanges(int, int)} * @param referenceStyles - * @param newRanges former ranges, sorted by order and without overlappingz + * @param newRanges former ranges, sorted by order and without overlapping * @param newStyles * @return */ @@ -10503,7 +10503,7 @@ public void setTabs(int tabs) { * <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li> * </ul> * @exception IllegalArgumentException <ul> - * <li>ERROR_INVALID_ARGUMENT - if a tab stop is negavite or less than the previous stop in the list</li> + * <li>ERROR_INVALID_ARGUMENT - if a tab stop is negative or less than the previous stop in the list</li> * </ul> * * @see StyledText#getTabStops() |