emacs-languagetool / flycheck-languagetool

Flycheck support for LanguageTool
GNU General Public License v3.0
54 stars 8 forks source link

Only send lines on screen #4

Open walseb opened 3 years ago

walseb commented 3 years ago

Many thanks for this package! My only issue with it so far is that currently it sends the entire buffer to languagetool, which means my 6000 line org files will basically never be checked and I will always have 100% CPU while having them open. It would be great if you could make it only send the contents on screen, current line, etc. Flyspell already does this although it gets away with only sending the current word since it's only a spell-checker

jcs090218 commented 3 years ago

Good idea! I may not have time to implement this feature recently but I would keep this in mind! 👍 Thanks! 😄

mavit commented 2 years ago

19 enables you to narrow a large buffer to only check the narrowed section. Not quite what was asked for, I know, but should help somewhat.