Fixed path to project
Implemented logic to find start and end of the structure enclosing the caret