-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindesign.natvis
84 lines (71 loc) · 2.71 KB
/
indesign.natvis
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
<?xml version="1.0" encoding="utf-8"?>
<!--
author: Juan Carlos SANCHEZ <[email protected]>
last version: https://github.com/juancarlossanchez/InDesign-natvis
-->
<AutoVisualizer xmlns="http://schemas.microsoft.com/vstudio/debugger/natvis/2010">
<Type Name="PMString">
<DisplayString Condition="fNumChars == 0">""</DisplayString>
<DisplayString Condition="fStorage != 0">"{fStorage->fFirstCharOfBuffer,sub}"</DisplayString>
<DisplayString >"{fSmallStorage,sub}"</DisplayString>
<Expand>
<Item Name="[size]">fNumChars</Item>
<Item Name="[ShouldTranslate]" Condition="fShouldTranslate == 1" >true</Item>
<Item Name="[ShouldTranslate]" Condition="fShouldTranslate == 0" >false</Item>
<Item Name="[HasTranslated]" Condition="fHasTranslated == 1" >true</Item>
<Item Name="[HasTranslated]" Condition="fHasTranslated == 0" >false</Item>
</Expand>
</Type>
<Type Name="WideString">
<DisplayString Condition="fNumChars == 0">""</DisplayString>
<DisplayString Condition="fStorage != 0">"{fStorage->fFirstCharOfBuffer,sub}"</DisplayString>
<DisplayString >"{fSmallStorage,sub}"</DisplayString>
<Expand>
<Item Name="[size]">fNumChars</Item>
</Expand>
</Type>
<Type Name="IDFile">
<DisplayString>"{fDebugPath,sub}"</DisplayString>
<Expand>
</Expand>
</Type>
<Type Name="K2Vector<*,*>">
<DisplayString>{{Size = {fLength}}}</DisplayString>
<Expand>
<ArrayItems>
<Size>fLength</Size>
<ValuePointer>fArray</ValuePointer>
</ArrayItems>
</Expand>
</Type>
<Type Name="PMReal">
<DisplayString>{fRealValue,f}</DisplayString>
<Expand>
</Expand>
</Type>
<Type Name="IDType<UID_tag>">
<DisplayString >{{UID = {fIDInt}}}</DisplayString>
<Expand>
</Expand>
</Type>
<Type Name="UIDRef">
<DisplayString >{{UID = {fUID.fIDInt}}}</DisplayString>
<Expand>
</Expand>
</Type>
<Type Name="UIDList">
<DisplayString >{{Size = {fUIDList->fArray.fLength}}}</DisplayString>
<Expand>
<ArrayItems>
<Size>fUIDList->fArray.fLength</Size>
<ValuePointer>fUIDList->fArray.fArray</ValuePointer>
</ArrayItems>
</Expand>
</Type>
<Type Name="index_based_iterator<UIDList,IDType<*>>">
<DisplayString Condition="fPos >= fContainer->fUIDList->fArray.fLength">end()</DisplayString>
<DisplayString >{(*fContainer)[fPos]}</DisplayString>
<Expand>
</Expand>
</Type>
</AutoVisualizer>