@Test
		void testAtStart() {
			String textOpenMissing = """
					{
					**
					* @return foo
					*/
					}
					""";

			// Change for inserting '/' at start
			PlainTextChange change = new PlainTextChange(textOpenMissing.indexOf('*'), "", "/");
			String modifiedText = apply(textOpenMissing, change);

			// Initial spans
			StyleSpans<Collection<String>> spans = HIGHLIGHTER_JAVA.createStyleSpans(textOpenMissing, 0, textOpenMissing.length());

			// Expecting full match of block comment, plus prior unmatched text (range is adjacent)
			IntRange restyledRange = SyntaxUtil.getRangeForRestyle(modifiedText, spans, HIGHLIGHTER_JAVA, change);
			String matchedText = restyledRange.sectionOfText(modifiedText);
			assertTrue(matchedText.substring(2).matches(JAVADOC_PATTERN));
			assertEquals(0, restyledRange.start());
			assertEquals(modifiedText.lastIndexOf('/') + 1, restyledRange.end());
		}
Change for inserting '/' to a broken block comment.
Should restyle the newly formed block comment range <i>(and some adjacent text, not ideal but not terrible)</i>.
recaf-ui/src/test/java/software/coley/recaf/ui/control/richtext/syntax/RegexSyntaxHighlighterTest.java