This repository has been archived by the owner on Oct 16, 2020. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
More documentation and code refactoring
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/shortcuts@4646 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
- Loading branch information
Showing
14 changed files
with
802 additions
and
764 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
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
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
38 changes: 38 additions & 0 deletions
38
src/Main/ICSharpCode.Core.Presentation/Input/GestureCompareMode.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,38 @@ | ||
using System; | ||
using System.Windows.Input; | ||
|
||
namespace ICSharpCode.Core.Presentation | ||
{ | ||
public enum GestureCompareMode | ||
{ | ||
/// <summary> | ||
/// Match is successfull when all chrods from both instance of <see cref="InputGesture" /> match | ||
/// or all gestures in both instance of <see cref="InputGestureCollections" /> match | ||
/// </summary> | ||
ExactlyMatches, | ||
|
||
/// <summary> | ||
/// Match is successfull when two instance of <see cref="InputGesture" /> ar conflicting. | ||
/// | ||
/// Either one or another instance starts with the same chors as other one | ||
/// </summary> | ||
Conflicting, | ||
|
||
/// <summary> | ||
/// Match is successfull when template <see cref="InputGesture" /> partly matches compared <see cref="InputGesture" />. | ||
/// Template is found in any place within matched gesture | ||
/// </summary> | ||
PartlyMatches, | ||
|
||
|
||
/// <summary> | ||
/// Match is successfull when examined <see cref="InputGesture" /> starts with the same keys as template | ||
/// </summary> | ||
StartsWith, | ||
|
||
/// <summary> | ||
/// Match is successfull when examined <see cref="InputGesture" /> starts with the same complite chords as template | ||
/// </summary> | ||
StartsWithFullChords, | ||
} | ||
} |
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.