[all-commits] [llvm/llvm-project] 3c11e5: [LLDB][GUI] Add initial searcher support

Omar Emara via All-commits all-commits at lists.llvm.org
Wed Aug 25 13:55:26 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3c11e5722c302a9dcf01b97ace868e156e376bc6
      https://github.com/llvm/llvm-project/commit/3c11e5722c302a9dcf01b97ace868e156e376bc6
  Author: Omar Emara <mail at OmarEmara.dev>
  Date:   2021-08-25 (Wed, 25 Aug 2021)

  Changed paths:
    M lldb/source/Core/IOHandlerCursesGUI.cpp

  Log Message:
  -----------
  [LLDB][GUI] Add initial searcher support

This patch adds a new type of reusable UI components. Searcher Windows
contain a text field to enter a search keyword and a list of scrollable
matches are presented. The target match can be selected and executed
which invokes a user callback to do something with the match.

This patch also adds one searcher delegate, which wraps the common
command completion searchers for simple use cases.

Reviewed By: clayborg

Differential Revision: https://reviews.llvm.org/D108545




More information about the All-commits mailing list