Example usage for com.intellij.openapi.actionSystem IdeActions ACTION_EDITOR_DELETE_LINE

List of usage examples for com.intellij.openapi.actionSystem IdeActions ACTION_EDITOR_DELETE_LINE

Introduction

In this page you can find the example usage for com.intellij.openapi.actionSystem IdeActions ACTION_EDITOR_DELETE_LINE.

Prototype

String ACTION_EDITOR_DELETE_LINE

To view the source code for com.intellij.openapi.actionSystem IdeActions ACTION_EDITOR_DELETE_LINE.

Click Source Link

Usage

From source file:com.intellij.codeInsight.CodeInsightTestCase.java

License:Apache License

protected void deleteLine() {
    EditorActionManager actionManager = EditorActionManager.getInstance();
    EditorActionHandler action = actionManager.getActionHandler(IdeActions.ACTION_EDITOR_DELETE_LINE);
    action.execute(getEditor(), DataManager.getInstance().getDataContext());
}