Table of Contents

Struct KeyModifier

Namespace
Npp.DotNet.Plugin
Assembly
Npp.DotNet.Plugin.dll

Class containing key and modifiers.

public readonly struct KeyModifier
Inherited Members

Remarks

Constructors

KeyModifier(ScKeyCode, KeyMod)

public KeyModifier(ScKeyCode keyCode, KeyMod modifier)

Parameters

keyCode ScKeyCode

A visible or control character or a key from the ScKeyCode enumeration.

modifier KeyMod

A combination of zero or more of ALT, CTRL, SHIFT, META, and SUPER. On macOS, the Command key is mapped to CTRL and the Control key to META. SUPER is only available on GTK which is commonly the Windows key. If you are building a table, you might want to use NORM, which has the value 0, to mean no modifiers.

Properties

Value

public int Value { get; }

Property Value

int