Skip to content

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

Merged
funa-tk merged 2 commits into
DeNA:masterfrom
toku-sa-n:refactor/port-rawtextpane-to-kotlin
Nov 12, 2026
Merged

funa-tk merged 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>

@funa-tk funa-tk left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

マージします!

@funa-tk
funa-tk merged commit 1c7ccd6 into DeNA:master Nov 12, 2026
1 check passed
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.

2 participants