comparison dwtx/jface/internal/text/revisions/Hunk.d @ 146:75302ef3f92f

final
author Frank Benoit <benoit@tionex.de>
date Sun, 24 Aug 2008 22:34:04 +0200
parents b6bad70d540a
children 3678e4f1a766
comparison
equal deleted inserted replaced
145:02cd5f1224d3 146:75302ef3f92f
35 /** 35 /**
36 * The line at which the hunk starts in the current document. Must be in 36 * The line at which the hunk starts in the current document. Must be in
37 * <code>[0, numberOfLines]</code> &ndash; note the inclusive end; there may be a hunk with 37 * <code>[0, numberOfLines]</code> &ndash; note the inclusive end; there may be a hunk with
38 * <code>line is numberOfLines</code> to describe deleted lines at then end of the document. 38 * <code>line is numberOfLines</code> to describe deleted lines at then end of the document.
39 */ 39 */
40 public final int line; 40 public const int line;
41 /** 41 /**
42 * The difference in lines compared to the corresponding line range in the original. Positive 42 * The difference in lines compared to the corresponding line range in the original. Positive
43 * for added lines, negative for deleted lines. 43 * for added lines, negative for deleted lines.
44 */ 44 */
45 public final int delta; 45 public const int delta;
46 /** The number of changed lines in this hunk, must be &gt;= 0. */ 46 /** The number of changed lines in this hunk, must be &gt;= 0. */
47 public final int changed; 47 public const int changed;
48 48
49 /** 49 /**
50 * Creates a new hunk. 50 * Creates a new hunk.
51 * 51 *
52 * @param line the line at which the hunk starts, must be &gt;= 0 52 * @param line the line at which the hunk starts, must be &gt;= 0