<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Alan,<div><br></div><div>here is the command in question (I've also attached a screenshot of the command setup in the bundle editor):</div><div><br></div><div><span class="Apple-tab-span" style="white-space:pre">#!/usr/bin/env bash
[[ -f "${TM_SUPPORT_PATH}/lib/bash_init.sh" ]] && . "${TM_SUPPORT_PATH}/lib/bash_init.sh"
"/usr/local/bin/uncrustify" -l OC -c "$TM_UNCRUSTIFY_OBJC_CONFIG";</span></div><div><br></div><div>There doesn't seem to be any special pattern, it doesn't always do it and immediately running the command again seems to restore the syntax colouring. Making any further edit to the file also restores the syntax colouring.</div><div><br></div><div>I mostly work on Objective-C files, a simple test case would be:</div><div><br></div><div>1. open a largish ObjC .m file (say 500+ lines).</div><div>2. make an edit, e.g.: unindent a line of code</div><div>3. run the command</div><div>4. try this a few times</div><div><br></div><div>Often I see the code lose its syntax colouring from the point where I made the last edit onwards, sometimes its only the actual line or lines in question. All the affected text goes white, it's as though it has lost its scope although selecting some text in the unhighlighted area and showing the scope reveals a perfectly normal scope list. </div><div><br></div><div>I have seen this behaviour on 3 separate Macs: 2 Mac Pro's and 1 MacBook Pro, running pretty much all of the alphas so far, on Lion 10.7.4.</div><div><br></div><div>Hope that helps</div><div><br></div><div>Chris</div><div><br></div><div><br></div><div><img height="497" width="950" apple-width="yes" apple-height="yes" id="442df9b0-2200-4827-8691-ea3febfc1f5a" src="cid:00D0A9D6-E64B-485E-BC76-582BC680DF03"></div><div><span class="Apple-tab-span" style="white-space:pre"> </span><br><div><div>On 2 Sep 2012, at 01:16, <a href="mailto:textmate-request@lists.macromates.com">textmate-request@lists.macromates.com</a> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><span class="Apple-style-span" style="font-family: monospace; ">This should not be able to happen.<br><br>Can you send step-by-step about how to reproduce (that is, where to get this command from and how you get it into this unhighlighted state).</span></blockquote></div><br></div></body></html>