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–31 unchanged (31 lines)
32 return preserveTagCase;
33 }
34
35 /**
36 * Returns true if preserving attribute case.
37 */
38
39 /**
40 * Define parse settings.
41 * @param tag preserve tag case?
42 * @param attribute preserve attribute name case?
43 */
44 public ParseSettings(boolean tag, boolean attribute) {
…lines 45–76 unchanged (32 lines)

After

…lines 1–31 unchanged (31 lines)
32 return preserveTagCase;
33 }
34
35 /**
36 * Returns true if preserving attribute case.
37 */
38 public boolean preserveAttributeCase() {
39 return preserveAttributeCase;
40 }
41
42 /**
43 * Define parse settings.
44 * @param tag preserve tag case?
45 * @param attribute preserve attribute name case?
46 */
…lines 47–79 unchanged (33 lines)

Before

program
package_declaration
package "package"
scoped_identifier
scoped_identifier
identifier "org"
. "."
identifier "jsoup"
. "."
identifier "parser"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
scoped_identifier
identifier "org"
. "."
identifier "jsoup"
. "."
identifier "nodes"
. "."
identifier "Attributes"
; ";"
import_declaration
import "import"
static "static"
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
identifier "org"
. "."
identifier "jsoup"
. "."
identifier "internal"
. "."
identifier "Normalizer"
. "."
identifier "lowerCase"
; ";"
block_comment "/**\n * Controls parser settings, to optionally preserve tag "...
class_declaration
modifiers
public "public"
class "class"
identifier "ParseSettings"
class_body
{ "{"
block_comment "/**\n * HTML default settings: both tag and attribute nam"...
field_declaration
modifiers
public "public"
static "static"
final "final"
type_identifier "ParseSettings"
variable_declarator
identifier "htmlDefault"
; ";"
block_comment "/**\n * Preserve both tag and attribute case.\n */"
field_declaration
modifiers
public "public"
static "static"
final "final"
type_identifier "ParseSettings"
variable_declarator
identifier "preserveCase"
; ";"
static_initializer (+33 nodes collapsed)
field_declaration
modifiers
private "private"
final "final"
boolean_type "boolean"
variable_declarator
identifier "preserveTagCase"
; ";"
field_declaration
modifiers
private "private"
final "final"
boolean_type "boolean"
variable_declarator
identifier "preserveAttributeCase"
; ";"
block_comment "/**\n * Returns true if preserving tag name case.\n */"
method_declaration
modifiers
public "public"
boolean_type "boolean"
identifier "preserveTagCase"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
identifier "preserveTagCase"
; ";"
} "}"
block_comment "/**\n * Returns true if preserving attribute case.\n *"...
block_comment "/**\n * Define parse settings.\n * @param tag preserve"...
constructor_declaration (+29 nodes collapsed)
block_comment "/**\n * Normalizes a tag name according to the case prese"...
method_declaration (+49 nodes collapsed)
block_comment "/**\n * Normalizes an attribute according to the case pre"...
method_declaration (+49 nodes collapsed)
method_declaration (+36 nodes collapsed)
} "}"

After

program
package_declaration
package "package"
scoped_identifier
scoped_identifier
identifier "org"
. "."
identifier "jsoup"
. "."
identifier "parser"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
scoped_identifier
identifier "org"
. "."
identifier "jsoup"
. "."
identifier "nodes"
. "."
identifier "Attributes"
; ";"
import_declaration
import "import"
static "static"
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
identifier "org"
. "."
identifier "jsoup"
. "."
identifier "internal"
. "."
identifier "Normalizer"
. "."
identifier "lowerCase"
; ";"
block_comment "/**\n * Controls parser settings, to optionally preserve tag "...
class_declaration
modifiers
public "public"
class "class"
identifier "ParseSettings"
class_body
{ "{"
block_comment "/**\n * HTML default settings: both tag and attribute nam"...
field_declaration
modifiers
public "public"
static "static"
final "final"
type_identifier "ParseSettings"
variable_declarator
identifier "htmlDefault"
; ";"
block_comment "/**\n * Preserve both tag and attribute case.\n */"
field_declaration
modifiers
public "public"
static "static"
final "final"
type_identifier "ParseSettings"
variable_declarator
identifier "preserveCase"
; ";"
static_initializer (+33 nodes collapsed)
field_declaration
modifiers
private "private"
final "final"
boolean_type "boolean"
variable_declarator
identifier "preserveTagCase"
; ";"
field_declaration
modifiers
private "private"
final "final"
boolean_type "boolean"
variable_declarator
identifier "preserveAttributeCase"
; ";"
block_comment "/**\n * Returns true if preserving tag name case.\n */"
method_declaration
modifiers
public "public"
boolean_type "boolean"
identifier "preserveTagCase"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
identifier "preserveTagCase"
; ";"
} "}"
block_comment "/**\n * Returns true if preserving attribute case.\n *"...
method_declaration
modifiers
public "public"
boolean_type "boolean"
identifier "preserveAttributeCase"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
identifier "preserveAttributeCase"
; ";"
} "}"
block_comment "/**\n * Define parse settings.\n * @param tag preserve"...
constructor_declaration (+29 nodes collapsed)
block_comment "/**\n * Normalizes a tag name according to the case prese"...
method_declaration (+49 nodes collapsed)
block_comment "/**\n * Normalizes an attribute according to the case pre"...
method_declaration (+49 nodes collapsed)
method_declaration (+36 nodes collapsed)
} "}"