Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1200)

Unified Diff: plugins/org.chromium.debug.ui/src/org/chromium/debug/ui/actions/LiveEditWizardAction.java

Issue 12040008: Disaply compile error position in editor (Closed) Base URL: https://chromedevtools.googlecode.com/svn/trunk
Patch Set: Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | plugins/org.chromium.debug.ui/src/org/chromium/debug/ui/actions/PushChangesAction.java » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: plugins/org.chromium.debug.ui/src/org/chromium/debug/ui/actions/LiveEditWizardAction.java
diff --git a/plugins/org.chromium.debug.ui/src/org/chromium/debug/ui/actions/LiveEditWizardAction.java b/plugins/org.chromium.debug.ui/src/org/chromium/debug/ui/actions/LiveEditWizardAction.java
index 59adf865cd2db32dde3dc0afcad5f8ef6862fd98..a59e557ca4e6e49347df03f6d53fd80aec689ad5 100644
--- a/plugins/org.chromium.debug.ui/src/org/chromium/debug/ui/actions/LiveEditWizardAction.java
+++ b/plugins/org.chromium.debug.ui/src/org/chromium/debug/ui/actions/LiveEditWizardAction.java
@@ -7,6 +7,7 @@ package org.chromium.debug.ui.actions;
import java.util.List;
import org.chromium.debug.core.util.ScriptTargetMapping;
+import org.chromium.debug.ui.liveedit.LiveEditResultDialog;
import org.chromium.debug.ui.liveedit.PushChangesWizard;
import org.eclipse.swt.widgets.Shell;
import org.eclipse.ui.IWorkbenchPart;
@@ -19,6 +20,8 @@ public class LiveEditWizardAction extends V8ScriptAction {
@Override
protected void execute(List<? extends ScriptTargetMapping> filePairList, Shell shell,
IWorkbenchPart workbenchPart) {
- PushChangesWizard.start(filePairList, shell);
+ LiveEditResultDialog.ErrorPositionHighlighter positionHighlighter =
+ PushChangesAction.createPositionHighlighter(workbenchPart);
+ PushChangesWizard.start(filePairList, shell, positionHighlighter);
}
}
« no previous file with comments | « no previous file | plugins/org.chromium.debug.ui/src/org/chromium/debug/ui/actions/PushChangesAction.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698