35363738394041424344
{ IEncodedDocument doc = super.newEncodedDocument(); assert doc instanceof BasicStructuredDocument; ((BasicStructuredDocument) doc) .setReParser(new TwigStructuredDocumentReParser()); // doc.setPreferredLineDelimiter( "\n" ); return doc; }