Subversion Repositories Applications.papyrus

Rev

Rev 1925 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1925 Rev 2048
Line 1... Line 1...
1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
2
<!--
2
<!--
3
 * FCKeditor - The text editor for Internet - http://www.fckeditor.net
3
 * FCKeditor - The text editor for Internet - http://www.fckeditor.net
4
 * Copyright (C) 2003-2008 Frederico Caldeira Knabben
4
 * Copyright (C) 2003-2009 Frederico Caldeira Knabben
5
 *
5
 *
6
 * == BEGIN LICENSE ==
6
 * == BEGIN LICENSE ==
7
 *
7
 *
8
 * Licensed under the terms of any of the following licenses at your
8
 * Licensed under the terms of any of the following licenses at your
9
 * choice:
9
 * choice:
Line 140... Line 140...
140
			if ( FCKListsLib.BlockElements[tag] || tag == 'br' )
140
			if ( FCKListsLib.BlockElements[tag] || tag == 'br' )
141
				crossed = true ;
141
				crossed = true ;
142
		}
142
		}
Line 143... Line 143...
143
 
143
 
144
		this._textNode = curNode ;
144
		this._textNode = curNode ;
145
		this._offset = curNode.length - 1 ;
145
		this._offset = curNode && curNode.length - 1 ;
146
		return crossed ;
146
		return crossed ;
Line 147... Line 147...
147
	},
147
	},
148
 
148
 
Line 418... Line 418...
418
 * http://unicode.org/Public/UNIDATA/PropList.txt (whitespaces)
418
 * http://unicode.org/Public/UNIDATA/PropList.txt (whitespaces)
419
 * http://php.chinaunix.net/manual/tw/ref.regex.php (punctuation marks)
419
 * http://php.chinaunix.net/manual/tw/ref.regex.php (punctuation marks)
420
 */
420
 */
421
function CheckIsWordSeparator( c )
421
function CheckIsWordSeparator( c )
422
{
422
{
-
 
423
	if ( !c )
-
 
424
		return true;
423
	var code = c.charCodeAt( 0 );
425
	var code = c.charCodeAt( 0 );
424
	if ( code >= 9 && code <= 0xd )
426
	if ( code >= 9 && code <= 0xd )
425
		return true;
427
		return true;
426
	if ( code >= 0x2000 && code <= 0x200a )
428
	if ( code >= 0x2000 && code <= 0x200a )
427
		return true;
429
		return true;