equal
deleted
inserted
replaced
147 { |
147 { |
148 val markups1 = markups.redirect(other_command.id) |
148 val markups1 = markups.redirect(other_command.id) |
149 if (markups1.is_empty) None |
149 if (markups1.is_empty) None |
150 else Some(new State(other_command, Nil, Results.empty, markups1)) |
150 else Some(new State(other_command, Nil, Results.empty, markups1)) |
151 } |
151 } |
152 |
|
153 def eq_content(other: State): Boolean = |
|
154 command.source == other.command.source && |
|
155 status == other.status && |
|
156 results == other.results && |
|
157 markups == other.markups |
|
158 |
152 |
159 private def add_status(st: Markup): State = |
153 private def add_status(st: Markup): State = |
160 copy(status = st :: status) |
154 copy(status = st :: status) |
161 |
155 |
162 private def add_markup( |
156 private def add_markup( |