mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-10-30 20:07:36 +00:00
lots of Node fixes
This commit is contained in:
1 parent
ddeaad74d0
commit
2ecea40fdc
52 files changed
+807
-4548
No files matched your search
@@ -32,6 +32,8 @@
|
||||
|
||||
@global _MakeRangeFromAbs
|
||||
|
||||
@global document
|
||||
|
||||
@class CPTextContainer
|
||||
@class CPTextView
|
||||
|
||||
|
||||
@@ -55,6 +55,8 @@
|
||||
|
||||
@end
|
||||
|
||||
@global document
|
||||
|
||||
_MakeRangeFromAbs = function(a1, a2)
|
||||
{
|
||||
return (a1 < a2) ? CPMakeRange(a1, a2 - a1) : CPMakeRange(a2, a1 - a2);
|
||||
|
||||
Reference in new issue
Block a user