mirror of
https://github.com/github/semantic.git
synced 2024-12-26 16:33:03 +03:00
Reference the correct range.
This commit is contained in:
parent
ebe73eb227
commit
6dedcf2ea3
@ -128,7 +128,7 @@
|
||||
if (model instanceof Leaf) {
|
||||
element = document.createElement("span");
|
||||
if (model.source != null && model.range != null) {
|
||||
element.textContent = model.source.substr(this.range[0], this.range[1]);
|
||||
element.textContent = model.source.substr(model.range[0], model.range[1]);
|
||||
}
|
||||
// ?
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user