Syntax Editor Auto Height

SyntaxEditor for WPF Forum

Posted 15 years ago by David Mullin
Version: 9.1.0503
Avatar
If I have a TextBox in a Grid, and I have the RowHeight set to "Auto", then as I type in the TextBox, the control will get taller as I type things in.

If I replace the TextBox with a SyntaxEditor, it does not get taller. Is there a setting to make it do this?

David Mullin

Comments (4)

Posted 15 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Sorry, but not right now. SyntaxEditor's lines are completely virtualized so it doesn't really know how big it needs to be.


Actipro Software Support

Posted 15 years ago by David Mullin
Avatar
Just to manage my future expectations, is that likely to change?
Posted 15 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
David,

Probably not, at least in the near future. I understand that when we're just talking about a document with a handful of lines this isn't that big of a deal to implement. However when we potentially have documents with thousands and thousands of lines, having to measure the entire document contents would be a bit of a perf killer.

Right now, all view lines are virtualized to help provide for maximized performance and minimal memory usage. We'd have to change that to support auto-height.


Actipro Software Support

Posted 15 years ago by David Mullin
Avatar
I understand - I just wanted to confirm before I consider other options on my end.

Thanks!
The latest build of this product (v24.1.3) 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.