-
Notifications
You must be signed in to change notification settings - Fork 152
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add option to insert completion item on PointerPressed/PointerRelease…
…d/DoubleTapped
- Loading branch information
1 parent
a9b6b20
commit ac3e2bc
Showing
6 changed files
with
143 additions
and
32 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
namespace AvaloniaEdit.CodeCompletion; | ||
|
||
/// <summary> | ||
/// Defines the pointer action used to request the insertion of a completion item. | ||
/// </summary> | ||
public enum CompletionAcceptAction | ||
{ | ||
/// <summary> | ||
/// Insert the completion item when the pointer is pressed. (This option makes the completion | ||
/// list behave similar to the completion list in Visual Studio Code.) | ||
/// </summary> | ||
PointerPressed, | ||
|
||
/// <summary> | ||
/// Insert the completion item when the pointer is pressed. (This option makes the completion | ||
/// list behave similar to a context menu.) | ||
/// </summary> | ||
PointerReleased, | ||
|
||
/// <summary> | ||
/// Insert the code completion item when the item is double-tapped. (This option makes the | ||
/// completion list behave similar to the completion list in Visual Studio.) | ||
/// </summary> | ||
DoubleTapped | ||
} |
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