You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
notepad-plus-plus/lexilla/test/unit/Sci.natvis

34 lines
1.4 KiB

<?xml version="1.0" encoding="utf-8"?>
<AutoVisualizer xmlns="http://schemas.microsoft.com/vstudio/debugger/natvis/2010">
<Type Name="Scintilla::SplitVector&lt;*&gt;">
<DisplayString>{{size = {lengthBody}}}</DisplayString>
<Expand>
<Item Name="[size]">lengthBody</Item>
<Item Name="[part1Length]">part1Length</Item>
<Item Name="[gap]">gapLength</Item>
<IndexListItems>
<Size>lengthBody</Size>
<ValueNode>body[($i&lt;part1Length)?$i:$i+gapLength]</ValueNode>
</IndexListItems>
</Expand>
</Type>
<Type Name="Scintilla::Partitioning&lt;*&gt;">
<DisplayString>{{size = {body->lengthBody}}}</DisplayString>
<Expand>
<IndexListItems>
<Size>body->lengthBody</Size>
<ValueNode>body->body[($i&lt;body->part1Length)?$i:$i+body->gapLength]+($i&gt;stepPartition?stepLength:0)</ValueNode>
</IndexListItems>
</Expand>
</Type>
<Type Name="std::unique_ptr&lt;*&gt;">
<SmartPointer Usage="Minimal">_Mypair._Myval2</SmartPointer>
<DisplayString Condition="_Mypair._Myval2 == 0">empty</DisplayString>
<DisplayString Condition="_Mypair._Myval2 != 0">unique_ptr {*_Mypair._Myval2}</DisplayString>
<Expand>
<ExpandedItem Condition="_Mypair._Myval2 != 0">_Mypair._Myval2</ExpandedItem>
<ExpandedItem Condition="_Mypair._Myval2 != 0">_Mypair</ExpandedItem>
</Expand>
</Type>
</AutoVisualizer>