aboutsummaryrefslogtreecommitdiffstats
path: root/Source/CMTextView.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/CMTextView.h')
-rw-r--r--Source/CMTextView.h18
1 files changed, 15 insertions, 3 deletions
diff --git a/Source/CMTextView.h b/Source/CMTextView.h
index e70c6ea4..761e1189 100644
--- a/Source/CMTextView.h
+++ b/Source/CMTextView.h
@@ -2,7 +2,7 @@
// CMTextView.h
// sequel-pro
//
-// Created by Carsten BlŸm.
+// Created by Carsten Blüm.
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
@@ -24,9 +24,21 @@
#import <Cocoa/Cocoa.h>
@interface CMTextView : NSTextView {
+ BOOL autoindentEnabled;
+ BOOL autopairEnabled;
+ BOOL autoindentIgnoresEnter;
}
--(NSArray *)completionsForPartialWordRange:(NSRange)charRange indexOfSelectedItem:(int *)index;
--(NSArray *)keywords;
+- (BOOL) isNextCharMarkedBy:(id)attribute;
+- (BOOL) areAdjacentCharsLinked;
+- (BOOL) wrapSelectionWithPrefix:(NSString *)prefix suffix:(NSString *)suffix;
+- (NSArray *)completionsForPartialWordRange:(NSRange)charRange indexOfSelectedItem:(int *)index;
+- (NSArray *)keywords;
+- (void)setAutoindent:(BOOL)enableAutoindent;
+- (BOOL)autoindent;
+- (void)setAutoindentIgnoresEnter:(BOOL)enableAutoindentIgnoresEnter;
+- (BOOL)autoindentIgnoresEnter;
+- (void)setAutopair:(BOOL)enableAutopair;
+- (BOOL)autopair;
@end