From 75d05ea710f80a0ca2fdc53b638952a7a97e7ad8 Mon Sep 17 00:00:00 2001 From: Xusheng Date: Mon, 24 Aug 2020 21:46:36 +0800 Subject: display as in linear view --- linearviewcursor.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'linearviewcursor.cpp') diff --git a/linearviewcursor.cpp b/linearviewcursor.cpp index 41356c47..7be2a96b 100644 --- a/linearviewcursor.cpp +++ b/linearviewcursor.cpp @@ -208,6 +208,10 @@ vector LinearViewCursor::GetLines() line.contents.highlight = lines[i].contents.highlight; line.contents.tokens = InstructionTextToken::ConvertInstructionTextTokenList(lines[i].contents.tokens, lines[i].contents.count); line.contents.tags = Tag::ConvertTagList(lines[i].contents.tags, lines[i].contents.tagCount); + line.contents.typeInfo.hasTypeInfo = lines[i].contents.typeInfo.hasTypeInfo; + line.contents.typeInfo.fieldIndex = lines[i].contents.typeInfo.fieldIndex; + line.contents.typeInfo.parentType = lines[i].contents.typeInfo.parentType ? + new Type(BNNewTypeReference(lines[i].contents.typeInfo.parentType)) : nullptr; result.push_back(line); } -- cgit v1.3.1