https://www.mediawiki.org/wiki/Special:Code/MediaWiki/112555
Revision: 112555
Author: rmoen
Date: 2012-02-28 00:46:23 +0000 (Tue, 28 Feb 2012)
Log Message:
-----------
cleanup previous commit. follow up r112552
Modified Paths:
--------------
trunk/extensions/VisualEditor/modules/ve/es/ve.es.Surface.js
Modified: trunk/extensions/VisualEditor/modules/ve/es/ve.es.Surface.js
===================================================================
--- trunk/extensions/VisualEditor/modules/ve/es/ve.es.Surface.js
2012-02-28 00:42:57 UTC (rev 112554)
+++ trunk/extensions/VisualEditor/modules/ve/es/ve.es.Surface.js
2012-02-28 00:46:23 UTC (rev 112555)
@@ -523,7 +523,6 @@
Currently have Hebrew & and all Arabic except numbers
*/
ve.es.Surface.prototype.isTextRTL = function( text ) {
- //hebrew, and arabic
return
/[\u0590–\u05FF\u0600-\u06FF\u0750—\u077F\u08A0—\u08FF\uFB50—\uFDFF\uFE70—\uFEFF]/.test(
text );
};
@@ -934,8 +933,9 @@
/* Move the cursor left if RTL
- TODO: 1) Create method to detect end of RTL
and move cursor the the right
- 2) moveCursor is breaking IME
for the RTL language, need to add mode switching
+ TODO:
+ 1) Create method to detect end of RTL and move
cursor the the right
+ 2) moveCursor is breaking IME for the RTL
language, need to add mode switching
*/
if( this.isRTL( val.charAt( val.length-1 ) ) ) {
this.moveCursor('left', 'char');
_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs