- Timestamp:
- 2009-08-17T10:23:59+12:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
greenstone3/trunk/src/java/org/greenstone/gsdl3/action/DocumentAction.java
r19984 r20292 826 826 if (last_wrote < highlight_start) { 827 827 String preceding_text = new String(content_characters, last_wrote, (highlight_start - last_wrote)); 828 // System.err.print(preceding_text);829 828 content_element.appendChild(this.doc.createTextNode(preceding_text)); 830 829 } … … 833 832 if (highlight_end > last_wrote) { 834 833 String highlight_text = new String(content_characters, highlight_start, (highlight_end - highlight_start)); 835 // System.err.print("|" + highlight_text + "|");836 834 Element annotation_element = GSXML.createTextElement(this.doc, "annotation", highlight_text); 837 835 annotation_element.setAttribute("type", "query_term"); … … 844 842 if (last_wrote < content_characters.length) { 845 843 String remaining_text = new String(content_characters, last_wrote, (content_characters.length - last_wrote)); 846 // System.err.print(remaining_text);847 844 content_element.appendChild(this.doc.createTextNode(remaining_text)); 848 845 }
Note:
See TracChangeset
for help on using the changeset viewer.