intellij-randomness / com.fwdekker.randomness.ui / com.intellij.ui.popup.list.ListPopupImpl / registerModifierActions

registerModifierActions

fun ListPopupImpl.registerModifierActions(modifierKey: ModifierKey, normalTitle: String, modifierTitle: String): Unit

Registers actions such that actions can be selected while holding Ctrl or Cmd.

Parameters

modifierKey - the modifier key for which actions should be registered

normalTitle - the title of the popup while the modifier key is not pressed

modifierTitle - the title of the popup while the modifier key is pressed