
Hi Actipro,
I'm implementing printing feature for an Actipro syntax editor in my application and encounter an issue with line wrapping. I understand that it follows the standard line breaking rules for normal text passages.
However, my editor is more like a programming editor, such as the visual studio editor, where users don't place whitespaces between tokens sometimes. When this happens, the wrapped lines don't appear pleasing. You'll see that user don't enter any whitespace, and the 1st line ends just before '('.
MyFunction
(Argument1,Argument1,Argument1,10,1,Argument1,1000,Argument1,1000,Argument1,Argument1,100.0,100.0,%
Argument1,Argument1,Argument1,0,Argument1,0,0);
In visual studio, it's implemented differently. You'll see that comma is treated as a line breaking character, and the 1st line occupies almost the full page width.
MyFunction(Argument1,Argument1,Argument1,10,1,Argument1,1000,Argument1,1000,Argument1,Argument1,100.0,100.0,%Argument1
,Argument1,Argument1,0,Argument1,0,0);
Please help check if it's possible to follow visual studio?
I'm sorry that I've submitted a ticket for this topic on 14/04/2016, as it allows attaching of pictures. However, there was no response and I thought it's could be my ticket not submited properly.
Thanks and regards,
James Zheng
[Modified 9 years ago]