Index: trunk/parsers/wikidom/lib/hype/models/es.DocumentModel.js |
— | — | @@ -659,6 +659,19 @@ |
660 | 660 | }; |
661 | 661 | |
662 | 662 | /** |
| 663 | + * Gets the affected nodes and the range of data they occupy. |
| 664 | + */ |
| 665 | +es.DocumentModel.prototype.select = function( range, includeSubRanges ) { |
| 666 | + range.normalize(); |
| 667 | + var result = { |
| 668 | + 'nodes': [], |
| 669 | + 'range': new es.Range() |
| 670 | + }; |
| 671 | + // Add list of highest-common-level nodes that are covered by range to results.nodes |
| 672 | + // Set range from beginning of first node to the end of the last node |
| 673 | +}; |
| 674 | + |
| 675 | +/** |
663 | 676 | * Gets the element object of a node. |
664 | 677 | * |
665 | 678 | * @method |