JetBrains: Recalculate offset for Windows linebreaks
Created by: vdavid
Before this PR, Java failed with an error when we sent a string that included Windows-style line breaks. The PR fixed it, but now the highlight position is off:
Test it with this search:
repo:github.com/996icu/996.ICU Protest Over Chinese Tech Companies file:ko_KR