diff --git a/Applications/TextMate/resources/English.lproj/MainMenu.xib b/Applications/TextMate/resources/English.lproj/MainMenu.xib
index b37d5df0..4b14a5d4 100644
--- a/Applications/TextMate/resources/English.lproj/MainMenu.xib
+++ b/Applications/TextMate/resources/English.lproj/MainMenu.xib
@@ -551,24 +551,6 @@
Mode
-
goForward:
@@ -3360,14 +3334,6 @@
580
-
-
- toggleOverwriteMode:
-
-
-
- 583
-
reload:
@@ -4361,8 +4327,6 @@
YES
-
-
@@ -5029,16 +4993,6 @@
-
- 488
-
-
-
-
- 489
-
-
-
490
@@ -5745,8 +5699,6 @@
485.IBPluginDependency
486.IBPluginDependency
487.IBPluginDependency
- 488.IBPluginDependency
- 489.IBPluginDependency
490.IBPluginDependency
495.IBPluginDependency
496.IBPluginDependency
@@ -6100,8 +6052,6 @@
com.apple.InterfaceBuilder.CocoaPlugin
com.apple.InterfaceBuilder.CocoaPlugin
com.apple.InterfaceBuilder.CocoaPlugin
- com.apple.InterfaceBuilder.CocoaPlugin
- com.apple.InterfaceBuilder.CocoaPlugin
com.apple.InterfaceBuilder.CocoaPlugin
diff --git a/Frameworks/OakTextView/src/OTVStatusBar.h b/Frameworks/OakTextView/src/OTVStatusBar.h
index f026fb69..7c5223c3 100644
--- a/Frameworks/OakTextView/src/OTVStatusBar.h
+++ b/Frameworks/OakTextView/src/OTVStatusBar.h
@@ -6,9 +6,7 @@
text::range_t caretPosition;
NSString* grammarName;
NSString* symbolName;
- BOOL overwriteMode;
BOOL isMacroRecording;
- BOOL freehandedEditing;
BOOL softTabs;
int32_t tabSize;
BOOL showResizeThumb;
@@ -22,9 +20,7 @@
- (void)setCaretPosition:(std::string const&)range;
@property (nonatomic, copy) NSString* grammarName;
@property (nonatomic, copy) NSString* symbolName;
-@property (nonatomic, assign) BOOL overwriteMode;
@property (nonatomic, assign) BOOL isMacroRecording;
-@property (nonatomic, assign) BOOL freehandedEditing;
@property (nonatomic, assign) BOOL softTabs;
@property (nonatomic, assign) int32_t tabSize;
@property (nonatomic, assign) BOOL showResizeThumb;
diff --git a/Frameworks/OakTextView/src/OTVStatusBar.mm b/Frameworks/OakTextView/src/OTVStatusBar.mm
index 14c565d6..d1eee163 100644
--- a/Frameworks/OakTextView/src/OTVStatusBar.mm
+++ b/Frameworks/OakTextView/src/OTVStatusBar.mm
@@ -10,7 +10,7 @@
const NSInteger BundleItemSelector = 1;
@implementation OTVStatusBar
-@synthesize recordingTimer, pulsedRecordingIndicator, grammarName, symbolName, overwriteMode, isMacroRecording, freehandedEditing, tabSize, softTabs, showResizeThumb;
+@synthesize recordingTimer, pulsedRecordingIndicator, grammarName, symbolName, isMacroRecording, tabSize, softTabs, showResizeThumb;
@synthesize delegate;
- (void)update
@@ -30,8 +30,6 @@ const NSInteger BundleItemSelector = 1;
sb::cell_t::popup(gearImage, @selector(showBundleItemSelector:), self.delegate).set_tag(BundleItemSelector),
sb::cell_t::popup(tabSizeText, @selector(showTabSizeSelector:), self.delegate),
sb::cell_t::popup([symbolName UTF8String] ?: "Symbol", @selector(showSymbolSelector:), self.delegate).size(200, CGFLOAT_MAX),
- sb::cell_t::button(overwriteMode ? "OW" : "", @selector(toggleOverwriteMode:), self.delegate).no_padding().size(18),
- sb::cell_t::button(freehandedEditing ? "FE" : "", @selector(toggleFreehandedEditing:), self.delegate).no_padding().size(18),
sb::cell_t::button(pulsedRecordingIndicator, @selector(toggleMacroRecording:), self.delegate).no_padding().size(17),
showResizeThumb ? sb::cell_t::button(splitViewThumb, NULL, nil).no_padding().size(15) : sb::cell_t::info().size(15),
};
@@ -70,12 +68,6 @@ const NSInteger BundleItemSelector = 1;
[self update];
}
-- (void)setOverwriteMode:(BOOL)flag
-{
- overwriteMode = flag;
- [self update];
-}
-
- (void)setRecordingTimer:(NSTimer*)aTimer
{
if(aTimer != recordingTimer)
@@ -102,12 +94,6 @@ const NSInteger BundleItemSelector = 1;
[self update];
}
-- (void)setFreehandedEditing:(BOOL)flag
-{
- freehandedEditing = flag;
- [self update];
-}
-
- (void)setCaretPosition:(std::string const&)range
{
caretPosition = range;
diff --git a/Frameworks/OakTextView/src/OakDocumentView.mm b/Frameworks/OakTextView/src/OakDocumentView.mm
index fe446149..8401dee0 100644
--- a/Frameworks/OakTextView/src/OakDocumentView.mm
+++ b/Frameworks/OakTextView/src/OakDocumentView.mm
@@ -31,7 +31,7 @@ static NSString* const kFoldingsColumnIdentifier = @"foldings";
- (void)updateStyle;
@end
-static NSString* const ObservedTextViewKeyPaths[] = { @"selectionString", @"tabSize", @"softTabs", @"freehandedEditing", @"overwriteMode", @"isMacroRecording"};
+static NSString* const ObservedTextViewKeyPaths[] = { @"selectionString", @"tabSize", @"softTabs", @"isMacroRecording"};
struct document_view_callback_t : document::document_t::callback_t
{
@@ -671,8 +671,6 @@ private:
[tabSizeSelectorPanel makeKeyAndOrderFront:self];
}
-- (IBAction)toggleOverwriteMode:(id)sender { /*[textView toggleOverwriteMode:sender];*/ }
-- (IBAction)toggleFreehandedEditing:(id)sender { /*[textView toggleFreehandedEditing:sender];*/ }
- (IBAction)toggleMacroRecording:(id)sender { [textView toggleMacroRecording:sender]; }
- (IBAction)takeThemeUUIDFrom:(id)sender
diff --git a/Frameworks/OakTextView/src/OakTextView.mm b/Frameworks/OakTextView/src/OakTextView.mm
index 8d7c4606..463518b1 100644
--- a/Frameworks/OakTextView/src/OakTextView.mm
+++ b/Frameworks/OakTextView/src/OakTextView.mm
@@ -1827,9 +1827,6 @@ static void update_menu_key_equivalents (NSMenu* menu, action_to_key_t const& ac
- (BOOL)hasMultiLineSelection { return multiline(document->buffer(), editor->ranges()); }
-- (BOOL)freehandedEditing { return NO; }
-- (BOOL)overwriteMode { return NO; }
-
- (IBAction)toggleShowInvisibles:(id)sender
{
self.showInvisibles = !self.showInvisibles;