diff options
author | rowanbeentje <rowan@beent.je> | 2011-04-14 00:23:22 +0000 |
---|---|---|
committer | rowanbeentje <rowan@beent.je> | 2011-04-14 00:23:22 +0000 |
commit | ad7328e56541556d23f527303deddaefd4253ef2 (patch) | |
tree | 344dbe7ac1780cfa81952be0cdb34ef20ca7f7bd /Source/SPTextView.m | |
parent | 0ce916eb0583ec6b062786f91bee0133906671ce (diff) | |
download | sequelpro-ad7328e56541556d23f527303deddaefd4253ef2.tar.gz sequelpro-ad7328e56541556d23f527303deddaefd4253ef2.tar.bz2 sequelpro-ad7328e56541556d23f527303deddaefd4253ef2.zip |
Make some minor changes after reviewing r3271:
- Fix a few encoding issues
- Recode a few [NSApp keyWindow] uses back to [SPDatabaseDocument parentWindow] following discussion; possibly for later refactoring into use of an error method
Diffstat (limited to 'Source/SPTextView.m')
-rw-r--r-- | Source/SPTextView.m | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/SPTextView.m b/Source/SPTextView.m index 5e04ff2b..84937e2d 100644 --- a/Source/SPTextView.m +++ b/Source/SPTextView.m @@ -1825,9 +1825,9 @@ NSInteger _alphabeticSort(id string1, id string2, void *reverse) [theHintString flushCachedRegexData]; #ifndef SP_REFACTOR - // If inside the snippet hint $(É) is defined run É as BASH command - // and replace $(É) by the return string of that command. Please note - // only one $(É) statement is allowed within one ${É} snippet environment. + // If inside the snippet hint $(…) is defined run … as BASH command + // and replace $(…) by the return string of that command. Please note + // only one $(…) statement is allowed within one ${…} snippet environment. NSRange tagRange = [theHintString rangeOfRegex:@"(?s)(?<!\\\\)\\$\\((.*)\\)"]; if(tagRange.length) { [theHintString flushCachedRegexData]; @@ -2129,7 +2129,7 @@ NSInteger _alphabeticSort(id string1, id string2, void *reverse) long allFlags = (NSShiftKeyMask|NSControlKeyMask|NSAlternateKeyMask|NSCommandKeyMask); // Check if user pressed ⌥ to allow composing of accented characters. - // e.g. for US keyboard "⌥u a" to insert ä + // e.g. for US keyboard "⌥ a" to insert ä // or for non-US keyboards to allow to enter dead keys // e.g. for German keyboard ` is a dead key, press space to enter ` if (([theEvent modifierFlags] & allFlags) == NSAlternateKeyMask || [[theEvent characters] length] == 0) |