Robust Real-Time Synchronization between Textual and Graphical Editors

Oskar van Rest, Guido Wachsmuth, Jim Steel, Jörn Guy Süss, Eelco Visser. Robust Real-Time Synchronization between Textual and Graphical Editors. Preprint June 2013.

Abstract

In modern Integrated Development Environments (IDEs), textual editors are interactive and can handle intermediate, incomplete, or otherwise erroneous texts while still providing editor services such as syntax highlighting, error marking, outline views, and hover help. In this paper, we present an approach for the robust synchronization of interactive textual and graphical editors. The approach recovers from errors during parsing and text-to-model synchronization, preserves textual and graphical layout in the presence of erroneous texts and models, and provides synchronized editor services such as selection sharing and navigation between editors. It was implemented for synchronizing textual editors generated by the Spoofax language workbench and graphical editors generated by the Graphical Modeling Framework.

Published as

This technical report is published as: