aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPTextViewAdditions.m
diff options
context:
space:
mode:
Diffstat (limited to 'Source/SPTextViewAdditions.m')
-rw-r--r--Source/SPTextViewAdditions.m12
1 files changed, 12 insertions, 0 deletions
diff --git a/Source/SPTextViewAdditions.m b/Source/SPTextViewAdditions.m
index 0d3b4b8e..b0e87f3d 100644
--- a/Source/SPTextViewAdditions.m
+++ b/Source/SPTextViewAdditions.m
@@ -482,6 +482,18 @@
[self setEditable:editableStatus];
}
+/**
+ * Increase the textView's font size by 1
+ */
+- (void)makeTextStandardSize
+{
+ NSFont *aFont = [self font];
+ BOOL editableStatus = [self isEditable];
+ [self setEditable:YES];
+ [self setFont:[[NSFontManager sharedFontManager] convertFont:aFont toSize:11.0f]];
+ [self setEditable:editableStatus];
+}
+
- (IBAction)executeBundleItemForInputField:(id)sender
{