Skip to content

Incremental parsing breaks from unclosed quotation marks

Submitted by Anton Vikstrom

Link to original bug (#572812)

Description

When there is a single unclosed quotation mark in the code, every character press results in the error pop-up:

' Updating the syntax incrementally for <filename> has encountered a problem.

An internal error occurred during: "Updating the syntax incrementally for: <filename>".

Details: An internal error occurred during: "Updating the syntax incrementally for: sandbox.ttcn". -1 '

I understand that incremental parsing breaks because of the unclosed quotation mark. Is that intended behavior? Are you supposed to only work carefully with content-assisted auto-closed quotation marks when using incremental parsing? Is the disruptive pop-up the best way of handling this error? Should it not simply mark the code with a syntax error?

Version: 7.2.0