# Brace matching in string

**URL:** https://forum.alternetsoft.com/t/brace-matching-in-string/473
**Category:** AlterNET Studio Support
**Tags:** editor
**Created:** [November 29, 2024, 1:25pm UTC](https://forum.alternetsoft.com/t/brace-matching-in-string/473 "2024-11-29T13:25:24Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![ventor3000](https://forum.alternetsoft.com/letter_avatar_proxy/v4/letter/v/606060/32.png) [@ventor3000](https://forum.alternetsoft.com/u/ventor3000)
#### Post date: [November 29, 2024, 1:25pm UTC](https://forum.alternetsoft.com/t/brace-matching-in-string/473/1 "2024-11-29T13:25:24Z")

</div>

Hello, I am currently evaluating the syntax editor, and is trying to make a color scheme for a simple lisp language. I have a problem with brace matching: end parentheses matches start parenthesis inside strings. In your demo programs (that show highligting in c#) this does not happen, how can I avoid this?

---

<div class="post-metadata">

### Author: ![dmitry.medvedev](https://forum.alternetsoft.com/user_avatar/forum.alternetsoft.com/dmitry.medvedev/32/27_2.png) [@dmitry.medvedev](https://forum.alternetsoft.com/u/dmitry.medvedev)
#### Post date: [December 2, 2024, 5:13am UTC](https://forum.alternetsoft.com/t/brace-matching-in-string/473/2 "2024-12-02T05:13:35Z")

</div>

Hi,

I presume you’re using Generic parser with the syntax scheme editor.  
For the lexical styles that you don’t need parentheses to be processed (like strings or comments), you would need to set Plain Text to true, like in the attached image:

 ![image](https://forum.alternetsoft.com/uploads/default/original/1X/4c6bed09a273613a0e8a4cc9e0b0ca45d8e0330c.png)

Kind regards,  
Dmitry
