aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPTextView.m
diff options
context:
space:
mode:
authorrowanbeentje <rowan@beent.je>2010-11-30 02:24:42 +0000
committerrowanbeentje <rowan@beent.je>2010-11-30 02:24:42 +0000
commitb4a5f241c7a6adfdf1b8f4afb94f8d8c57a5c0a9 (patch)
treef1f58eb63be0f13a653b9ecd0174264e0707ffa6 /Source/SPTextView.m
parentcc2e00c656a34d4c472a25f929282c8fc63d0174 (diff)
downloadsequelpro-b4a5f241c7a6adfdf1b8f4afb94f8d8c57a5c0a9.tar.gz
sequelpro-b4a5f241c7a6adfdf1b8f4afb94f8d8c57a5c0a9.tar.bz2
sequelpro-b4a5f241c7a6adfdf1b8f4afb94f8d8c57a5c0a9.zip
- Rework insertCommonPrefix to insertAutocompletePlaceholder, implementing a more Mac-like behaviour: insert a faded placeholder for the currently selected autocomplete item.
- Update the autocomplete placeholder when the autocomplete dropdown selection is changed - Clean up methods for removing placeholders, and ensure the placeholder is always removed (fixes issues with pasting with a placeholder visible, etc) - When the Help window is closed, switch off AutoHelp - this will aid in supporting those users who accidentally switch on AutoHelp and then can't figure out how to switch it off, resulting in returning windows.
Diffstat (limited to 'Source/SPTextView.m')
-rw-r--r--Source/SPTextView.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/SPTextView.m b/Source/SPTextView.m
index 85d2623a..ab37f464 100644
--- a/Source/SPTextView.m
+++ b/Source/SPTextView.m
@@ -852,7 +852,7 @@ NSInteger alphabeticSort(id string1, id string2, void *reverse)
[completionPopup setCaretPos:pos];
[completionPopup orderFront:self];
- [completionPopup insertCommonPrefix];
+ [completionPopup insertAutocompletePlaceholder];
}