Skip to content

refactor: RawTextPaneをKotlinに移植する - #274

Open
toku-sa-n wants to merge 2 commits into
DeNA:masterfrom
toku-sa-n:refactor/port-rawtextpane-to-kotlin
Open

toku-sa-n wants to merge 2 commits into
DeNA:masterfrom
toku-sa-n:refactor/port-rawtextpane-to-kotlin

Conversation

@toku-sa-n

Copy link
Copy Markdown
Contributor

Kotlinでの書き直しの一環として、RawTextPaneをKotlinで書き直しました。

なお、KotlinでLombokが生成するメンバーを利用するため、Lombokコンパイラプラグインを導入しました。

toku-sa-n and others added 2 commits October 8, 2026 12:36
Kotlin sources compile before javac runs Lombok, so Kotlin code cannot see
Lombok-generated members such as Range.of from @value(staticConstructor).
Earlier ports had to work around this, and the RawTextPane port needs a Range
instance. The plugin lets Kotlin resolve those members, so Java classes stay
as they are while more of the codebase moves to Kotlin.

The plugin is still experimental in Kotlin 2.2 and prints a warning on every
Kotlin compile. Its version follows the Kotlin JVM plugin.

Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
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