pxt icon indicating copy to clipboard operation
pxt copied to clipboard

New snippets get diff highlighted

Open ganicke opened this issue 5 years ago • 0 comments

Problem: A new tutorial snippet shown in a later step is highlighted when ### @diffs true is set.

Description: The entire block of code is highlighted in later steps when new code is shown that is separate from the rest of the project. It seems that a new snippet shown without the rest of the project code should have it's own diff context.

Example:

image

RE: https://github.com/microsoft/pxt-microbit/pull/3288

ganicke avatar Jun 19 '20 20:06 ganicke