Open Dinoosawruss opened 3 years ago
Hi,
I am trying to set my default text to the following:
// Syntax // CONFIG name: [machineName]
I have used the following XML:
<WindowsFormsHost x:Name="codeEditorHost" HorizontalAlignment="Left" Height="240" Margin="34,149,0,0" VerticalAlignment="Top" Width="448"> <scintilla:Scintilla x:Name="codeEditor" TextChanged="codeEditor_TextChanged" CaretPeriod="600" BorderStyle="None" Dock="Fill" HScrollBar="false" TabIndex="1" Text="// Syntax //CONFIG name: [machineName]"> </scintilla:Scintilla> </WindowsFormsHost>
However instead of the intended result (each line is on a new line) they're all placed on one line with tabs separating them like this
// Syntax //CONFIG name: [machineName]
Any ideas on how to get them to go onto new lines instead I've tried putting \n and \r in front of them but this has not worked
\n
\r
Any help is greatly appreciated
Hi,
I am trying to set my default text to the following:
I have used the following XML:
However instead of the intended result (each line is on a new line) they're all placed on one line with tabs separating them like this
Any ideas on how to get them to go onto new lines instead I've tried putting
\n
and\r
in front of them but this has not workedAny help is greatly appreciated