mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-09-16 09:16:26 +02:00
Use model searching in commits (and sub-commits) view
This commit is contained in:
@@ -114,12 +114,16 @@ type ISearchableContext interface {
|
||||
Context
|
||||
ISearchHistoryContext
|
||||
|
||||
// These are all implemented by SearchTrait
|
||||
SetSearchString(string)
|
||||
GetSearchString() string
|
||||
ClearSearchString()
|
||||
IsSearching() bool
|
||||
IsSearchableContext()
|
||||
RenderSearchStatus(int, int)
|
||||
|
||||
// This must be implemented by each concrete context. Return nil if not searching the model.
|
||||
ModelSearchResults(searchStr string, caseSensitive bool) []gocui.SearchPosition
|
||||
}
|
||||
|
||||
type DiffableContext interface {
|
||||
|
Reference in New Issue
Block a user