Skip to content

Commit 6ee7161

Browse files
committed
omg!
1 parent 0f61e0e commit 6ee7161

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/com/goide/dlv/DlvXValue.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ private XSourcePosition findPosition() {
179179
XSourcePosition position = debugSession.getCurrentPosition();
180180
Editor editor = ((FileEditorManagerImpl)FileEditorManager.getInstance(project)).getSelectedTextEditor(true);
181181
if (editor == null || position == null) return null;
182-
String name = myName.startsWith("&") ? myName.replaceFirst("&\\w+", "") : myName;
182+
String name = myName.startsWith("&") ? myName.replaceFirst("\\&", "") : myName;
183183
PsiElement resolved = findTargetElement(project, position, editor, name);
184184
if (resolved == null) return null;
185185
VirtualFile virtualFile = resolved.getContainingFile().getVirtualFile();

0 commit comments

Comments
 (0)