robindijkhof / overleaf-textarea

This plugin displays your tex source in a textarea so plugins like grammarly can check it.
GNU General Public License v3.0
513 stars 31 forks source link

Sync-scroll misbehave on long lines #67

Closed achiyae closed 2 years ago

achiyae commented 2 years ago

Thanks for the extremely useful plugin!

The sync-scroll feature doesn't play nicely with auto wrap lines on the latex side. For example, I write paragraphs as a very long line since I have screens of different sizes. On the right side, this causes the text in the textarea to be shifted to more than one page.

robindijkhof commented 2 years ago

Not much can be done about that. Both the screens have indeed different sizes. Either using the same percentage or the same line number will eventually result in a mismatch.