kaitai-io / kaitai_struct_visualizer

Kaitai Struct: visualizer and hex viewer tool
https://rubygems.org/gems/kaitai-struct-visualizer
GNU General Public License v3.0
280 stars 25 forks source link

Instances do not highlight types as groups of values #36

Closed Icekhaos closed 1 year ago

Icekhaos commented 4 years ago

Types used in seq will display the type, when selected by itself, and when components are highlighted, as a group. That is, it'll highlight the entire type structure, with the particular thing you have selected being highlighted brighter than everything else. Instances do not do this.

Is this a bug, or just a currently NI feature?

Also semi related: selecting the type itself (and not any of the values/arrays contained within) does not highlight the entire type. This also happens with seq stuff.

GreyCat commented 4 years ago

Unfortunately, it's not very clear what you're talking about.

Types used in seq will display the type

What is "display the type"?

when selected by itself

What is "types used in seq ... when selected by itself"?

and when components are highlighted,

What are "components"?

That is, it'll highlight the entire type structure

I have no idea what do you mean by "entire type structure"?

Can I ask you to rephrase what you wanted to say using common terminology, e.g. one used in KSY schema, user guide or sources?

Icekhaos commented 4 years ago

I will just post pictures of what I mean.

Here it is using seq: image Here it is using instances: image

Yet another minor thing, unrelated to this, is that there is a question mark when instances are used until I expand the type: image