Hi,
I'm sure this is easily possible and I'm looking in the wrong place, but I want to be able to "indent" [margin] the document content, that is the text within the scrollable region the syntax editor has.
I've used Snoop to get a look at the visual tree and played with setting on the margin at various levels and the following gets just what I need:
SyntaxEditor
AdornerDecorator
EditorViewHost
EditorView
ElementChrome
ContentPresenter
Grid
Grid <- set margin of 5 here perfectly indents the text content and keeps line/selection margin content inline but doesn't move scrollbars of the overall control
Is it possible to do something like this? I hope I've explained properly.
Thanks,
Simon