diff --git a/src/app/editor/contextView.js b/src/app/editor/contextView.js index 1763a9e6b7..671e4d2d57 100644 --- a/src/app/editor/contextView.js +++ b/src/app/editor/contextView.js @@ -140,7 +140,8 @@ function isDefinition (node) { node.name === 'FunctionDefinition' || node.name === 'ModifierDefinition' || node.name === 'VariableDeclaration' || - node.name === 'StructDefinition' + node.name === 'StructDefinition' || + node.name === 'EventDefinition' } module.exports = ContextView