Smattr / clink

a modern re-implementation of Cscope
The Unlicense
38 stars 2 forks source link

duplicate result rows when symbol appears multiple times #205

Closed Smattr closed 1 year ago

Smattr commented 1 year ago

If you have a symbol appearing multiple times in the same row (e.g. if (stack_sz < stack_size(foo)) when searching for stack.*), you get multiple identical indistinguishable rows in the UI. It’s not immediately clear what we should do about this. De-duplicating seems like one obvious option. But the two rows may have differing (not shown) column information. Maybe we should use something like underlining to indicate the actual result?