<div dir="ltr">How does this compare to this:<br><a href="https://packagecontrol.io/packages/Clang%20Format">https://packagecontrol.io/packages/Clang%20Format</a><br><div>?</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Aug 6, 2015 at 11:05 AM, Neumann, Adrian <span dir="ltr"><<a href="mailto:adrian.neumann@siemens.com" target="_blank">adrian.neumann@siemens.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br>
<br>
the clang-format sublime text plugin doesn't work reliably, because Sublime<br>
Text's self.view.encoding() doesn't return values that are compatible with<br>
buf.encode. I attach a version that does a manual conversion between these<br>
values. I don't know whether Sublime Text provides a better API for this, but<br>
cursory googling did not reveal anything.<br>
<br>
Greets,<br>
<br>
Adrian<br>
<br>_______________________________________________<br>
cfe-dev mailing list<br>
<a href="mailto:cfe-dev@lists.llvm.org">cfe-dev@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev</a><br>
<br></blockquote></div><br></div>