Révision 2865
tmp/org.txm.concordance.core/src/org/txm/concordance/core/functions/LineDecorator.java (revision 2865) | ||
---|---|---|
12 | 12 |
* |
13 | 13 |
* @return the decorated String |
14 | 14 |
*/ |
15 |
public abstract String decorate(int i, int currentPos, String str);
|
|
15 |
public abstract String decorate(Line i, int currentPos, String str);
|
|
16 | 16 |
} |
tmp/org.txm.concordance.core/src/org/txm/concordance/core/functions/Line.java (revision 2865) | ||
---|---|---|
298 | 298 |
words.add(StringUtils.join(word, propertySeparator)); |
299 | 299 |
|
300 | 300 |
if (decorator != null) { |
301 |
words.set(i, decorator.decorate(i, currentPos, words.get(i)));
|
|
301 |
words.set(i, decorator.decorate(this, currentPos, words.get(i)));
|
|
302 | 302 |
} |
303 | 303 |
|
304 | 304 |
currentPos++; // next position |
... | ... | |
349 | 349 |
} |
350 | 350 |
|
351 | 351 |
if (decorator != null) { |
352 |
words.set(i, decorator.decorate(i, currentPos, words.get(i)));
|
|
352 |
words.set(i, decorator.decorate(this, currentPos, words.get(i)));
|
|
353 | 353 |
} |
354 | 354 |
|
355 | 355 |
currentPos++; // next position |
... | ... | |
399 | 399 |
words.add(StringUtils.join(word, propertySeparator)); |
400 | 400 |
|
401 | 401 |
if (decorator != null) { |
402 |
words.set(i, decorator.decorate(i, currentPos, words.get(i)));
|
|
402 |
words.set(i, decorator.decorate(this, currentPos, words.get(i)));
|
|
403 | 403 |
} |
404 | 404 |
currentPos++; |
405 | 405 |
} |
Formats disponibles : Unified diff