From b9e0eb5b76eb925cead7629403a7352e6f1ed0f3 Mon Sep 17 00:00:00 2001 From: daboe01 Date: Sat, 8 Feb 2014 21:14:56 +0100 Subject: [PATCH] typos --- AppKit/CPText.j | 10 ++++++---- AppKit/CPTextView/CPParagraphStyle.j | 1 + AppKit/CPTextView/RTFParser.j | 8 ++++++-- AppKit/CPTextView/RTFProducer.j | 2 +- 4 files changed, 14 insertions(+), 7 deletions(-) diff --git a/AppKit/CPText.j b/AppKit/CPText.j index bbe6af959..a238216cc 100644 --- a/AppKit/CPText.j +++ b/AppKit/CPText.j @@ -29,13 +29,15 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ -@import "CPView.j" +@import "CPControl.j" + +/* @import "RTFProducer.j" @import "RTFParser.j" +*/ - -CPParagraphSeparatorCharacter = 0x2029; -CPLineSeparatorCharacter = 0x2028; +CPParagraphSeparatorCharacter = 0x2029; +CPLineSeparatorCharacter = 0x2028; CPEnterCharacter = "\u0003"; CPBackspaceCharacter = "\u0008"; CPTabCharacter = "\u0009"; diff --git a/AppKit/CPTextView/CPParagraphStyle.j b/AppKit/CPTextView/CPParagraphStyle.j index b325dc4dd..5d372880f 100755 --- a/AppKit/CPTextView/CPParagraphStyle.j +++ b/AppKit/CPTextView/CPParagraphStyle.j @@ -25,6 +25,7 @@ */ @import +@import "CPText.j" var _sharedDefaultParagraphStyle, _defaultTabStopArray; diff --git a/AppKit/CPTextView/RTFParser.j b/AppKit/CPTextView/RTFParser.j index 777800234..240c23ba6 100755 --- a/AppKit/CPTextView/RTFParser.j +++ b/AppKit/CPTextView/RTFParser.j @@ -24,10 +24,14 @@ e.g. using zaach/jison on github * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ -//@import +@import +@import "CPControl.j" +@import + +var hexTable = []; // Hold the attributes of the current run -@implementation _RTFAttribute: CPObject +@implementation _RTFAttribute : CPObject { CPRange _range; CPParagraphStyle paragraph; diff --git a/AppKit/CPTextView/RTFProducer.j b/AppKit/CPTextView/RTFProducer.j index b33042d95..ec7f061a2 100755 --- a/AppKit/CPTextView/RTFProducer.j +++ b/AppKit/CPTextView/RTFProducer.j @@ -22,7 +22,7 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ -@import +@import @import "CPFont.j" @import "CPParagraphStyle.j" @import "CPColor.j"