Skip to content

Commit 7cb9090

Browse files
985360: Updated ReadMe file of this repository
1 parent 7cb31d5 commit 7cb9090

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

README.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
1-
# How to configure custom language using WPF Syntax Editor?
1+
# How to Configure Custom Language Using WPF Syntax Editor?
2+
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.
23

3-
This sample holds the configuration of custom language - IronPython applied and loaded using [Syntax Editor](https://help.syncfusion.com/wpf/syntax-editor/getting-started).
4+
In this sample, we show how to:
5+
6+
- Create a custom language definition file for IronPython.
7+
- Load and apply the custom language to the Syntax Editor at runtime.
8+
- Highlight keywords, comments, strings, and other syntax elements specific to IronPython.
9+
- Integrate the Syntax Editor into a WPF application with minimal setup.
10+
11+
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.
412

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

0 commit comments

Comments
 (0)