AS1/2: Ctrl+click to declaration of variables, registers. Hilighting methods and classes

AS1/2: Debugger - Show registers
Fixed ctrl+click underline position
This commit is contained in:
Jindra Petřík
2015-12-05 10:53:43 +01:00
parent 8b7e754247
commit ec666b60e4
20 changed files with 321 additions and 64 deletions
@@ -358,12 +358,12 @@ public class ABCPanel extends JPanel implements ItemListener, SearchListener<ABC
@Override
public boolean isLink(Token token) {
return hasDeclaration(token.length == 1 ? token.start : token.start + 1);
return hasDeclaration(token.start);
}
@Override
public void handleLink(Token token) {
gotoDeclaration(token.length == 1 ? token.start : token.start + 1);
gotoDeclaration(token.start);
}
@Override