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–32 unchanged (32 lines)
33#include "nav_base_2d.h"
34#include "nav_utils_2d.h"
35
36#include "core/os/rw_lock.h"
37#include "scene/resources/2d/navigation_polygon.h"
38
39#include "2d/nav_region_iteration_2d.h"
40
41class NavRegion2D : public NavBase2D {
42 RWLock region_rwlock;
43
44 NavMap2D *map = nullptr;
45 Transform2D transform;
46 bool enabled = true;
…lines 47–134 unchanged (88 lines)

After

…lines 1–26 unchanged (26 lines)
27/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
28/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
29/**************************************************************************/
30
31#pragma once
32
33#include "2d/nav_region_iteration_2d.h"
34#include "nav_base_2d.h"
35#include "nav_utils_2d.h"
36
37#include "core/os/rw_lock.h"
38#include "scene/resources/2d/navigation_polygon.h"
39
…lines 40–133 unchanged (94 lines)

Before

translation_unit
comment "/***********************************************************"...
comment "/* nav_region_2d.h "...
comment "/***********************************************************"...
comment "/* This file is part of: "...
comment "/* GODOT ENGINE "...
comment "/* https://godotengine.org "...
comment "/***********************************************************"...
comment "/* Copyright (c) 2014-present Godot Engine contributors (see"...
comment "/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. "...
comment "/* "...
comment "/* Permission is hereby granted, free of charge, to any pers"...
comment "/* a copy of this software and associated documentation file"...
comment "/* \"Software\"), to deal in the Software without restriction,"...
comment "/* without limitation the rights to use, copy, modify, merge"...
comment "/* distribute, sublicense, and/or sell copies of the Softwar"...
comment "/* permit persons to whom the Software is furnished to do so"...
comment "/* the following conditions: "...
comment "/* "...
comment "/* The above copyright notice and this permission notice sha"...
comment "/* included in all copies or substantial portions of the Sof"...
comment "/* "...
comment "/* THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY"...
comment "/* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARR"...
comment "/* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON"...
comment "/* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIA"...
comment "/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION O"...
comment "/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION "...
comment "/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. "...
comment "/***********************************************************"...
preproc_call
preproc_directive "#pragma"
preproc_arg "once"
preproc_include
#include "#include"
string_literal
" "\""
string_content "nav_base_2d.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "nav_utils_2d.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "core/os/rw_lock.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "scene/resources/2d/navigation_polygon.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "2d/nav_region_iteration_2d.h"
" "\""
function_definition (+653 nodes collapsed)
expression_statement
; ";"

After

translation_unit
comment "/***********************************************************"...
comment "/* nav_region_2d.h "...
comment "/***********************************************************"...
comment "/* This file is part of: "...
comment "/* GODOT ENGINE "...
comment "/* https://godotengine.org "...
comment "/***********************************************************"...
comment "/* Copyright (c) 2014-present Godot Engine contributors (see"...
comment "/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. "...
comment "/* "...
comment "/* Permission is hereby granted, free of charge, to any pers"...
comment "/* a copy of this software and associated documentation file"...
comment "/* \"Software\"), to deal in the Software without restriction,"...
comment "/* without limitation the rights to use, copy, modify, merge"...
comment "/* distribute, sublicense, and/or sell copies of the Softwar"...
comment "/* permit persons to whom the Software is furnished to do so"...
comment "/* the following conditions: "...
comment "/* "...
comment "/* The above copyright notice and this permission notice sha"...
comment "/* included in all copies or substantial portions of the Sof"...
comment "/* "...
comment "/* THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY"...
comment "/* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARR"...
comment "/* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON"...
comment "/* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIA"...
comment "/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION O"...
comment "/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION "...
comment "/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. "...
comment "/***********************************************************"...
preproc_call
preproc_directive "#pragma"
preproc_arg "once"
preproc_include
#include "#include"
string_literal
" "\""
string_content "2d/nav_region_iteration_2d.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "nav_base_2d.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "nav_utils_2d.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "core/os/rw_lock.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "scene/resources/2d/navigation_polygon.h"
" "\""
function_definition (+653 nodes collapsed)
expression_statement
; ";"