// Path: src/org/hunmr/acejump/marker/JOffset.java
// public class JOffset {
//     public Editor editor;
//     public int offset;
// 
//     public JOffset(Editor editor, int offset) {
//         this.editor = editor;
//         this.offset = offset;
//     }
// 
//     public void restoreCaret() {
//         editor.getContentComponent().requestFocus();
//         editor.getCaretModel().moveToOffset(offset);
//     }
// 
//     @Override
//     public boolean equals(Object o) {
//         if (this == o) return true;
//         if (o == null || getClass() != o.getClass()) return false;
// 
//         JOffset jOffset = (JOffset) o;
// 
//         if (offset != jOffset.offset) return false;
//         return !(editor != null ? !editor.equals(jOffset.editor) : jOffset.editor != null);
// 
//     }
// 
//     @Override
//     public int hashCode() {
//         int result = editor != null ? editor.hashCode() : 0;
//         result = 31 * result + offset;
//         return result;
//     }
// }
// 
// Path: src/org/hunmr/util/AppUtil.java
// public class AppUtil {
//     private static Runnable getRunnableWrapper(final Runnable runnable, final Editor editor) {
//         return new Runnable() {
//             @Override
//             public void run() {
//                 CommandProcessor.getInstance().executeCommand(editor.getProject(), runnable, "", ActionGroup.EMPTY_GROUP);
//             }
//         };
//     }
// 
//     public static void runWriteAction(final Runnable runnable, final Editor editor) {
//         try {
//             ApplicationManager.getApplication().runWriteAction(AppUtil.getRunnableWrapper(runnable, editor));
//         } catch (Exception e) {
//             HintManager.getInstance().showInformationHint(editor, e.getMessage());
//         }
//     }
// }


import com.intellij.openapi.editor.Editor;
import com.intellij.openapi.editor.SelectionModel;
import org.hunmr.acejump.marker.JOffset;
import org.hunmr.util.AppUtil;
package org.hunmr.acejump.command;


public class CopyAfterJumpCommand extends CommandAroundJump {
    public CopyAfterJumpCommand(Editor editor) {
        super(editor);
    }

    @Override
// Path: src/org/hunmr/acejump/marker/JOffset.java
// public class JOffset {
//     public Editor editor;
//     public int offset;
// 
//     public JOffset(Editor editor, int offset) {
//         this.editor = editor;
//         this.offset = offset;
//     }
// 
//     public void restoreCaret() {
//         editor.getContentComponent().requestFocus();
//         editor.getCaretModel().moveToOffset(offset);
//     }
// 
//     @Override
//     public boolean equals(Object o) {
//         if (this == o) return true;
//         if (o == null || getClass() != o.getClass()) return false;
// 
//         JOffset jOffset = (JOffset) o;
// 
//         if (offset != jOffset.offset) return false;
//         return !(editor != null ? !editor.equals(jOffset.editor) : jOffset.editor != null);
// 
//     }
// 
//     @Override
//     public int hashCode() {
//         int result = editor != null ? editor.hashCode() : 0;
//         result = 31 * result + offset;
//         return result;
//     }
// }
// 
// Path: src/org/hunmr/util/AppUtil.java
// public class AppUtil {
//     private static Runnable getRunnableWrapper(final Runnable runnable, final Editor editor) {
//         return new Runnable() {
//             @Override
//             public void run() {
//                 CommandProcessor.getInstance().executeCommand(editor.getProject(), runnable, "", ActionGroup.EMPTY_GROUP);
//             }
//         };
//     }
// 
//     public static void runWriteAction(final Runnable runnable, final Editor editor) {
//         try {
//             ApplicationManager.getApplication().runWriteAction(AppUtil.getRunnableWrapper(runnable, editor));
//         } catch (Exception e) {
//             HintManager.getInstance().showInformationHint(editor, e.getMessage());
//         }
//     }
// }


// Path: src/org/hunmr/acejump/command/CopyAfterJumpCommand.java
import com.intellij.openapi.editor.Editor;
import com.intellij.openapi.editor.SelectionModel;
import org.hunmr.acejump.marker.JOffset;
import org.hunmr.util.AppUtil;

package org.hunmr.acejump.command;


public class CopyAfterJumpCommand extends CommandAroundJump {
    public CopyAfterJumpCommand(Editor editor) {
        super(editor);
    }

    @Override
    public void afterJump() {