Delimiter AutoCompletion

SyntaxEditor for Silverlight Forum

Posted 9 years ago by Tath
Version: 14.2.0181
Avatar

Hello

I would like to customize the delimiter auto completion for curly braces.

When i pressed on "{", i would like the "}" at the start of the next line instead of "{}".

How could i do it ?

 

Thank you

Comments (2)

Posted 9 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar

Hello,

I'm sorry but there isn't a way to customize that.  That being said, if your indenter provider service inherits DelimiterIndentProvider, you can make it move the '}' to the next line after the caret when you press Enter between the two braces.  We do that in our .NET Languages Add-on's C# language for example.


Actipro Software Support

Answer - Posted 9 years ago by Tath
Avatar

Hello,

 

Thank you for your answer, i will do that

The latest build of this product (v18.1 build 0233) was released 4 years ago, which was after the last post in this thread.