66 |
= '...'; |
= '...'; |
67 |
} |
} |
68 |
} else { |
} else { |
69 |
code.appendChild (document.createTextNode (lineText)); |
if (column > 0) { |
70 |
|
code.appendChild (document.createTextNode |
71 |
|
(lineText.substring (0, column - 1))); |
72 |
|
code.appendChild (document.createElement ('mark')) |
73 |
|
.appendChild (document.createTextNode |
74 |
|
(lineText.charAt (column - 1))); |
75 |
|
code.appendChild (document.createTextNode |
76 |
|
(lineText.substring (column, lineText.length))); |
77 |
|
} else { |
78 |
|
code.appendChild (document.createTextNode (lineText)); |
79 |
|
} |
80 |
p.appendChild (code); |
p.appendChild (code); |
81 |
} |
} |
82 |
child.appendChild (p); |
child.appendChild (p); |