I'm entering English language text. If I fill the
document/region and there is a period (.) followed by 2
spaces, jEdit will toss one of the spaces. This is a real
problem if the buffer is English language text, since the
spaces are required for a properly formatted document.
I looked at the code and see the the problem is is a
Java class you use to find breaks in words. To fix this
would require that you stop using this class and do
some fancy parsing yourself.
Another solution might be to have a buffer option /
mode option that says ths is English sentences". In
that case, before you fill if you replace all ". " with
something, then fill it might work.
Log in to post a comment.