equal
deleted
inserted
replaced
201 encolor(gfx, y, metrics.getHeight, begin, finish, TheoryView.choose_color(e), true) |
201 encolor(gfx, y, metrics.getHeight, begin, finish, TheoryView.choose_color(e), true) |
202 |
202 |
203 // paint details of command |
203 // paint details of command |
204 for (node <- e.root_node.dfs) { |
204 for (node <- e.root_node.dfs) { |
205 val begin = to_current(node.start + e.start) |
205 val begin = to_current(node.start + e.start) |
206 val finish = to_current(node.end + e.start) |
206 val finish = to_current(node.stop + e.start) |
207 if (finish > start && begin < end) { |
207 if (finish > start && begin < end) { |
208 encolor(gfx, y + metrics.getHeight - 4, 2, begin max start, finish min end, |
208 encolor(gfx, y + metrics.getHeight - 4, 2, begin max start, finish min end, |
209 TheoryView.choose_color(node.short), true) |
209 TheoryView.choose_color(node.kind), true) |
210 } |
210 } |
211 } |
211 } |
212 e = e.next |
212 e = e.next |
213 } |
213 } |
214 |
214 |