Why does Zoho’s diff viewer highlight parts of unchanged lines?

Why does Zoho’s diff viewer highlight parts of unchanged lines?

Hi everyone,

I’ve noticed something odd in the Zoho editor’s diff view. When I delete a single line, the diff doesn’t just mark that line as removed. Instead, it highlights parts of the next line as if they changed, even though they are identical.

Example:

Before
  1. mapaOp.put("Lead_Source", fuente);
  2. mapaOp.put("Amount", amount);
After
  1. mapaOp.put("Amount", amount);

Expected:

  • The first line should be marked as deleted (red).
  • The second line should remain unchanged.

Actual:

  • The first line is red, but the second line is partially highlighted (green for "Amount"), as if it changed.

Is this the intended behavior?
Is there a way to make the diff show line-level changes only, or ignore inline differences when the line is unchanged?

Thanks for any clarification!