RFR: 8337287: Update image in javax.swing.text.Document.insert [v3]

Alexey Ivanov aivanov at openjdk.org
Wed Nov 6 17:13:55 UTC 2024


> 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}`.

Alexey Ivanov has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains four additional commits since the last revision:

 - Merge master
 - Describe inserting ‘quick’ into text
 - Remove Document-insert.gif
 - 8337287: Update image in javax.swing.text.Document.insert
   
   Replace the image which illustrates insertion of a string
   from GIF format to SVG.
   Mark up class and method references with {@code}.

-------------

Changes:
  - all: https://git.openjdk.org/jdk/pull/20376/files
  - new: https://git.openjdk.org/jdk/pull/20376/files/8077bde0..c6cd5076

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=20376&range=02
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=20376&range=01-02

  Stats: 533826 lines in 5341 files changed: 388471 ins; 102377 del; 42978 mod
  Patch: https://git.openjdk.org/jdk/pull/20376.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/20376/head:pull/20376

PR: https://git.openjdk.org/jdk/pull/20376


More information about the client-libs-dev mailing list