<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On Feb 2, 2008, at 3:09 PM, Eric Seidel wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">That sounds like one vote for renaming that file. &nbsp;"BidirectionalTextLayout.cpp" :)<div><br class="webkit-block-placeholder"></div><div>Or maybe BidirectionalWordSorting or similar. &nbsp;Mitz and Hyatt are two of very few to ever have hacked on that file.</div></blockquote><div><br class="webkit-block-placeholder"></div><div>"bidi" is a pretty common term of art. Also, the code in the file does more than just bidi handling, so LineLayout.cpp as Hyatt suggested may be the best name. I don't think "BidirectionalWordSorting" would be right - bidi applies at boundaries between right-to-left and left-to-right text, which are not directly related to word boundaries.</div><div><br class="webkit-block-placeholder"></div><div>Regards,</div><div>Maciej</div><br><blockquote type="cite"><div><br> <div><br class="webkit-block-placeholder"></div><div>-eric<br><br><div class="gmail_quote">On Sat, Feb 2, 2008 at 1:02 AM, Cameron McCormack &lt;<a href="mailto:cam@mcc.id.au">cam@mcc.id.au</a>&gt; wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"> Hi Bin.<br> <br> Bin Chen:<br> <div class="Ih2E3d">&gt; I am reading the source code of webkit right now, I find a file name<br> &gt; like bidi, I can't know the exact meaning, can you tell me whats this<br> &gt; stand for?<br> <br> </div>"Bidi" is an abbreviation for "bidirectional text", and refers to blocks<br> of text that use both left-to-right and right-to-left scripts (e.g. a<br> paragraph with English text that also includes some Arabic text). &nbsp;See:<br> <br> &nbsp;<a href="http://en.wikipedia.org/wiki/Bi-directional_text" target="_blank">http://en.wikipedia.org/wiki/Bi-directional_text</a><br> <font color="#888888"><br> --<br> Cameron McCormack, <a href="http://mcc.id.au/" target="_blank">http://mcc.id.au/</a><br> &nbsp; &nbsp; &nbsp; &nbsp;<a href="mailto:xmpp:heycam@jabber.org">xmpp:heycam@jabber.org</a> &nbsp;▪ &nbsp;ICQ 26955922 &nbsp;▪ &nbsp;MSN <a href="mailto:cam@mcc.id.au">cam@mcc.id.au</a><br> </font><div><div></div><div class="Wj3C7c">_______________________________________________<br> webkit-dev mailing list<br> <a href="mailto:webkit-dev@lists.webkit.org">webkit-dev@lists.webkit.org</a><br> <a href="http://lists.webkit.org/mailman/listinfo/webkit-dev" target="_blank">http://lists.webkit.org/mailman/listinfo/webkit-dev</a><br> </div></div></blockquote></div><br></div></div> _______________________________________________<br>webkit-dev mailing list<br><a href="mailto:webkit-dev@lists.webkit.org">webkit-dev@lists.webkit.org</a><br>http://lists.webkit.org/mailman/listinfo/webkit-dev<br></blockquote></div><br></body></html>