Prefix text for every non empty line

SyntaxEditor for WPF Forum

Posted 1 year ago by Daniel Constantin - ModuleWorks GmbH
Version: 19.1.0687
Avatar

Hi,

I would like to be able to put a text prefix on every non empty line. I would also like when a new line is added, if there is an event, to be able to put a prefix text over there. Just a normal text before the text user will type.

Kind regards,

Daniel

Comments (2)

Posted 1 year ago by Actipro Software Support - Cleveland, OH, USA
Avatar

Hello,

Maybe you could use a custom margin to display your prefix text?  The "Editor View Margins - Custom" QuickStart has a good example of building a custom margin that renders text on each line.


Actipro Software Support

Posted 1 year ago by Daniel Constantin - ModuleWorks GmbH
Avatar

I need it to be part of the text. Anyway I found a solution. Thanks!

The latest build of this product (v22.1.4) was released 27 days ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.