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–15 unchanged (15 lines)
16use tauri_utils::display_path;
17
18pub use self::{
19 category::AppCategory,
20 settings::{
21 AppImageSettings, BundleBinary, BundleSettings, CustomSignCommandSettings, DebianSettings,
22 DmgSettings, MacOsSettings, PackageSettings, PackageType, Position, RpmSettings, Settings,
23 SettingsBuilder, Size, UpdaterSettings,
24 },
25};
26#[cfg(target_os = "macos")]
27use anyhow::Context;
28pub use settings::{NsisSettings, WindowsSettings, WixLanguage, WixLanguageConfig, WixSettings};
29
…lines 30–250 unchanged (221 lines)

After

…lines 1–15 unchanged (15 lines)
16use tauri_utils::display_path;
17
18pub use self::{
19 category::AppCategory,
20 settings::{
21 AppImageSettings, BundleBinary, BundleSettings, CustomSignCommandSettings, DebianSettings,
22 DmgSettings, IosSettings, MacOsSettings, PackageSettings, PackageType, Position, RpmSettings,
23 Settings, SettingsBuilder, Size, UpdaterSettings,
24 },
25};
26#[cfg(target_os = "macos")]
27use anyhow::Context;
28pub use settings::{NsisSettings, WindowsSettings, WixLanguage, WixLanguageConfig, WixSettings};
29
…lines 30–250 unchanged (221 lines)

Before

source_file
line_comment
// "//"
line_comment
// "//"
line_comment
// "//"
line_comment
// "//"
mod_item
mod "mod"
identifier "category"
; ";"
attribute_item
# "#"
[ "["
attribute
identifier "cfg"
token_tree
( "("
identifier "target_os"
= "="
string_literal
" "\""
string_content "linux"
" "\""
) ")"
] "]"
mod_item
mod "mod"
identifier "linux"
; ";"
attribute_item
# "#"
[ "["
attribute
identifier "cfg"
token_tree
( "("
identifier "target_os"
= "="
string_literal
" "\""
string_content "macos"
" "\""
) ")"
] "]"
mod_item
mod "mod"
identifier "macos"
; ";"
mod_item
mod "mod"
identifier "platform"
; ";"
mod_item
mod "mod"
identifier "settings"
; ";"
mod_item
mod "mod"
identifier "updater_bundle"
; ";"
mod_item
mod "mod"
identifier "windows"
; ";"
use_declaration
use "use"
scoped_identifier
identifier "tauri_utils"
:: "::"
identifier "display_path"
; ";"
use_declaration
visibility_modifier
pub "pub"
use "use"
scoped_use_list
self "self"
:: "::"
use_list
{ "{"
scoped_identifier
identifier "category"
:: "::"
identifier "AppCategory"
, ","
scoped_use_list
identifier "settings"
:: "::"
use_list
{ "{"
identifier "AppImageSettings"
, ","
identifier "BundleBinary"
, ","
identifier "BundleSettings"
, ","
identifier "CustomSignCommandSettings"
, ","
identifier "DebianSettings"
, ","
identifier "DmgSettings"
, ","
identifier "MacOsSettings"
, ","
identifier "PackageSettings"
, ","
identifier "PackageType"
, ","
identifier "Position"
, ","
identifier "RpmSettings"
, ","
identifier "Settings"
, ","
identifier "SettingsBuilder"
, ","
identifier "Size"
, ","
identifier "UpdaterSettings"
, ","
} "}"
, ","
} "}"
; ";"
attribute_item
# "#"
[ "["
attribute
identifier "cfg"
token_tree
( "("
identifier "target_os"
= "="
string_literal
" "\""
string_content "macos"
" "\""
) ")"
] "]"
use_declaration
use "use"
scoped_identifier
identifier "anyhow"
:: "::"
identifier "Context"
; ";"
use_declaration
visibility_modifier
pub "pub"
use "use"
scoped_use_list
identifier "settings"
:: "::"
use_list
{ "{"
identifier "NsisSettings"
, ","
identifier "WindowsSettings"
, ","
identifier "WixLanguage"
, ","
identifier "WixLanguageConfig"
, ","
identifier "WixSettings"
} "}"
; ";"
use_declaration
use "use"
scoped_use_list
identifier "std"
:: "::"
use_list
{ "{"
scoped_identifier
identifier "fmt"
:: "::"
identifier "Write"
, ","
scoped_identifier
identifier "path"
:: "::"
identifier "PathBuf"
} "}"
; ";"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " Generated bundle metadata.\n"
attribute_item
# "#"
[ "["
attribute
identifier "derive"
token_tree
( "("
identifier "Debug"
) ")"
] "]"
struct_item (+37 nodes collapsed)
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " Bundles the project.\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " Returns the list of paths where the bundles can be found.\n"
function_item (+1747 nodes collapsed)
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " Check to see if there are icons in the settings struct\n"
function_item (+92 nodes collapsed)

