mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-11-14 18:53:50 +00:00
fix circular imports
This commit is contained in:
1 parent
85abd5a8c3
commit
394b1a1602
5 files changed
+20
-9
No files matched your search
@@ -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
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
|
||||
@import "CPTextStorage.j"
|
||||
@import "CPTextContainer.j"
|
||||
@import "CPTextView.j"
|
||||
@import "CGContext.j"
|
||||
|
||||
function _RectEqualToRectHorizontally(lhsRect, rhsRect)
|
||||
{
|
||||
|
||||
@@ -23,7 +23,8 @@
|
||||
|
||||
@import <Foundation/CPNotificationCenter.j>
|
||||
@import <Foundation/CPAttributedString.j>
|
||||
@import "CPLayoutManager.j"
|
||||
|
||||
@class CPLayoutManager;
|
||||
|
||||
|
||||
CPTextStorageEditedAttributes = 1;
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user