@Test public void testGetCompleteMarkupCloseTags() { // Non-markup language String syntaxStyle = SyntaxConstants.SYNTAX_STYLE_C; doc = new RSyntaxDocument(syntaxStyle); Assert.assertFalse(doc.getCompleteMarkupCloseTags()); // Markup language defaulting to false syntaxStyle = SyntaxConstants.SYNTAX_STYLE_PHP; doc = new RSyntaxDocument(syntaxStyle); Assert.assertFalse(doc.getCompleteMarkupCloseTags()); // Markup language defaulting to true syntaxStyle = SyntaxConstants.SYNTAX_STYLE_XML; doc = new RSyntaxDocument(syntaxStyle); Assert.assertTrue(doc.getCompleteMarkupCloseTags()); }
doc.getCompleteMarkupCloseTags() && !selection && rsta.getCloseMarkupTags() && dot>1) {
doc.getCompleteMarkupCloseTags() && !selection && rsta.getCloseMarkupTags() && dot>1) {
doc.getCompleteMarkupCloseTags() && !selection && rsta.getCloseMarkupTags() && dot>1) {