diff options
Diffstat (limited to 'org.eclipse.jface.text/src/org/eclipse/jface')
5 files changed, 21 insertions, 19 deletions
diff --git a/org.eclipse.jface.text/src/org/eclipse/jface/text/TextAttribute.java b/org.eclipse.jface.text/src/org/eclipse/jface/text/TextAttribute.java index c11c93beebf..bff933aaed1 100644 --- a/org.eclipse.jface.text/src/org/eclipse/jface/text/TextAttribute.java +++ b/org.eclipse.jface.text/src/org/eclipse/jface/text/TextAttribute.java @@ -28,15 +28,15 @@ import org.eclipse.swt.graphics.Font; public class TextAttribute { /** - * Text attribute for strikethrough style. - * (value <code>1 << 29</code>). + * Text attribute for strikethrough style. (value <code>1 << 29</code>). + * * @since 3.1 */ public static final int STRIKETHROUGH= 1 << 29; /** - * Text attribute for underline style. - * (value <code>1 << 30</code>) + * Text attribute for underline style. (value <code>1 << 30</code>) + * * @since 3.1 */ public static final int UNDERLINE= 1 << 30; diff --git a/org.eclipse.jface.text/src/org/eclipse/jface/text/TextViewer.java b/org.eclipse.jface.text/src/org/eclipse/jface/text/TextViewer.java index b72276c23af..75feb94457f 100644 --- a/org.eclipse.jface.text/src/org/eclipse/jface/text/TextViewer.java +++ b/org.eclipse.jface.text/src/org/eclipse/jface/text/TextViewer.java @@ -1558,7 +1558,8 @@ public class TextViewer extends Viewer implements protected Map<String, List<IAutoEditStrategy>> fAutoIndentStrategies; /** The text viewer's text hovers */ protected Map<TextHoverKey, ITextHover> fTextHovers; - /** All registered view port listeners> */ + + /** All registered view port listeners */ protected List<IViewportListener> fViewportListeners; /** The last visible vertical position of the top line */ protected int fLastTopPixel; @@ -3224,14 +3225,13 @@ public class TextViewer extends Viewer implements } /** - * Returns the region covered by the given start and end offset. - * The result is relative to the upper left corner of the widget - * client area. + * Returns the region covered by the given start and end offset. The result is relative to the + * upper left corner of the widget client area. * - * @param start offset relative to the start of this viewer's view port - * 0 <= offset <= getCharCount() - * @param end offset relative to the start of this viewer's view port - * 0 <= offset <= getCharCount() + * @param start offset relative to the start of this viewer's view port 0 <= offset <= + * getCharCount() + * @param end offset relative to the start of this viewer's view port 0 <= offset <= + * getCharCount() * @return the region covered by start and end offset */ final protected IRegion getExtent(int start, int end) { diff --git a/org.eclipse.jface.text/src/org/eclipse/jface/text/source/ICharacterPairMatcherExtension.java b/org.eclipse.jface.text/src/org/eclipse/jface/text/source/ICharacterPairMatcherExtension.java index 34a8abe868b..b60649848a9 100644 --- a/org.eclipse.jface.text/src/org/eclipse/jface/text/source/ICharacterPairMatcherExtension.java +++ b/org.eclipse.jface.text/src/org/eclipse/jface/text/source/ICharacterPairMatcherExtension.java @@ -67,7 +67,8 @@ public interface ICharacterPairMatcherExtension { * * <p> * Clients can use this method to handle characters which may have special meaning in some - * situations. E.g. in Java, '<' is used as an angular bracket and as well as less-than operator. + * situations. E.g. in Java, '<' is used as an angular bracket and as well as less-than + * operator. * </p> * * @param ch the character diff --git a/org.eclipse.jface.text/src/org/eclipse/jface/text/source/LineChangeHover.java b/org.eclipse.jface.text/src/org/eclipse/jface/text/source/LineChangeHover.java index 7108f06a05d..780929a4492 100644 --- a/org.eclipse.jface.text/src/org/eclipse/jface/text/source/LineChangeHover.java +++ b/org.eclipse.jface.text/src/org/eclipse/jface/text/source/LineChangeHover.java @@ -101,15 +101,16 @@ public class LineChangeHover implements IAnnotationHover, IAnnotationHoverExtens } /** - * Takes a list of <code>ILineDiffInfo</code>s and computes a hover of at most <code>maxLines</code>. - * Added lines are prefixed with a <code>'+'</code>, changed lines with <code>'>'</code> and - * deleted lines with <code>'-'</code>. - * <p>Deleted and added lines can even each other out, so that a number of deleted lines get + * Takes a list of <code>ILineDiffInfo</code>s and computes a hover of at most + * <code>maxLines</code>. Added lines are prefixed with a <code>'+'</code>, changed lines with + * <code>'>'</code> and deleted lines with <code>'-'</code>. + * <p> + * Deleted and added lines can even each other out, so that a number of deleted lines get * displayed where - in the current document - the added lines are. * * @param diffInfos a <code>List</code> of <code>ILineDiffInfo</code> * @param maxLines the maximum number of lines. Note that adding up all annotations might give - * more than that due to deleted lines. + * more than that due to deleted lines. * @return a <code>String</code> suitable for hover display */ protected String decorateText(List<? extends ILineDiffInfo> diffInfos, int maxLines) { diff --git a/org.eclipse.jface.text/src/org/eclipse/jface/text/templates/persistence/package.html b/org.eclipse.jface.text/src/org/eclipse/jface/text/templates/persistence/package.html index 79efa958651..7f5e717732e 100644 --- a/org.eclipse.jface.text/src/org/eclipse/jface/text/templates/persistence/package.html +++ b/org.eclipse.jface.text/src/org/eclipse/jface/text/templates/persistence/package.html @@ -12,7 +12,7 @@ Provides persistence support for templates. <h3>Packages</h3> <ul> - <li><code>org.eclipse.jface.text.templates<</code></li> + <li><code>org.eclipse.jface.text.templates</code></li> <li><code>org.eclipse.ui.workbench.texteditor.templates</code></li> <li><code>org.eclipse.ui.editors.templates</code></li> </ul> |