You are here: PSPad forum > Bug report / Hlášení chyb > Clips do not follow indentation
Posted by: nowotny | Date: 08/26/2009 21:23 | IP: IP Logged
Hello...
I'm starting to use clips more and more now and I'm not entirely pleased with it but I'm getting there... 
The one thing that bothers me is that the clips not entirely follow the indentation... I have "Real TABs" option on and when I insert a multi line clip in a line that has been indented with, for example, 4 tabs, the first line of the clip inserts properly but the following lines are indented with 4 spaces and not tabs... I think that is a bug, no...?
Edited 1 time(s). Last edit at 08/26/2009 21:24 by nowotny.
Posted by: lb | Date: 11/12/2009 00:58 | IP: IP Logged
Hi,
I'm experiencing similar issues with clips, indentation and "real" tabs. To be more precise:
1) When calling a clip inside another clip, tabs are replaced by spaces (four per tab in my case)
How to reproduce it:
call a multiline clip, for example the php "if". The output is correct and the cursor stays one tab away from the left margin. Now - without moving the cursor - call the same clip again. All seems to work ok but you'll find that the tabs are replaced by spaces.
2) When applying a clip to a selected multiline content the indentation doesen't work well:
How to reproduce it:
Again, call the php "if" clip -> all is ok. Now select the tree lines output by the clip and call the "if" clip again -> indentation is imprecise. You can select all 5 lines and apply the clip again and the result keeps getting worse.
Other than that I must say I've discovered PSPad only recently and I think is a great piece of software. Thank you!
Editor PSPad - freeware editor, © 2001 - 2013 Jan Fiala
Hosted by Webhosting TOJEONO.CZ, design by WebDesign PAY & SOFT, code Petr Dvořák