aboutsummaryrefslogtreecommitdiffstats
path: root/Resources/PreferenceDefaults.plist
diff options
context:
space:
mode:
authorBibiko <bibiko@eva.mpg.de>2009-09-28 10:41:24 +0000
committerBibiko <bibiko@eva.mpg.de>2009-09-28 10:41:24 +0000
commit020cfd249c9022a2b84ae64786cdcbed42102217 (patch)
tree9ca5cde48ed30641427fb14b3b9cd97de581ac38 /Resources/PreferenceDefaults.plist
parentcc0c0a7842e3bff325fa29c71f5115361981797d (diff)
downloadsequelpro-020cfd249c9022a2b84ae64786cdcbed42102217.tar.gz
sequelpro-020cfd249c9022a2b84ae64786cdcbed42102217.tar.bz2
sequelpro-020cfd249c9022a2b84ae64786cdcbed42102217.zip
• rewrote the content filter logic:
- all default filters come from "ContentFilters.plist" which can be localized main structure: <plist> <dict> <key>number</key> <array/> <key>string</key> <array/> <key>date</key> <array/> </dict> </plist> filter item structure: [ ${} is a place holder for an argument ] <dict> <key>MenuLabel</key> <string>BETWEEN</string> <key>Tooltip> <string>a tooltip</string> <key>NumberOfArguments</key> <integer>2</integer> <key>ConjunctionLabels</key> <array> <string>AND</string> </array> <key>Clause</key> <string>BETWEEN '${}' AND '${}'</string> </dict> - if NumberOfArguments == 0 then start filtering automatically - now one can save his/her own filters in SP's preferences.plist (GUI follows soon) - fixed issue for filters requiring two arguments that pressing RETURN if one is in the second argument input field invokes "Filter" - added string operators: "IS EMPTY" and "IS NOT EMPTY" - fixed issue that now one is able to look for eg \n in string fields
Diffstat (limited to 'Resources/PreferenceDefaults.plist')
-rw-r--r--Resources/PreferenceDefaults.plist9
1 files changed, 8 insertions, 1 deletions
diff --git a/Resources/PreferenceDefaults.plist b/Resources/PreferenceDefaults.plist
index 33964fbb..e6b1c52e 100644
--- a/Resources/PreferenceDefaults.plist
+++ b/Resources/PreferenceDefaults.plist
@@ -109,6 +109,13 @@
<key>QuickLookTypes</key>
<array/>
<key>ContentFilters</key>
- <array/>
+ <dict>
+ <key>number</key>
+ <array/>
+ <key>string</key>
+ <array/>
+ <key>date</key>
+ <array/>
+ </dict>
</dict>
</plist>