/*
 * Copyright 2000-2014 JetBrains s.r.o.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package com.intellij.xdebugger.impl.actions;

import com.intellij.openapi.actionSystem.RegistryToggleAction;

/**
 * @author Konstantin Bulenkov
 */
public class UseInlineDebuggerAction extends RegistryToggleAction {
  public UseInlineDebuggerAction() {
    super("ide.debugger.inline");
  }
}

@@ -21,9 +21,9 @@
 -201
-4
+5
  Jet
@@ -640,16 +640,72 @@
 tions;%0A%0A
+import com.intellij.openapi.actionSystem.AnActionEvent;%0A
 import c
@@ -758,16 +758,162 @@
 eAction;
+%0Aimport com.intellij.openapi.editor.Editor;%0Aimport com.intellij.openapi.fileEditor.FileEditorManager;%0Aimport com.intellij.openapi.project.Project;
 %0A%0A/**%0A *
@@ -1087,11 +1087,312 @@
 e%22);%0A  %7D
+%0A%0A  @Override%0A  public void doWhenDone(AnActionEvent e) %7B%0A    Project project = e.getProject();%0A    if (project != null) %7B%0A      final Editor editor = FileEditorManager.getInstance(project).getSelectedTextEditor();%0A      if (editor != null) %7B%0A        editor.getComponent().repaint();%0A      %7D%0A    %7D%0A  %7D
 %0A%7D%0A

update editor to add/remove inlined debug values when the option is set to on/off