Alex

Results 70 comments of Alex

Yes, that is not expected. In some languages it is desirable for dashes to be included in what is a "word". for instance in HTML you want the `foo-bar` in...

Yeah the problem is that `-[CHFullTextView wordsCharacterSet]` does not use `CHWordCharacterStringForScope()`, so it's just doing a very simplistic "@$-_". I've decided to revert to the system behaviour, since it is...

Although it is _very_ annoying that the system behaviour is to treat "foo.bar" as one word.

Chocolat should be doing all of this. The way I implemented it: 1. We detect the type of line ending when the file is opened 2. When we save, all...

I did a hexdump and I only see 0A in there (LF), no 0D (carriage return). Also, for me, there is no change: ``` $ md5 before.txt MD5 (before.txt) =...

I see there is a line ``` server string = ``` Notice the trailing space. Do you have whitespace trimming on? That could contribute to a difference between the files.

aha `````` $ file original.srt.txt original.srt.txt: UTF-8 Unicode (with BOM) English text, with CRLF line terminators``` `````` Chocolat is stripping out the UTF-8 BOM, because UTF-8 files shouldn't have BOMs....

Yeah, it's only 3 bytes but it causes big problems. Even if Chocolat generates the BOM, other Unix tools may not understand it. Since the Mac is a Unix system,...

Hah this is one of those things that never gets fixed because there's always more important things to do. Some day...

This pisses me off. Reminder to self to get the syntax inspector out next time and do an RTF dump