aboutsummaryrefslogtreecommitdiffstats
path: root/Source/CMTextView.h
diff options
context:
space:
mode:
authorBibiko <bibiko@eva.mpg.de>2009-05-19 09:29:00 +0000
committerBibiko <bibiko@eva.mpg.de>2009-05-19 09:29:00 +0000
commit15796e40fba251a00197c66f2ecf04cbf086a034 (patch)
treeda53a1f57325bdd25024aeef913aa4b62b4e55b9 /Source/CMTextView.h
parent8e6012bb097bbc5b3456bc9b6a4f6b90cb4e6c15 (diff)
downloadsequelpro-15796e40fba251a00197c66f2ecf04cbf086a034.tar.gz
sequelpro-15796e40fba251a00197c66f2ecf04cbf086a034.tar.bz2
sequelpro-15796e40fba251a00197c66f2ecf04cbf086a034.zip
• skip auto-pairing if the caret is adjoined to an alphanumeric character except if the inserted character will be a “(” and the caret is located at the end of a string then process the auto-pairing
Diffstat (limited to 'Source/CMTextView.h')
-rw-r--r--Source/CMTextView.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/CMTextView.h b/Source/CMTextView.h
index 3ffa5c19..e86dc67f 100644
--- a/Source/CMTextView.h
+++ b/Source/CMTextView.h
@@ -52,6 +52,7 @@
- (BOOL) isNextCharMarkedBy:(id)attribute withValue:(id)aValue;
- (BOOL) areAdjacentCharsLinked;
+- (BOOL) isCaretAdjacentToAlphanumCharWithInsertionOf:(unichar)aChar;
- (BOOL) wrapSelectionWithPrefix:(NSString *)prefix suffix:(NSString *)suffix;
- (BOOL) shiftSelectionRight;
- (BOOL) shiftSelectionLeft;