After

source_file
line_comment
// "//"
line_comment
// "//"
line_comment
// "//"
line_comment
// "//"
mod_item
mod "mod"
identifier "category"
; ";"
attribute_item
# "#"
[ "["
attribute
identifier "cfg"
token_tree
( "("
identifier "target_os"
= "="
string_literal
" "\""
string_content "linux"
" "\""
) ")"
] "]"
mod_item
mod "mod"
identifier "linux"
; ";"
attribute_item
# "#"
[ "["
attribute
identifier "cfg"
token_tree
( "("
identifier "target_os"
= "="
string_literal
" "\""
string_content "macos"
" "\""
) ")"
] "]"
mod_item
mod "mod"
identifier "macos"
; ";"
mod_item
mod "mod"
identifier "platform"
; ";"
mod_item
mod "mod"
identifier "settings"
; ";"
mod_item
mod "mod"
identifier "updater_bundle"
; ";"
mod_item
mod "mod"
identifier "windows"
; ";"
use_declaration
use "use"
scoped_identifier
identifier "tauri_utils"
:: "::"
identifier "display_path"
; ";"
use_declaration
visibility_modifier
pub "pub"
use "use"
scoped_use_list
self "self"
:: "::"
use_list
{ "{"
scoped_identifier
identifier "category"
:: "::"
identifier "AppCategory"
, ","
scoped_use_list
identifier "settings"
:: "::"
use_list
{ "{"
identifier "AppImageSettings"
, ","
identifier "BundleBinary"
, ","
identifier "BundleSettings"
, ","
identifier "CustomSignCommandSettings"
, ","
identifier "DebianSettings"
, ","
identifier "DmgSettings"
, ","
identifier "IosSettings"
, ","
identifier "MacOsSettings"
, ","
identifier "PackageSettings"
, ","
identifier "PackageType"
, ","
identifier "Position"
, ","
identifier "RpmSettings"
, ","
identifier "Settings"
, ","
identifier "SettingsBuilder"
, ","
identifier "Size"
, ","
identifier "UpdaterSettings"
, ","
} "}"
, ","
} "}"
; ";"
attribute_item
# "#"
[ "["
attribute
identifier "cfg"
token_tree
( "("
identifier "target_os"
= "="
string_literal
" "\""
string_content "macos"
" "\""
) ")"
] "]"
use_declaration
use "use"
scoped_identifier
identifier "anyhow"
:: "::"
identifier "Context"
; ";"
use_declaration
visibility_modifier
pub "pub"
use "use"
scoped_use_list
identifier "settings"
:: "::"
use_list
{ "{"
identifier "NsisSettings"
, ","
identifier "WindowsSettings"
, ","
identifier "WixLanguage"
, ","
identifier "WixLanguageConfig"
, ","
identifier "WixSettings"
} "}"
; ";"
use_declaration
use "use"
scoped_use_list
identifier "std"
:: "::"
use_list
{ "{"
scoped_identifier
identifier "fmt"
:: "::"
identifier "Write"
, ","
scoped_identifier
identifier "path"
:: "::"
identifier "PathBuf"
} "}"
; ";"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " Generated bundle metadata.\n"
attribute_item
# "#"
[ "["
attribute
identifier "derive"
token_tree
( "("
identifier "Debug"
) ")"
] "]"
struct_item (+37 nodes collapsed)
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " Bundles the project.\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " Returns the list of paths where the bundles can be found.\n"
function_item (+1747 nodes collapsed)
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " Check to see if there are icons in the settings struct\n"
function_item (+92 nodes collapsed)