-
Notifications
You must be signed in to change notification settings - Fork 97
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Introduce new FindReplaceDialog (layout only)
- Loading branch information
1 parent
d1a1488
commit d65064b
Showing
11 changed files
with
358 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
85 changes: 85 additions & 0 deletions
85
OfficeRibbonXEditor/ViewModels/FindReplaceDialogViewModel.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,85 @@ | ||
namespace OfficeRibbonXEditor.ViewModels | ||
{ | ||
public class FindReplaceDialogViewModel : DialogBase | ||
{ | ||
private bool isStandardSearch = true; | ||
|
||
public bool IsStandardSearch | ||
{ | ||
get => this.isStandardSearch; | ||
set => this.Set(ref this.isStandardSearch, value); | ||
} | ||
|
||
private bool isExtendedSearch; | ||
|
||
public bool IsExtendedSearch | ||
{ | ||
get => this.isExtendedSearch; | ||
set => this.Set(ref this.isExtendedSearch, value); | ||
} | ||
|
||
private bool isRegExSearch; | ||
|
||
public bool IsRegExSearch | ||
{ | ||
get => this.isRegExSearch; | ||
set => this.Set(ref this.isRegExSearch, value); | ||
} | ||
|
||
private bool matchCase; | ||
|
||
public bool MatchCase | ||
{ | ||
get => this.matchCase; | ||
set => this.Set(ref this.matchCase, value); | ||
} | ||
|
||
private bool wholeWord; | ||
|
||
public bool WholeWord | ||
{ | ||
get => this.wholeWord; | ||
set => this.Set(ref this.wholeWord, value); | ||
} | ||
|
||
private bool wordStart; | ||
|
||
public bool WordStart | ||
{ | ||
get => this.wordStart; | ||
set => this.Set(ref this.wordStart, value); | ||
} | ||
|
||
private bool wrap; | ||
|
||
public bool Wrap | ||
{ | ||
get => this.wrap; | ||
set => this.Set(ref this.wrap, value); | ||
} | ||
|
||
private bool searchSelection; | ||
|
||
public bool SearchSelection | ||
{ | ||
get => this.searchSelection; | ||
set => this.Set(ref this.searchSelection, value); | ||
} | ||
|
||
private bool markLine; | ||
|
||
public bool MarkLine | ||
{ | ||
get => this.markLine; | ||
set => this.Set(ref this.markLine, value); | ||
} | ||
|
||
private bool highlightMatches; | ||
|
||
public bool HighlightMatches | ||
{ | ||
get => this.highlightMatches; | ||
set => this.Set(ref this.highlightMatches, value); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.