We are highlighting current instruction in the code based on the PC, but there are some quirks.
The scroll should follow current highlight - if the code is long and scrollable (see #159 for code example) highlighted instruction should always be shown (as much as possible) in the middle of the screen.
In case multiple PVMs diverge we should show both PVMs positions. We should do that by highlighting with color calculated as follows rgba(higlight_color, opacity) where opacity = number_of_pvms_at_that_pc / total_number_of_pvms. Additionally we should display a tooltip indicating which PVM(s) are at this instruction (but only in case of divergence, if all agree = no tooltip).
We are highlighting current instruction in the code based on the PC, but there are some quirks.
The scroll should follow current highlight - if the code is long and scrollable (see #159 for code example) highlighted instruction should always be shown (as much as possible) in the middle of the screen.
In case multiple PVMs diverge we should show both PVMs positions. We should do that by highlighting with color calculated as follows
rgba(higlight_color, opacity)
whereopacity = number_of_pvms_at_that_pc / total_number_of_pvms
. Additionally we should display a tooltip indicating which PVM(s) are at this instruction (but only in case of divergence, if all agree = no tooltip).