From 55f05ba839873f5dd4e264b8dc26e49b803dbc2d Mon Sep 17 00:00:00 2001 From: Alexandre Wilhelm Date: Fri, 20 Mar 2015 10:03:42 -0700 Subject: [PATCH] Fixed: warnings when compiling --- AppKit/CPTextView/CPFontPanel.j | 1 - AppKit/CPTextView/CPTextView.j | 3 ++- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/AppKit/CPTextView/CPFontPanel.j b/AppKit/CPTextView/CPFontPanel.j index 6eb05ab3b..2143a95ab 100644 --- a/AppKit/CPTextView/CPFontPanel.j +++ b/AppKit/CPTextView/CPFontPanel.j @@ -122,7 +122,6 @@ var _availableTraits= [@"Normal", @"Italic", @"Bold", @"Bold Italic"], */ @implementation CPFontPanel : CPPanel { - CPView _toolbarView; id _fontBrowser; id _traitBrowser; id _sizeBrowser; diff --git a/AppKit/CPTextView/CPTextView.j b/AppKit/CPTextView/CPTextView.j index 7d7f13ebe..f00826534 100644 --- a/AppKit/CPTextView/CPTextView.j +++ b/AppKit/CPTextView/CPTextView.j @@ -103,8 +103,9 @@ var kDelegateRespondsTo_textShouldBeginEditing CPLayoutManager _layoutManager @accessors(getter=layoutManager); CPRange _selectionRange @accessors(getter=selectedRange); CPSelectionGranularity _selectionGranularity @accessors(property=selectionGranularity); + CPSelectionGranularity _previousSelectionGranularity; // private - CPSelectionGranularity _copySelectionGranularit; // private + CPSelectionGranularity _copySelectionGranularity; // private CPTextContainer _textContainer @accessors(property=textContainer); CPTextStorage _textStorage @accessors(getter=textStorage);