Index: trunk/parsers/wikidom/lib/es/es.ListBlock.js |
— | — | @@ -74,7 +74,9 @@ |
75 | 75 | * @param end {Integer} Offset to stop annotating to
|
76 | 76 | */
|
77 | 77 | es.ListBlock.prototype.annotateContent = function( method, annotation, start, end ) {
|
78 | | - throw 'ListBlock.annotateContent not implemented yet.';
|
| 78 | + // TODO: Support annotating multiple items at once
|
| 79 | + var location = this.list.getLocationFromOffset( start );
|
| 80 | + location.item.content.annotate( method, annotation, location.offset, location.offset + end - start );
|
79 | 81 | };
|
80 | 82 |
|
81 | 83 | /**
|