unify matching strings with different cursors.

This commit is contained in:
Mark Thom
2018-08-26 20:50:12 -06:00
parent 92e338861d
commit b418e63a89
2 changed files with 19 additions and 1 deletions

View File

@@ -46,7 +46,7 @@ impl Ord for StringList {
impl PartialEq for StringList {
fn eq(&self, other: &Self) -> bool
{
self.body == other.body
self.body == other.body && self.cursor == other.cursor && self.expandable == other.expandable
}
}