fix circular imports

This commit is contained in:
daboe01 committed 2014-02-10 06:02:28 +01:00
1 parent 85abd5a8c3
commit 394b1a1602
5 files changed
+20 -9

No files matched your search

+8 -2
View File
@@ -30,11 +30,17 @@
*/
@import "CPTextStorage.j"
@import "CPFontManager.j"
@import "CPPanel.j"
@import "CPColorWell.j"
@import "CPColorPanel.j"
@import "CPBrowser.j"
@import "CPText.j"
@class CPTextStorage
@class CPLayoutManager
@class CPTextContainer
@class CPFontManager
/*
Collection indexes
+1 -1
View File
@@ -28,7 +28,7 @@
@import "CPTextStorage.j"
@import "CPTextContainer.j"
@import "CPTextView.j"
@import "CGContext.j"
function _RectEqualToRectHorizontally(lhsRect, rhsRect)
{
+2 -1
View File
@@ -23,7 +23,8 @@
@import <Foundation/CPNotificationCenter.j>
@import <Foundation/CPAttributedString.j>
@import "CPLayoutManager.j"
@class CPLayoutManager;
CPTextStorageEditedAttributes = 1;
+6 -2
View File
@@ -27,10 +27,14 @@
@import "CPTextStorage.j"
@import "CPTextContainer.j"
@import "CPFontManager.j"
@import "_CPRTFProducer.j"
@import "_CPRTFParser.j"
//@import "_CPRTFProducer.j"
//@import "_CPRTFParser.j"
@import "CPLayoutManager.j"
@class _CPRTFProducer;
@class _CPRTFParser;
_MakeRangeFromAbs = function(a1, a2)
{
return (a1 < a2) ? CPMakeRange(a1, a2 - a1) : CPMakeRange(a2, a1 - a2);
+3 -3
View File
@@ -26,8 +26,8 @@ e.g. using zaach/jison on github
@import <Foundation/CPAttributedString.j>
@import <Foundation/CPGeometry.j>
@import "CPControl.j"
@import "CPFontManager.j"
@import "CPTextStorage.j"
var hexTable = [];
@@ -143,8 +143,8 @@ var hexTable = [];
- (void)addTab:(float)location type:(CPTextTabType)type
{
var tab = [[CPTextTab alloc] initWithType: CPLeftTabStopType
location: location];
var tab = [[CPTextTab alloc] initWithType:CPLeftTabStopType
location:location];
if (!_tabChanged)
{