<div dir="ltr"><div style="font-family:verdana,sans-serif;font-size:small;color:rgb(0,0,0)" class="gmail_default"><br></div><div style="font-family:verdana,sans-serif;font-size:small;color:rgb(0,0,0)" class="gmail_default">I stumbled upon a strange bug.<br><br></div><div style="font-family:verdana,sans-serif;font-size:small;color:rgb(0,0,0)" class="gmail_default">1. Open a new window with Cmd-N<br></div><div style="font-family:verdana,sans-serif;font-size:small;color:rgb(0,0,0)" class="gmail_default">2. Paste some text into the window.   Note that the tab does not show that the document has unsaved changes.  You can now type text and make other edits.  The document never detects that there are unsaved changes.   If you press Cmd-W the window will close without asking to save.<br><br></div><div style="font-family:verdana,sans-serif;font-size:small;color:rgb(0,0,0)" class="gmail_default">This does not happen if you first type some text after opening the window and then do the paste.<br><br>TextMate version 2.0-beta.12.15<br></div><div style="font-family:verdana,sans-serif;font-size:small;color:rgb(0,0,0)" class="gmail_default">OSX version 10.11.6<br><br><br></div></div>