Zebra coloring type differentiation for indented C-type blocks (if, for, repeat)

Issue #471 wontfix
Turgut Guneysu created an issue
SNAP style color change for indented blocks of the same kind. Will make reading IF / ELSE groups easier. I have included an actual IF grouping from a library, removed the actual comparisons and action codes. With the actual codes. it is rather cumbersome and error-prone to figure out which ELSE goes with which IF and where to insert any new code accurately.

Comments (4)

  1. John Maloney repo owner

    I agree, this could be improved.

    However, when I was optimizing the redisplay code I found that zebra coloring in MicroBlocks slowed things down significantly. Personally, I'd rather have fast scrolling and UI interactions than zerbra coloring. :-)

    Mark has suggested some changes to the graphic design of the blocks (e.g. border colors) that should help with readability.

    I also think the drag-and-drop algorithm could be tuned to make it easier to drop a block into one of these structures where you want it go.

  2. Log in to comment