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–45 unchanged (45 lines)
46enum class MetaActionType;
47enum class RasterOp;
48namespace rtl { template <class reference_type> class Reference; }
49namespace vcl { enum class PushFlags; }
50namespace vcl::text { enum class ComplexTextLayoutFlags : sal_uInt8; }
51
52struct ImplMetaReadData
53{
54 rtl_TextEncoding meActualCharSet;
55 int mnParseDepth;
56
57 ImplMetaReadData()
58 : meActualCharSet(RTL_TEXTENCODING_ASCII_US)
59 , mnParseDepth(0)
60 {}
61};
62
63struct ImplMetaWriteData
64{
65 rtl_TextEncoding meActualCharSet;
66
67 ImplMetaWriteData() :
68 meActualCharSet( RTL_TEXTENCODING_ASCII_US )
69 {}
70};
71
72class VCL_DLLPUBLIC MetaAction : public salhelper::SimpleReferenceObject
73{
74private:
75 MetaActionType mnType;
76
…lines 77–1599 unchanged (1523 lines)

After

…lines 1–44 unchanged (44 lines)
45enum class DrawTextFlags;
46enum class MetaActionType;
47enum class RasterOp;
48namespace rtl { template <class reference_type> class Reference; }
49namespace vcl { enum class PushFlags; }
50namespace vcl::text { enum class ComplexTextLayoutFlags : sal_uInt8; }
51
52class VCL_DLLPUBLIC MetaAction : public salhelper::SimpleReferenceObject
53{
54private:
55 MetaActionType mnType;
56
57protected:
…lines 58–1579 unchanged (1522 lines)

Before

translation_unit
comment "/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-bas"...
comment "/*\n * This file is part of the LibreOffice project.\n *\n * Th"...
preproc_ifdef
#ifndef "#ifndef"
identifier "INCLUDED_VCL_METAACT_HXX"
preproc_def
#define "#define"
identifier "INCLUDED_VCL_METAACT_HXX"
preproc_include
#include "#include"
system_lib_string "<sal/config.h>"
preproc_include
#include "#include"
system_lib_string "<salhelper/simplereferenceobject.hxx>"
preproc_include
#include "#include"
system_lib_string "<tools/poly.hxx>"
preproc_include
#include "#include"
system_lib_string "<vcl/dllapi.h>"
preproc_include
#include "#include"
system_lib_string "<vcl/bitmap.hxx>"
preproc_include
#include "#include"
system_lib_string "<vcl/font.hxx>"
preproc_include
#include "#include"
system_lib_string "<vcl/gdimtf.hxx>"
preproc_include
#include "#include"
system_lib_string "<vcl/gfxlink.hxx>"
preproc_include
#include "#include"
system_lib_string "<vcl/gradient.hxx>"
preproc_include
#include "#include"
system_lib_string "<vcl/hatch.hxx>"
preproc_include
#include "#include"
system_lib_string "<vcl/kernarray.hxx>"
preproc_include
#include "#include"
system_lib_string "<vcl/lineinfo.hxx>"
preproc_include
#include "#include"
system_lib_string "<vcl/region.hxx>"
preproc_include
#include "#include"
system_lib_string "<vcl/wall.hxx>"
preproc_include
#include "#include"
system_lib_string "<basegfx/utils/bgradient.hxx>"
preproc_include
#include "#include"
system_lib_string "<memory>"
preproc_include
#include "#include"
system_lib_string "<span>"
class_specifier
class "class"
type_identifier "OutputDevice"
; ";"
enum_specifier
enum "enum"
class "class"
type_identifier "DrawTextFlags"
; ";"
enum_specifier
enum "enum"
class "class"
type_identifier "MetaActionType"
; ";"
enum_specifier
enum "enum"
class "class"
type_identifier "RasterOp"
; ";"
namespace_definition
namespace "namespace"
namespace_identifier "rtl"
declaration_list
{ "{"
template_declaration
template "template"
template_parameter_list
< "<"
type_parameter_declaration
class "class"
type_identifier "reference_type"
> ">"
class_specifier
class "class"
type_identifier "Reference"
; ";"
} "}"
namespace_definition
namespace "namespace"
namespace_identifier "vcl"
declaration_list
{ "{"
enum_specifier
enum "enum"
class "class"
type_identifier "PushFlags"
; ";"
} "}"
namespace_definition
namespace "namespace"
nested_namespace_specifier
namespace_identifier "vcl"
:: "::"
namespace_identifier "text"
declaration_list
{ "{"
enum_specifier
enum "enum"
class "class"
type_identifier "ComplexTextLayoutFlags"
: ":"
type_identifier "sal_uInt8"
; ";"
} "}"
struct_specifier
struct "struct"
type_identifier "ImplMetaReadData"
field_declaration_list
{ "{"
field_declaration
type_identifier "rtl_TextEncoding"
field_identifier "meActualCharSet"
; ";"
field_declaration
primitive_type "int"
field_identifier "mnParseDepth"
; ";"
function_definition
function_declarator
identifier "ImplMetaReadData"
parameter_list
( "("
) ")"
field_initializer_list
: ":"
field_initializer
field_identifier "meActualCharSet"
argument_list
( "("
identifier "RTL_TEXTENCODING_ASCII_US"
) ")"
, ","
field_initializer
field_identifier "mnParseDepth"
argument_list
( "("
number_literal "0"
) ")"
compound_statement
{ "{"
} "}"
} "}"
; ";"
struct_specifier
struct "struct"
type_identifier "ImplMetaWriteData"
field_declaration_list
{ "{"
field_declaration
type_identifier "rtl_TextEncoding"
field_identifier "meActualCharSet"
; ";"
function_definition
function_declarator
identifier "ImplMetaWriteData"
parameter_list
( "("
) ")"
field_initializer_list
: ":"
field_initializer
field_identifier "meActualCharSet"
argument_list
( "("
identifier "RTL_TEXTENCODING_ASCII_US"
) ")"
compound_statement
{ "{"
} "}"
} "}"
; ";"
function_definition (+207 nodes collapsed)
expression_statement
; ";"
function_definition (+274 nodes collapsed)
expression_statement
; ";"
function_definition (+243 nodes collapsed)
expression_statement
; ";"
function_definition (+325 nodes collapsed)
expression_statement
; ";"
function_definition (+252 nodes collapsed)
expression_statement
; ";"
function_definition (+299 nodes collapsed)
expression_statement
; ";"
function_definition (+252 nodes collapsed)
expression_statement
; ";"
function_definition (+315 nodes collapsed)
expression_statement
; ";"
function_definition (+315 nodes collapsed)
expression_statement
; ";"
function_definition (+315 nodes collapsed)
expression_statement
; ";"
function_definition (+290 nodes collapsed)
expression_statement
; ";"
function_definition (+248 nodes collapsed)
expression_statement
; ";"
function_definition (+248 nodes collapsed)
expression_statement
; ";"
function_definition (+314 nodes collapsed)
expression_statement
; ";"
function_definition (+480 nodes collapsed)
expression_statement
; ";"
function_definition (+338 nodes collapsed)
expression_statement
; ";"
function_definition (+303 nodes collapsed)
expression_statement
; ";"
function_definition (+347 nodes collapsed)
expression_statement
; ";"
function_definition (+274 nodes collapsed)
expression_statement
; ";"
function_definition (+306 nodes collapsed)
expression_statement
; ";"
function_definition (+370 nodes collapsed)
expression_statement
; ";"
function_definition (+303 nodes collapsed)
expression_statement
; ";"
function_definition (+335 nodes collapsed)
expression_statement
; ";"
function_definition (+399 nodes collapsed)
expression_statement
; ";"
function_definition (+306 nodes collapsed)
expression_statement
; ";"
function_definition (+338 nodes collapsed)
expression_statement
; ";"
function_definition (+402 nodes collapsed)
expression_statement
; ";"
function_definition (+279 nodes collapsed)
expression_statement
; ";"
function_definition (+275 nodes collapsed)
expression_statement
; ";"
function_definition (+279 nodes collapsed)
expression_statement
; ";"
function_definition (+283 nodes collapsed)
expression_statement
; ";"
function_definition (+269 nodes collapsed)
expression_statement
; ";"
function_definition (+250 nodes collapsed)
expression_statement
; ";"
function_definition (+246 nodes collapsed)
expression_statement
; ";"
function_definition (+248 nodes collapsed)
expression_statement
; ";"
function_definition (+218 nodes collapsed)
expression_statement
; ";"
function_definition (+218 nodes collapsed)
expression_statement
; ";"
function_definition (+195 nodes collapsed)
expression_statement
; ";"
function_definition (+218 nodes collapsed)
expression_statement
; ";"
function_definition (+218 nodes collapsed)
expression_statement
; ";"
function_definition (+218 nodes collapsed)
expression_statement
; ";"
function_definition (+188 nodes collapsed)
expression_statement
; ";"
function_definition (+223 nodes collapsed)
expression_statement
; ";"
comment "// tdf#127471 decl for friend below"
namespace_definition
namespace "namespace"
namespace_identifier "emfio"
declaration_list
{ "{"
class_specifier
class "class"
type_identifier "ScaledFontDetectCorrectHelper"
; ";"
} "}"
function_definition (+258 nodes collapsed)
expression_statement
; ";"
function_definition (+197 nodes collapsed)
expression_statement
; ";"
function_definition (+159 nodes collapsed)
expression_statement
; ";"
function_definition (+188 nodes collapsed)
expression_statement
; ";"
function_definition (+289 nodes collapsed)
expression_statement
; ";"
declaration
class_specifier
class "class"
type_identifier "UNLESS_MERGELIBS"
parenthesized_declarator
( "("
identifier "VCL_DLLPUBLIC"
) ")"
; ""
function_definition (+426 nodes collapsed)
expression_statement
; ";"
declaration
class_specifier
class "class"
type_identifier "UNLESS_MERGELIBS"
parenthesized_declarator
( "("
identifier "VCL_DLLPUBLIC"
) ")"
; ""
function_definition (+331 nodes collapsed)
expression_statement
; ";"
function_definition (+218 nodes collapsed)
expression_statement
; ";"
function_definition (+305 nodes collapsed)
expression_statement
; ";"
function_definition (+206 nodes collapsed)
expression_statement
; ";"
function_definition (+187 nodes collapsed)
expression_statement
; ";"
#endif "#endif"
comment "// INCLUDED_VCL_METAACT_HXX"
comment "/* vim:set shiftwidth=4 softtabstop=4 expandtab: */"

After

translation_unit
comment "/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-bas"...
comment "/*\n * This file is part of the LibreOffice project.\n *\n * Th"...
preproc_ifdef
#ifndef "#ifndef"
identifier "INCLUDED_VCL_METAACT_HXX"
preproc_def
#define "#define"
identifier "INCLUDED_VCL_METAACT_HXX"
preproc_include
#include "#include"
system_lib_string "<sal/config.h>"
preproc_include
#include "#include"
system_lib_string "<salhelper/simplereferenceobject.hxx>"
preproc_include
#include "#include"
system_lib_string "<tools/poly.hxx>"
preproc_include
#include "#include"
system_lib_string "<vcl/dllapi.h>"
preproc_include
#include "#include"
system_lib_string "<vcl/bitmap.hxx>"
preproc_include
#include "#include"
system_lib_string "<vcl/font.hxx>"
preproc_include
#include "#include"
system_lib_string "<vcl/gdimtf.hxx>"
preproc_include
#include "#include"
system_lib_string "<vcl/gfxlink.hxx>"
preproc_include
#include "#include"
system_lib_string "<vcl/gradient.hxx>"
preproc_include
#include "#include"
system_lib_string "<vcl/hatch.hxx>"
preproc_include
#include "#include"
system_lib_string "<vcl/kernarray.hxx>"
preproc_include
#include "#include"
system_lib_string "<vcl/lineinfo.hxx>"
preproc_include
#include "#include"
system_lib_string "<vcl/region.hxx>"
preproc_include
#include "#include"
system_lib_string "<vcl/wall.hxx>"
preproc_include
#include "#include"
system_lib_string "<basegfx/utils/bgradient.hxx>"
preproc_include
#include "#include"
system_lib_string "<memory>"
preproc_include
#include "#include"
system_lib_string "<span>"
class_specifier
class "class"
type_identifier "OutputDevice"
; ";"
enum_specifier
enum "enum"
class "class"
type_identifier "DrawTextFlags"
; ";"
enum_specifier
enum "enum"
class "class"
type_identifier "MetaActionType"
; ";"
enum_specifier
enum "enum"
class "class"
type_identifier "RasterOp"
; ";"
namespace_definition
namespace "namespace"
namespace_identifier "rtl"
declaration_list
{ "{"
template_declaration
template "template"
template_parameter_list
< "<"
type_parameter_declaration
class "class"
type_identifier "reference_type"
> ">"
class_specifier
class "class"
type_identifier "Reference"
; ";"
} "}"
namespace_definition
namespace "namespace"
namespace_identifier "vcl"
declaration_list
{ "{"
enum_specifier
enum "enum"
class "class"
type_identifier "PushFlags"
; ";"
} "}"
namespace_definition
namespace "namespace"
nested_namespace_specifier
namespace_identifier "vcl"
:: "::"
namespace_identifier "text"
declaration_list
{ "{"
enum_specifier
enum "enum"
class "class"
type_identifier "ComplexTextLayoutFlags"
: ":"
type_identifier "sal_uInt8"
; ";"
} "}"
function_definition (+207 nodes collapsed)
expression_statement
; ";"
function_definition (+274 nodes collapsed)
expression_statement
; ";"
function_definition (+243 nodes collapsed)
expression_statement
; ";"
function_definition (+325 nodes collapsed)
expression_statement
; ";"
function_definition (+252 nodes collapsed)
expression_statement
; ";"
function_definition (+299 nodes collapsed)
expression_statement
; ";"
function_definition (+252 nodes collapsed)
expression_statement
; ";"
function_definition (+315 nodes collapsed)
expression_statement
; ";"
function_definition (+315 nodes collapsed)
expression_statement
; ";"
function_definition (+315 nodes collapsed)
expression_statement
; ";"
function_definition (+290 nodes collapsed)
expression_statement
; ";"
function_definition (+248 nodes collapsed)
expression_statement
; ";"
function_definition (+248 nodes collapsed)
expression_statement
; ";"
function_definition (+314 nodes collapsed)
expression_statement
; ";"
function_definition (+480 nodes collapsed)
expression_statement
; ";"
function_definition (+338 nodes collapsed)
expression_statement
; ";"
function_definition (+303 nodes collapsed)
expression_statement
; ";"
function_definition (+347 nodes collapsed)
expression_statement
; ";"
function_definition (+274 nodes collapsed)
expression_statement
; ";"
function_definition (+306 nodes collapsed)
expression_statement
; ";"
function_definition (+370 nodes collapsed)
expression_statement
; ";"
function_definition (+303 nodes collapsed)
expression_statement
; ";"
function_definition (+335 nodes collapsed)
expression_statement
; ";"
function_definition (+399 nodes collapsed)
expression_statement
; ";"
function_definition (+306 nodes collapsed)
expression_statement
; ";"
function_definition (+338 nodes collapsed)
expression_statement
; ";"
function_definition (+402 nodes collapsed)
expression_statement
; ";"
function_definition (+279 nodes collapsed)
expression_statement
; ";"
function_definition (+275 nodes collapsed)
expression_statement
; ";"
function_definition (+279 nodes collapsed)
expression_statement
; ";"
function_definition (+283 nodes collapsed)
expression_statement
; ";"
function_definition (+269 nodes collapsed)
expression_statement
; ";"
function_definition (+250 nodes collapsed)
expression_statement
; ";"
function_definition (+246 nodes collapsed)
expression_statement
; ";"
function_definition (+248 nodes collapsed)
expression_statement
; ";"
function_definition (+218 nodes collapsed)
expression_statement
; ";"
function_definition (+218 nodes collapsed)
expression_statement
; ";"
function_definition (+195 nodes collapsed)
expression_statement
; ";"
function_definition (+218 nodes collapsed)
expression_statement
; ";"
function_definition (+218 nodes collapsed)
expression_statement
; ";"
function_definition (+218 nodes collapsed)
expression_statement
; ";"
function_definition (+188 nodes collapsed)
expression_statement
; ";"
function_definition (+223 nodes collapsed)
expression_statement
; ";"
comment "// tdf#127471 decl for friend below"
namespace_definition
namespace "namespace"
namespace_identifier "emfio"
declaration_list
{ "{"
class_specifier
class "class"
type_identifier "ScaledFontDetectCorrectHelper"
; ";"
} "}"
function_definition (+258 nodes collapsed)
expression_statement
; ";"
function_definition (+197 nodes collapsed)
expression_statement
; ";"
function_definition (+159 nodes collapsed)
expression_statement
; ";"
function_definition (+188 nodes collapsed)
expression_statement
; ";"
function_definition (+289 nodes collapsed)
expression_statement
; ";"
declaration
class_specifier
class "class"
type_identifier "UNLESS_MERGELIBS"
parenthesized_declarator
( "("
identifier "VCL_DLLPUBLIC"
) ")"
; ""
function_definition (+426 nodes collapsed)
expression_statement
; ";"
declaration
class_specifier
class "class"
type_identifier "UNLESS_MERGELIBS"
parenthesized_declarator
( "("
identifier "VCL_DLLPUBLIC"
) ")"
; ""
function_definition (+331 nodes collapsed)
expression_statement
; ";"
function_definition (+218 nodes collapsed)
expression_statement
; ";"
function_definition (+305 nodes collapsed)
expression_statement
; ";"
function_definition (+206 nodes collapsed)
expression_statement
; ";"
function_definition (+187 nodes collapsed)
expression_statement
; ";"
#endif "#endif"
comment "// INCLUDED_VCL_METAACT_HXX"
comment "/* vim:set shiftwidth=4 softtabstop=4 expandtab: */"