Monday, April 22, 2013

Xaml Designer - The code editor

The wickedflame codeeditor is a small and simple editor for different programing languages written in C# and Xaml (WPF).

The basic features like text manipulation, Undo/Redo and navigation work (should) similar to any other Texteditor. 
The Syntaxhighlighting is defined in a simple xml file. At the moment there is a complete Syntaxhighlighting implementation for Xml/Xaml and a basic implementation for C#.



The Codecompletation is not finished jet. The Completition Window can be shown with items which get filtered as the code gets typed.


I am quite proud of this feature. I was able to extract the Namespaces and load the Assemblies. This way I am able to display all Types that can be contained in the code.
At the moment I only have a Xaml implementation but the C# version should be very easy to add because the basics are the same.

Some features that is still fully missing are:
  • Codeindentation
  • Textsearch / replace
  • Line numbering


No comments: