@Test
		void testBlock3End() {
			// Change for removing '/'
			int blockComment3 = TEXT_JAVA.indexOf("* three");
			int blockComment3Open = TEXT_JAVA.lastIndexOf("/**", blockComment3);
			int blockComment3Close = TEXT_JAVA.indexOf("*/", blockComment3) + 2;
			PlainTextChange change = new PlainTextChange(blockComment3Close - 1, "/", "");
			String modifiedText = apply(change);

			// The comment is broken, and doesn't flow into any closing '*/' later.
			// Thus, it should only need to restyle what was previously the block comment.
			IntRange restyledRange = SyntaxUtil.getRangeForRestyle(modifiedText, styleSpans, HIGHLIGHTER_JAVA, change);
			String matchedText = restyledRange.sectionOfText(modifiedText);
			assertFalse(matchedText.matches(JAVADOC_PATTERN)); // nothing to close
			assertEquals(blockComment3Open, restyledRange.start());
			assertEquals(blockComment3Close, restyledRange.end()); // Not adding + net like others since target is different
		}
", blockComment2);
			PlainTextChange change = new PlainTextChange(blockComment2Open, "/", "");
			String modifiedText = apply(change);

			// The restyled range should expand up to the first method declaration, since it is the prior adjacent flattened range
			IntRange restyledRange = SyntaxUtil.getRangeForRestyle(modifiedText, styleSpans, HIGHLIGHTER_JAVA, change);
			String matchedText = restyledRange.sectionOfText(modifiedText);
			assertFalse(matchedText.matches(JAVADOC_PATTERN));
			assertTrue(matchedText.startsWith("void one("));
		}

		@Test
		void testBlock2End() {
			// Change for removing '/'
			int blockComment2 = TEXT_JAVA.indexOf("* two");
			int blockComment2Open = TEXT_JAVA.lastIndexOf("/**", blockComment2);
			int blockComment2Close = TEXT_JAVA.indexOf("
recaf-ui/src/test/java/software/coley/recaf/ui/control/richtext/syntax/RegexSyntaxHighlighterTest.java