From 87f5d0a9f91c49e9e4ae5f9411fc3a0e716911b1 Mon Sep 17 00:00:00 2001 From: Bibiko Date: Fri, 28 Aug 2009 11:36:30 +0000 Subject: =?UTF-8?q?=E2=80=A2=20Custom=20Query:=20-=20added=20to=20History?= =?UTF-8?q?=20list=20"Replace=20Editor=20Content"=20(stored=20in=20the=20p?= =?UTF-8?q?refs)=20and=20a=20search=20field=20-=20"Save=20...=20to=20Favor?= =?UTF-8?q?ites"=20menu=20title=20changes=20according=20to=20selection=20i?= =?UTF-8?q?n=20the=20textView?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Problem: How can we allow if the user hits RETURN in a search field (fav/history) to select the next menu item if any and to change the first responder to popup button menu list? --- Interfaces/English.lproj/DBView.xib | 452 +++++++++++++++++++++++++++++++----- 1 file changed, 400 insertions(+), 52 deletions(-) (limited to 'Interfaces/English.lproj') diff --git a/Interfaces/English.lproj/DBView.xib b/Interfaces/English.lproj/DBView.xib index 9d072239..ce0b0cb5 100644 --- a/Interfaces/English.lproj/DBView.xib +++ b/Interfaces/English.lproj/DBView.xib @@ -8,7 +8,6 @@ 353.00 YES - YES @@ -186,7 +185,6 @@ {212, 26} - 6 @@ -222,7 +220,6 @@ {212, 26} - 0 @@ -337,7 +334,6 @@ {212, 354} - 6 @@ -369,7 +365,6 @@ {212, 354} - 528 @@ -494,7 +489,6 @@ {212, 145} - 6 @@ -521,7 +515,6 @@ {212, 145} - 512 @@ -2242,8 +2235,8 @@ YES YES - . - , + , + . NO YES NO @@ -2862,29 +2855,6 @@ 6418 - - YES - - YES - Apple HTML pasteboard type - Apple PDF pasteboard type - Apple PICT pasteboard type - Apple PNG pasteboard type - Apple URL pasteboard type - CorePasteboardFlavorType 0x6D6F6F76 - CorePasteboardFlavorType 0x75726C20 - NSColor pasteboard type - NSFilenamesPboardType - NSStringPboardType - NeXT Encapsulated PostScript v1.2 pasteboard type - NeXT RTFD pasteboard type - NeXT Rich Text Format v1.0 pasteboard type - NeXT TIFF v4.0 pasteboard type - NeXT font pasteboard type - NeXT ruler pasteboard type - WebURLsWithTitlesPboardType - - {688, 14} @@ -2945,7 +2915,6 @@ {{1, 1}, {688, 155}} - @@ -2977,7 +2946,6 @@ {690, 157} - 530 @@ -3064,7 +3032,6 @@ {{1, 17}, {688, 228}} - 4 @@ -3097,7 +3064,6 @@ {{1, 0}, {688, 17}} - 4 @@ -3106,7 +3072,6 @@ {690, 246} - 562 @@ -3156,6 +3121,38 @@ YES + + + Replace Editor Content + + 2147483647 + + + _popUpItemAction: + + + + + YES + YES + + + 2147483647 + + + _popUpItemAction: + + + + + ..placeholder for seachfield.. + + 2147483647 + + + _popUpItemAction: + + YES @@ -3212,6 +3209,7 @@ _popUpItemAction: + 1000 @@ -3279,7 +3277,7 @@ -2042609409 35 - + NSImage button_action @@ -3294,10 +3292,7 @@ 1048576 2147483647 - - NSImage - button_action - + _popUpItemAction: @@ -3523,7 +3518,7 @@ YES - 15 + 6 YES 1 YES @@ -6364,7 +6359,7 @@ IGRvIHlvdSB3YW50IHRvIGFkZCBmb3IgdGhpcyBmaWVsZD8 {3.40282e+38, 3.40282e+38} - + 256 YES @@ -6961,7 +6956,6 @@ IGRvIHlvdSB3YW50IHRvIGFkZCBmb3IgdGhpcyBmaWVsZD8 {302, 307} - {{0, 0}, {1440, 878}} {3.40282e+38, 3.40282e+38} @@ -11343,7 +11337,7 @@ IGRvIHlvdSB3YW50IHRvIGFkZCBmb3IgdGhpcyBmaWVsZD8 NSView - + 4364 YES @@ -11352,6 +11346,7 @@ IGRvIHlvdSB3YW50IHRvIGFkZCBmb3IgdGhpcyBmaWVsZD8 268 {{20, 1}, {176, 19}} + YES 343014976 @@ -11413,6 +11408,84 @@ IGRvIHlvdSB3YW50IHRvIGFkZCBmb3IgdGhpcyBmaWVsZD8 {217, 20} + + + NSView + + + + 4364 + + YES + + + 268 + {{20, 1}, {176, 19}} + + + YES + + 343014976 + 272925696 + + + search for queries (as regexp) + + YES + 1 + + + + 130560 + 0 + search + _searchFieldSearch: + + + 138690815 + 0 + + 400 + 75 + + + 130560 + 0 + clear + + YES + + YES + + YES + AXDescription + NSAccessibilityEncodedAttributesValueType + + + YES + cancel + + + + + _searchFieldCancel: + + + 138690815 + 0 + + 400 + 75 + + SPQueryHistorySearchField + 10 + CAAAAA + + + + {217, 20} + + NSView @@ -15242,6 +15315,70 @@ IGRvIHlvdSB3YW50IHRvIGFkZCBmb3IgdGhpcyBmaWVsZD8 6437 + + + queryFavoritesSaveAsMenuItem + + + + 6440 + + + + value: values.QueryHistoryReplacesContent + + + + + + value: values.QueryHistoryReplacesContent + value + values.QueryHistoryReplacesContent + 2 + + + 6443 + + + + queryHistorySearchMenuItem + + + + 6446 + + + + queryHistorySearchFieldView + + + + 6450 + + + + queryHistorySearchField + + + + 6451 + + + + filterQueryHistory: + + + + 6452 + + + + delegate + + + + 6453 + @@ -18176,6 +18313,9 @@ IGRvIHlvdSB3YW50IHRvIGFkZCBmb3IgdGhpcyBmaWVsZD8 YES + + + @@ -21440,6 +21580,45 @@ IGRvIHlvdSB3YW50IHRvIGFkZCBmb3IgdGhpcyBmaWVsZD8 + + 6441 + + + + + 6444 + + + + + 6445 + + + + + 6447 + + + YES + + + + Query History Search + + + 6448 + + + YES + + + + + + 6449 + + + @@ -22723,6 +22902,14 @@ IGRvIHlvdSB3YW50IHRvIGFkZCBmb3IgdGhpcyBmaWVsZD8 6432.IBAttributePlaceholdersKey 6432.IBPluginDependency 6433.IBPluginDependency + 6441.IBPluginDependency + 6444.IBPluginDependency + 6445.IBPluginDependency + 6447.IBEditorWindowLastContentRect + 6447.IBPluginDependency + 6448.IBAttributePlaceholdersKey + 6448.IBPluginDependency + 6449.IBPluginDependency 654.IBPluginDependency 654.ImportedFromIB2 655.IBPluginDependency @@ -23051,7 +23238,7 @@ IGRvIHlvdSB3YW50IHRvIGFkZCBmb3IgdGhpcyBmaWVsZD8 com.apple.InterfaceBuilder.CocoaPlugin - {{351, 701}, {215, 98}} + {{379, 650}, {215, 98}} com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin @@ -23068,7 +23255,7 @@ IGRvIHlvdSB3YW50IHRvIGFkZCBmb3IgdGhpcyBmaWVsZD8 com.apple.InterfaceBuilder.CocoaPlugin - {{383, 624}, {137, 20}} + {{497, 684}, {215, 64}} com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin @@ -23727,9 +23914,9 @@ IGRvIHlvdSB3YW50IHRvIGFkZCBmb3IgdGhpcyBmaWVsZD8 com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin - {{94, 422}, {944, 550}} + {{172, 340}, {944, 550}} - {{94, 422}, {944, 550}} + {{172, 340}, {944, 550}} {{62, 352}, {845, 504}} @@ -23895,7 +24082,7 @@ aGUgYWN0aXZlIHNlbGVjdGlvbiAo4oyl4oyYUik com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin - {{303, 496}, {236, 305}} + {{381, 414}, {236, 305}} com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin @@ -24553,6 +24740,22 @@ aGUgYWN0aXZlIHNlbGVjdGlvbiAo4oyl4oyYUik com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin + {{409, 828}, {217, 20}} + com.apple.InterfaceBuilder.CocoaPlugin + + YES + + YES + + + YES + + + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin {{419, 772}, {217, 20}} com.apple.InterfaceBuilder.CocoaPlugin @@ -24762,7 +24965,7 @@ aGUgYWN0aXZlIHNlbGVjdGlvbiAo4oyl4oyYUik - 6439 + 6453 @@ -26092,6 +26295,151 @@ aGUgYWN0aXZlIHNlbGVjdGlvbiAo4oyl4oyYUik + + YES + + CustomQuery + NSObject + + YES + + YES + chooseQueryFavorite: + chooseQueryHistory: + closeSheet: + filterQueryFavorites: + filterQueryHistory: + gearMenuItemSelected: + helpSearchFindNextInPage: + helpSearchFindPreviousInPage: + helpSegmentDispatcher: + helpSelectHelpTargetMySQL: + helpSelectHelpTargetPage: + helpSelectHelpTargetWeb: + helpTargetDispatcher: + runAllQueries: + runSelectedQueries: + showHelpForCurrentWord: + showHelpForSearchString: + + + YES + id + id + id + id + id + id + id + id + id + id + id + id + id + id + id + id + id + + + + YES + + YES + affectedRowsText + autohelpMenuItem + autoindentMenuItem + autopairMenuItem + autouppercaseKeywordsMenuItem + clearHistoryMenuItem + commentCurrentQueryMenuItem + commentLineOrSelectionMenuItem + completionListMenuItem + customQueryView + editorFontMenuItem + errorText + helpNavigator + helpSearchField + helpSearchFieldCell + helpTargetSelector + helpWebView + helpWebViewWindow + multipleLineEditingButton + queryFavoriteNameTextField + queryFavoritesButton + queryFavoritesSaveAsMenuItem + queryFavoritesSearchField + queryFavoritesSearchFieldView + queryFavoritesSearchMenuItem + queryFavoritesSheet + queryHistoryButton + queryHistorySearchField + queryHistorySearchFieldView + queryHistorySearchMenuItem + runAllButton + runSelectionButton + runSelectionMenuItem + saveQueryFavoriteButton + shiftLeftMenuItem + shiftRightMenuItem + tableDocumentInstance + tableWindow + textView + valueSheet + valueTextField + + + YES + id + NSMenuItem + NSMenuItem + NSMenuItem + NSMenuItem + NSMenuItem + NSMenuItem + NSMenuItem + NSMenuItem + CMCopyTable + NSMenuItem + id + NSSegmentedControl + NSSearchField + NSSearchFieldCell + NSSegmentedControl + WebView + NSWindow + id + NSTextField + id + NSMenuItem + NSSearchField + id + NSMenuItem + NSWindow + id + NSSearchField + id + NSMenuItem + id + id + NSMenuItem + NSButton + NSMenuItem + NSMenuItem + id + id + CMTextView + id + id + + + + IBDocumentRelativeSource + ../../Source/CustomQuery.h + + + 0 ../../sequel-pro.xcodeproj -- cgit v1.2.3