Keywords: ThingML1 , Open-source, Framework, Editor, Integrated de-velopment environment (IDE), Domain-specific language (DSL), Eclipse,RsyntaxTextArea, Eclipse Modeling Framework, EMFText, Xtext.
In this thesis there has been a research on different text-editor frameworks that can be easily implemented with a domain-specific language.
Several frameworks were tested both by implementing a language and bya comparison of available data. From this we ended up favouring RSyntaxTextArea and made a fully working editor with the language ThingML. Features implemented were syntax highlighting, code suggestion/completion, outline/syntax tree, and error-reporting. These selected features were chosen by having a survey of which gathered information on what kind of editors developers use, what kind of features the editors supports and what features that were used.