Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 10 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# How to configure custom language using WPF Syntax Editor?
# How to Configure Custom Language Using WPF Syntax Editor?
This repository demonstrates how to configure and apply a custom language definition—specifically IronPython—in the WPF [Syntax Editor](https://help.syncfusion.com/wpf/syntax-editor/getting-started) control provided by Syncfusion. The WPF Syntax Editor is a powerful text editor control that supports syntax highlighting, code editing, and parsing for various programming languages. It is highly customizable and supports defining your own language grammars using XML-based configuration files.

This sample holds the configuration of custom language - IronPython applied and loaded using [Syntax Editor](https://help.syncfusion.com/wpf/syntax-editor/getting-started).
In this sample, we show how to:

- Create a custom language definition file for IronPython.
- Load and apply the custom language to the Syntax Editor at runtime.
- Highlight keywords, comments, strings, and other syntax elements specific to IronPython.
- Integrate the Syntax Editor into a WPF application with minimal setup.

This approach is ideal for developers building code editors, IDEs, or any application that requires syntax-aware text editing. By using custom language configurations, you can tailor the editor to support domain-specific languages or scripting environments.

![Syntax Editor with custom language](Images/output.png)