summaryrefslogtreecommitdiff
path: root/ui/qt/proto_tree.h
diff options
context:
space:
mode:
authorStig Bjørlykke <stig@bjorlykke.org>2016-02-23 09:30:48 +0100
committerStig Bjørlykke <stig@bjorlykke.org>2016-02-23 18:30:48 +0000
commitb5ac91399cccdf065d065497c83ca8e8ac864fe7 (patch)
tree79380a0c9d60c926463c5de9ad776191329a4f8c /ui/qt/proto_tree.h
parent0ef196a643daf3e9654dd118cddbec5c80f7f6ff (diff)
downloadwireshark-b5ac91399cccdf065d065497c83ca8e8ac864fe7.tar.gz
Qt: Select matching tree item and bytes in Find Packet
Highlight the matching tree item and matching packet bytes when doing a Find Packet. Added cf->search_len to correctly highlight the matching bytes when doing a regex search. Bug: 12157 Change-Id: I84fbdb9b43be4355e24aff3cf5f8850f1119e2bf Reviewed-on: https://code.wireshark.org/review/14086 Petri-Dish: Stig Bjørlykke <stig@bjorlykke.org> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Stig Bjørlykke <stig@bjorlykke.org>
Diffstat (limited to 'ui/qt/proto_tree.h')
-rw-r--r--ui/qt/proto_tree.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/qt/proto_tree.h b/ui/qt/proto_tree.h
index 298782cf36..a97f69c6a5 100644
--- a/ui/qt/proto_tree.h
+++ b/ui/qt/proto_tree.h
@@ -42,6 +42,7 @@ public:
void fillProtocolTree(proto_tree *protocol_tree);
void emitRelatedFrame(int related_frame, ft_framenum_type_t framenum_type = FT_FRAMENUM_NONE);
void goToField(int hf_id);
+ void selectField(field_info *fi);
void closeContextMenu();
void clear();