| OLD | NEW | 
|---|
| 1 part of intl; |  | 
| 2 |  | 
| 3 // Copyright (c) 2012, the Dart project authors.  Please see the AUTHORS file | 1 // Copyright (c) 2012, the Dart project authors.  Please see the AUTHORS file | 
| 4 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a | 
| 5 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. | 
| 6 | 4 | 
| 7 /** | 5 /** | 
| 8  * Bidi stands for Bi-directional text. | 6  * Bidi stands for Bi-directional text. | 
| 9  * According to [Wikipedia](http://en.wikipedia.org/wiki/Bi-directional_text): | 7  * According to [Wikipedia](http://en.wikipedia.org/wiki/Bi-directional_text): | 
| 10  * Bi-directional text is text containing text in both text directionalities, | 8  * Bi-directional text is text containing text in both text directionalities, | 
| 11  * both right-to-left (RTL) and left-to-right (LTR). It generally involves text | 9  * both right-to-left (RTL) and left-to-right (LTR). It generally involves text | 
| 12  * containing different types of alphabets, but may also refer to boustrophedon, | 10  * containing different types of alphabets, but may also refer to boustrophedon, | 
| (...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 193       if (contextDirection == TextDirection.LTR) { | 191       if (contextDirection == TextDirection.LTR) { | 
| 194         return Bidi.LRM; | 192         return Bidi.LRM; | 
| 195       } else { | 193       } else { | 
| 196         return Bidi.RLM; | 194         return Bidi.RLM; | 
| 197       } | 195       } | 
| 198     } else { | 196     } else { | 
| 199       return ''; | 197       return ''; | 
| 200     } | 198     } | 
| 201   } | 199   } | 
| 202 } | 200 } | 
| OLD | NEW | 
|---|