…s-thread order of creation/destruction issues)
Project encoded files need to be translated to UTF-8 for them to appear properly in the UI layer. However, when sending patches back to the server, we need to make sure to translate back to the project encoding before applying, or else you will end up with mixed encodings in the file. If the diff cannot be translated from project encoding to UTF-8 (probably because the file is not actually encoded using the project encoding) then we effectively just treat it as UTF-8. In this case we remember not to do UTF-8=>project encoding when we apply patches based on this diff.
… U U status (so should be disabled)
…atus: ? ?) fails silently
Using behaviors doesn't work right because we can no longer distinguish between deleting left (backspace) and deleting right (delete); we only want to do the special logic for the former case. This reverts commit c894905.
Our monkeypatch of Ace's removeLeft() function broke because removeLeft() was refactored as part of the introduction of editor behaviors. To fix, I refactored our removeLeft() monkeypatch into a behavior (which then has to be monkeypatched into TextMode, unfortunately). The insert() monkeypatch (that actually puts in matching braces) I left alone since it seems to be working right now, but there's every chance it will also break in the future and then we'd need to refactor that as well.
…ess (repo is publicly available)
…n find the .ssh directory)