Per-language clean trailing whitespace option?
David Brewer <[email protected]>
| Newsgroups | gmane.comp.ide.komodo.general |
|---|---|
| Message-ID | <[email protected]> |
I love Komodo's 'clean trailing whitespace' option about 99% of the time... the one time I don't like it is while editing yaml files. I was wondering if there was currently a way to turn this option on and off for specific languages. The problem in yaml files is that whitspace is significant... sometimes even if there is nothing on the line. In this example, the 'content' field gets set to two lines of text with an extra line break between them, because there are two spaces before the line break that occurs between them: content: > Nulla sit amet lorem. Cras velit. Suspendisse vulputate adipiscing nulla. Vivamus dignissim nibh ac velit. Class aptent taciti sociosqu ad litora. In this example, you end up losing the line with the break because there were no spaces before the break to tell yaml that the next line is still part of the same block of text. content: > Nulla sit amet lorem. Cras velit. Suspendisse vulputate adipiscing nulla. Vivamus dignissim nibh ac velit. Class aptent taciti sociosqu ad litora. Is there currently a way around this? If not I may file an 'enhancement' ticket. David _______________________________________________ Komodo-discuss mailing list [email protected] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs Other options: http://listserv.ActiveState.com/mailman/listinfo/Komodo-discuss