Open edwardwoodward opened 8 years ago
Testing this again. I still can't work out how this should work. It looks like you specify in start_with the character(s?) that you don't want the paragraph to start with. I have tried this with a variety of characters in English and Japanese text and asciidoc documents. The only things it has picked up are two-byte spaces and tabs in English asciidoc documents. Is this correct behaviour?
Testing this in Japanese and English text files, I can't work out how this should work. I suppose the first question is, does RedPen recognise paragraphs in text files?
In Japanese, I set ParagraphStartWith with the start_with value as "はほ". No paragraphs start with "はほ". ParagraphStartWith flags one paragraph. This is the message: ParagraphStartWith: パラグラフの開始部分が不正です " " Should there be any text in the quotation marks? This "paragraph" has a four-space indent. Other lines of text with the same indent are not flagged. I added the same indent to other lines and some are flagged and others not.
In English, I set ParagraphStartWith with the start_with value as "BeBop". No paragraphs start with "BeBop". Nothing is flagged, even adding the same indent.