1. A computer implemented method for performing interactive editing of an electronic circuit design, the method implemented with a processor, the method comprising: using at least one processor to perform a process, the process comprising: identifying an object in a layout of the electronic circuit design, wherein the object is to be manufactured with double patterning technology; checking whether the object corresponds to a double patterning violation by associating the object with a layer purpose pair and by using a spatial query around the object when the object is being created in the layout; determining whether a corrective solution is to be implemented to resolve the double patterning violation; and determining whether the corrective solution is to be implemented interactively.