IJPL-232539 restore binary compatibility after addition of new constructor parameter in 6aae6f696bd3580bfce5f751903d501cf1d602b1

ExtensionSizeLimitInfo provides a way to raise file limits from
plugins.
Even though it is marked with @ApiStatus.Internal it is used in some
plugins, e.g., in Hexana and Ideolog.

The added constructor allows plugins to keep working without
recompilation.

GitOrigin-RevId: 53cac411152c09651a38918270fb112abadc7161
This commit is contained in:
Dmitry.Neverov
2026-02-12 13:05:32 +01:00
committed by intellij-monorepo-bot
parent fb25331477
commit de8a09634e

View File

@@ -25,4 +25,6 @@ data class ExtensionSizeLimitInfo(
* Maximum number of bytes to use for charset/encoding detection.
*/
val encodingDetectionLimit: Int? = null,
)
) {
constructor(content: Int? = null, intellijSense: Int? = null, preview: Int? = null) : this(content, intellijSense, preview, null)
}