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

1#ifndef HEADER_CommandScreen
2#define HEADER_CommandScreen
3
4#include "InfoScreen.h"
5#include "Object.h"
6#include "Process.h"
7
8
9typedef struct CommandScreen_ {
10 InfoScreen super;
…lines 11–20 unchanged (10 lines)

After

1#ifndef HEADER_CommandScreen
2#define HEADER_CommandScreen
3/*
4htop - CommandScreen.h
5(C) 2017,2020 ryenus
6(C) 2020,2021 htop dev team
7Released under the GNU GPLv2+, see the COPYING file
8in the source distribution for its full text.
9*/
10
11#include "InfoScreen.h"
12#include "Object.h"
13#include "Process.h"
14
15
…lines 16–27 unchanged (12 lines)

Before

translation_unit
preproc_ifdef
#ifndef "#ifndef"
identifier "HEADER_CommandScreen"
preproc_def
#define "#define"
identifier "HEADER_CommandScreen"
preproc_include
#include "#include"
string_literal
" "\""
string_content "InfoScreen.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "Object.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "Process.h"
" "\""
type_definition
typedef "typedef"
struct_specifier
struct "struct"
type_identifier "CommandScreen_"
field_declaration_list
{ "{"
field_declaration
type_identifier "InfoScreen"
field_identifier "super"
; ";"
} "}"
type_identifier "CommandScreen"
; ";"
declaration
storage_class_specifier
extern "extern"
type_qualifier
const "const"
type_identifier "InfoScreenClass"
identifier "CommandScreen_class"
; ";"
declaration
type_identifier "CommandScreen"
pointer_declarator
* "*"
function_declarator
identifier "CommandScreen_new"
parameter_list
( "("
parameter_declaration
type_identifier "Process"
pointer_declarator
* "*"
identifier "process"
) ")"
; ";"
declaration
primitive_type "void"
function_declarator
identifier "CommandScreen_delete"
parameter_list
( "("
parameter_declaration
type_identifier "Object"
pointer_declarator
* "*"
identifier "this"
) ")"
; ";"
#endif "#endif"

After

translation_unit
preproc_ifdef
#ifndef "#ifndef"
identifier "HEADER_CommandScreen"
preproc_def
#define "#define"
identifier "HEADER_CommandScreen"
comment "/*\nhtop - CommandScreen.h\n(C) 2017,2020 ryenus\n(C) 2020,2021"...
preproc_include
#include "#include"
string_literal
" "\""
string_content "InfoScreen.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "Object.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "Process.h"
" "\""
type_definition
typedef "typedef"
struct_specifier
struct "struct"
type_identifier "CommandScreen_"
field_declaration_list
{ "{"
field_declaration
type_identifier "InfoScreen"
field_identifier "super"
; ";"
} "}"
type_identifier "CommandScreen"
; ";"
declaration
storage_class_specifier
extern "extern"
type_qualifier
const "const"
type_identifier "InfoScreenClass"
identifier "CommandScreen_class"
; ";"
declaration
type_identifier "CommandScreen"
pointer_declarator
* "*"
function_declarator
identifier "CommandScreen_new"
parameter_list
( "("
parameter_declaration
type_identifier "Process"
pointer_declarator
* "*"
identifier "process"
) ")"
; ";"
declaration
primitive_type "void"
function_declarator
identifier "CommandScreen_delete"
parameter_list
( "("
parameter_declaration
type_identifier "Object"
pointer_declarator
* "*"
identifier "this"
) ")"
; ";"
#endif "#endif"