Hello, Working on the pretty printer I have a situation : The max line length of the pretty printer is 120 by default (hard value). Let's see the case of a line too long for the text area but not for the max line length, like this one (unformatted) : Formatted : This is ugly ... (not just because of my tmp variable) because it prints a carriage return after the max length (120 here) but the text editor already did wrap. The pretty printer and the text editor are independant so I do not see how can I adapt the max line length according to the text area bounds. I would like to have something like that : Does anyone know a bit about that ? I would like to relate the max line length with the text area size. Cheers, Franck