Skip to content

Join hyphenated words broken across lines in Javadoc comments. - #1475

Open
copybara-service[bot] wants to merge 1 commit into
masterfrom
test_993629839
Open

copybara-service[bot] wants to merge 1 commit into
masterfrom
test_993629839

Conversation

@copybara-service

Copy link
Copy Markdown

Join hyphenated words broken across lines in Javadoc comments.

When a compound word was hyphenated across a line break in Javadoc
(e.g., infinite-\n * precision), the formatter previously joined the
tokens with a space, resulting in infinite- precision.

Join adjacent word literals across a line break when the preceding literal ends
in a hyphen following a word character, while preserving spaces after suspended
hyphens (e.g., pre- and post-).

When a compound word was hyphenated across a line break in Javadoc
(e.g., `infinite-\n * precision`), the formatter previously joined the
tokens with a space, resulting in `infinite- precision`.

Join adjacent word literals across a line break when the preceding literal ends
in a hyphen following a word character, while preserving spaces after suspended
hyphens (e.g., `pre- and post-`).

PiperOrigin-RevId: 993629839
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant