Lines Matching defs:chunk

82     protected List chunk;
85 * Creates a chunk that doesn't copy the original text.
87 * @param count the size of the chunk.
96 * Creates a chunk and saves a copy the original chunk's text.
99 * @param count the size of the chunk.
104 chunk = slice(iseq, pos, count);
108 * Creates a chunk that will be displaced in the resulting text,
109 * and saves a copy the original chunk's text.
112 * @param count the size of the chunk.
113 * @param offset the position the chunk should have in the resulting text.
118 chunk = slice(iseq, pos, count);
122 * Creates a chunk and saves a copy the original chunk's text.
125 * @param count the size of the chunk.
130 chunk = slice(iseq, pos, count);
134 * Creates a chunk that will be displaced in the resulting text,
135 * and saves a copy the original chunk's text.
138 * @param count the size of the chunk.
139 * @param offset the position the chunk should have in the resulting text.
144 chunk = slice(iseq, pos, count);
148 * Returns the anchor position of the chunk.
157 * Returns the size of the chunk.
166 * Returns the index of the first line of the chunk.
174 * Returns the index of the last line of the chunk.
182 * Returns the <i>from</i> index of the chunk in RCS terms.
190 * Returns the <i>to</i> index of the chunk in RCS terms.
198 * Returns the text saved for this chunk.
201 public List chunk()
203 return chunk;
207 * Verifies that this chunk's saved text matches the corresponding
214 if (chunk == null)
224 if (!target.get(anchor + i).equals(chunk.get(i)))
233 * Delete this chunk from he given text.
245 * Add the text of this chunk to the target at the given position.
251 Iterator i = chunk.iterator();
259 * Provide a string image of the chunk using the an empty prefix and
268 * Provide a string image of the chunk using the given prefix and
276 if (chunk != null)
278 Iterator i = chunk.iterator();
321 * Provide a string representation of the numeric range of this chunk.
331 * Provide a string representation of the numeric range of this chunk.
340 * Provide a string representation of the numeric range of this chunk.