JetBrains / jewel

An implementation of the IntelliJ look and feels in Compose for Desktop
Apache License 2.0
636 stars 30 forks source link

Fix diff breaks when long paragraphs replaced with empty #346

Closed obask closed 2 months ago

obask commented 2 months ago

This happens because a change scanner is trying to access an element from the previous paragraph. And if the new one is shorter it misses the index resulting in a crash.