A rare example of a true move

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–4 unchanged (4 lines)
5# Table name: account_warning_presets
6#
7# id :bigint(8) not null, primary key
8# text :text default(""), not null
9# created_at :datetime not null
10# updated_at :datetime not null
11# title :string default(""), not null
12#
13
14class AccountWarningPreset < ApplicationRecord
15 validates :text, presence: true
16
17 scope :alphabetic, -> { order(title: :asc, text: :asc) }
18end
19

After

1# frozen_string_literal: true
2
3# == Schema Information
4#
5# Table name: account_warning_presets
6#
7# id :bigint(8) not null, primary key
8# text :text default(""), not null
9# title :string default(""), not null
10# created_at :datetime not null
11# updated_at :datetime not null
12#
13
14class AccountWarningPreset < ApplicationRecord
15 validates :text, presence: true
…lines 16–19 unchanged (4 lines)

Before

program
comment "# frozen_string_literal: true"
comment "# == Schema Information"
comment "#"
comment "# Table name: account_warning_presets"
comment "#"
comment "# id :bigint(8) not null, primary key"
comment "# text :text default(\"\"), not null"
comment "# created_at :datetime not null"
comment "# updated_at :datetime not null"
comment "# title :string default(\"\"), not null"
comment "#"
class (+42 nodes collapsed)

After

program
comment "# frozen_string_literal: true"
comment "# == Schema Information"
comment "#"
comment "# Table name: account_warning_presets"
comment "#"
comment "# id :bigint(8) not null, primary key"
comment "# text :text default(\"\"), not null"
comment "# title :string default(\"\"), not null"
comment "# created_at :datetime not null"
comment "# updated_at :datetime not null"
comment "#"
class (+42 nodes collapsed)