On Sat, 24 Aug 2024 00:11:14 GMT, Sergey Bylokhov <s...@openjdk.org> wrote:
>> This changeset updates the image in the documentation for the >> `Document.insert` method. The image in `Document.remove` was updated by >> [JDK-4622866](https://bugs.openjdk.org/browse/JDK-4622866) in PR #15701. >> >> Now the illustration of inserting looks similar to removing. The new image >> is in SVG format. >> >> For reference: >> >> - [`Document.insert` in JDK >> 22](https://docs.oracle.com/en/java/javase/22/docs/api/java.desktop/javax/swing/text/Document.html#insertString(int,java.lang.String,javax.swing.text.AttributeSet)); >> - [Updated docs for JDK >> 24](https://cr.openjdk.org/~aivanov/8337287/api/java.desktop/javax/swing/text/Document.html#insertString(int,java.lang.String,javax.swing.text.AttributeSet)). >> >> As in the case with `remove`, I marked up to classes and members with >> {@code}. > > Just curious why the chars are not in the middle of the boxes? @mrserb Do you have any other questions? I'll update the position of text in `Document-insert.svg` and ``Document-remove.svg` separately after this PR is integrated. ------------- PR Comment: https://git.openjdk.org/jdk/pull/20376#issuecomment-2384054075