Code view:

A painting is a person's account of this edit as text, recorded independently of the node mapping - a rendering often has several equally defensible answers where the mapping has one. Deletions and insertions carry no position on the opposite side in a painting, so that panel draws no caret for them.

Before

…lines 1–9 unchanged (9 lines)
10import com.owncloud.android.lib.resources.assistant.v2.model.TranslationLanguage
11
12data class TranslationSideState(
13 val text: String = "",
14 val language: TranslationLanguage? = null,
15 val isExpanded: Boolean = false
16)
17

After

…lines 1–8 unchanged (8 lines)
9
10import com.owncloud.android.lib.resources.assistant.v2.model.TranslationLanguage
11
12data class TranslationSideState(
13 val text: String = "",
14 val language: TranslationLanguage? = null,
15 val isExpanded: Boolean = false,
16 val isTarget: Boolean
17)
18

Before

source_file
block_comment "/*\n * Nextcloud - Android Client\n *\n * SPDX-FileCopyrightTex"...
package_header
package "package"
qualified_identifier
identifier "com"
. "."
identifier "nextcloud"
. "."
identifier "client"
. "."
identifier "assistant"
. "."
identifier "translate"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "owncloud"
. "."
identifier "android"
. "."
identifier "lib"
. "."
identifier "resources"
. "."
identifier "assistant"
. "."
identifier "v2"
. "."
identifier "model"
. "."
identifier "TranslationLanguage"
class_declaration
modifiers
class_modifier
data "data"
class "class"
identifier "TranslationSideState"
primary_constructor
class_parameters
( "("
class_parameter
val "val"
identifier "text"
: ":"
user_type
identifier "String"
= "="
string_literal
" "\""
" "\""
, ","
class_parameter
val "val"
identifier "language"
: ":"
nullable_type
user_type
identifier "TranslationLanguage"
? "?"
= "="
identifier "null"
, ","
class_parameter
val "val"
identifier "isExpanded"
: ":"
user_type
identifier "Boolean"
= "="
identifier "false"
) ")"

After

source_file
block_comment "/*\n * Nextcloud - Android Client\n *\n * SPDX-FileCopyrightTex"...
package_header
package "package"
qualified_identifier
identifier "com"
. "."
identifier "nextcloud"
. "."
identifier "client"
. "."
identifier "assistant"
. "."
identifier "translate"
import
import "import"
qualified_identifier
identifier "com"
. "."
identifier "owncloud"
. "."
identifier "android"
. "."
identifier "lib"
. "."
identifier "resources"
. "."
identifier "assistant"
. "."
identifier "v2"
. "."
identifier "model"
. "."
identifier "TranslationLanguage"
class_declaration
modifiers
class_modifier
data "data"
class "class"
identifier "TranslationSideState"
primary_constructor
class_parameters
( "("
class_parameter
val "val"
identifier "text"
: ":"
user_type
identifier "String"
= "="
string_literal
" "\""
" "\""
, ","
class_parameter
val "val"
identifier "language"
: ":"
nullable_type
user_type
identifier "TranslationLanguage"
? "?"
= "="
identifier "null"
, ","
class_parameter
val "val"
identifier "isExpanded"
: ":"
user_type
identifier "Boolean"
= "="
identifier "false"
, ","
class_parameter
val "val"
identifier "isTarget"
: ":"
user_type
identifier "Boolean"
) ")"