Re: Text Filter that does nothing makes document dirty?

2014-01-29 Thread John Delacour
On 26 Jan 2014, at 00:59, Tim Hill wrote: > Just finished a text filter (in Lua) that cleans up source files for me > (mostly comment formatting). Works great :) > > However, if the filter does nothing (that is, the output text is the same as > the input text), BBEdit always marks the documen

Text Filter that does nothing makes document dirty?

2014-01-25 Thread Tim Hill
Just finished a text filter (in Lua) that cleans up source files for me (mostly comment formatting). Works great :) However, if the filter does nothing (that is, the output text is the same as the input text), BBEdit always marks the document as dirty, even though nothing has changed. While thi