rgieseke / textredux

Text-based interfaces for Textadept
http://rgieseke.github.io/textredux/
Other
59 stars 11 forks source link

Update buffer.dirty to buffer.modify #42

Closed ghost closed 5 years ago

ghost commented 5 years ago

Buffer names should display a '*' next to their name if they have been changed. TA renamed the 'dirty' property to 'modify' a long time ago and this was never updated in TR.

rgieseke commented 5 years ago

Interesting! Both seem to work, but only modify being documented?

ghost commented 5 years ago

I have only tested this on Linux/Windows but it does not work for me with "dirty". I.e. the buffer list will not display a "*" next to modified buffers. Maybe it works on OSX even though that seems unlikely.

rgieseke commented 5 years ago

Good catch, actually! I had some code in my common module which would set dirty so i never noticed, thanks for bringing it up!