Capitalize tooltip labels on buffer search (#18458)
For consistency, as this seems to be the pattern we're using overall for labels and buttons. --- Release Notes: - N/A
This commit is contained in:
parent
d5f67406b0
commit
1c5be9de4e
2 changed files with 10 additions and 10 deletions
|
@ -53,10 +53,10 @@ bitflags! {
|
|||
impl SearchOptions {
|
||||
pub fn label(&self) -> &'static str {
|
||||
match *self {
|
||||
SearchOptions::WHOLE_WORD => "Match whole words",
|
||||
SearchOptions::CASE_SENSITIVE => "Match case sensitively",
|
||||
SearchOptions::WHOLE_WORD => "Match Whole Words",
|
||||
SearchOptions::CASE_SENSITIVE => "Match Case Sensitively",
|
||||
SearchOptions::INCLUDE_IGNORED => "Also search files ignored by configuration",
|
||||
SearchOptions::REGEX => "Use regular expressions",
|
||||
SearchOptions::REGEX => "Use Regular Expressions",
|
||||
_ => panic!("{:?} is not a named SearchOption", self),
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue