PDA

View Full Version : Retain leading spaces with Handle Text operation



JerryS@cat
05-29-2014, 01:44 PM
When working with XML files and treating them as just ordinary text files with the Handle Text operation, I've noticed that replacing a line results in all leading spaces being removed. Is there a way to retain the leading spaces when replacing a line.

I've look through the forums and found no answer. The only similar post I've seen on this was from back in 2008 when the response to the question was that it would be fixed in SB version 7. The same problem still exists unless there's something simple I'm missing (which would not be all that unusual).

linder
05-30-2014, 01:34 AM
Jerry,

This is a good question. We'll check this and get back to you.

Friedrich

linder
06-05-2014, 04:56 AM
I haven't forgotten you, Jerry. Still in review.

Friedrich

linder
06-30-2014, 05:24 AM
Jerry,

We tried all kind of combinations, reviewed the original source codes, but we are unable to reproduce the problem :( See attached screenshots. The demo application does not remove the leading spaces when replacing a line.

http://www.lindersoft.com/projects/jerrys_06.zip

I have uploaded one of our demo projects. Can you change it in such a way that it "fails"?

Thanks,
Friedrich