From 87099cc81ddec5c695f4a62fa3c69de228523c82 Mon Sep 17 00:00:00 2001 From: avenjamin Date: Mon, 2 Nov 2009 06:40:16 +0000 Subject: =?UTF-8?q?=E2=80=A2=20Initial=20work=20to=20set=20the=20default?= =?UTF-8?q?=20view=20mode=20when=20connecting.=20Issue=20#249=20=E2=80=A2?= =?UTF-8?q?=20Organize=20constants=20into=20groups?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Interfaces/English.lproj/Preferences.xib | 1907 ++++++++++++------------------ Source/SPConstants.h | 97 +- Source/SPConstants.m | 93 +- Source/TableDocument.m | 10 + 4 files changed, 885 insertions(+), 1222 deletions(-) diff --git a/Interfaces/English.lproj/Preferences.xib b/Interfaces/English.lproj/Preferences.xib index 74f5784e..2f11e4d9 100644 --- a/Interfaces/English.lproj/Preferences.xib +++ b/Interfaces/English.lproj/Preferences.xib @@ -1,19 +1,15 @@ - + 1050 - 10B504 - 740 - 1038.2 - 437.00 - - com.apple.InterfaceBuilder.CocoaPlugin - 740 - + 9L31a + 677 + 949.54 + 353.00 YES - - + + YES @@ -21,7 +17,7 @@ YES - + YES @@ -49,9 +45,10 @@ {3.40282e+38, 3.40282e+38} - + 256 {500, 172} + {{0, 0}, {1920, 1178}} {3.40282e+38, 3.40282e+38} @@ -72,15 +69,15 @@ 1024 LucidaGrande - 13 + 1.300000e+01 1044 -2038284033 1 - + LucidaGrande - 13 + 1.300000e+01 16 @@ -89,18 +86,18 @@ 400 75 - + - EUC-JP Japanese (ujis) + Autodetect 1048576 2147483647 1 - + NSImage NSMenuCheckmark - + NSImage NSMenuMixedState @@ -112,17 +109,7 @@ OtherViews YES - - - Autodetect - - 1048576 - 2147483647 - - - _popUpItemAction: - - + YES @@ -131,8 +118,8 @@ 1048576 2147483647 - - + + _popUpItemAction: @@ -142,8 +129,8 @@ 1048576 2147483647 - - + + _popUpItemAction: @@ -153,8 +140,8 @@ 1048576 2147483647 - - + + _popUpItemAction: @@ -166,8 +153,8 @@ 1048576 2147483647 - - + + _popUpItemAction: @@ -177,8 +164,8 @@ 1048576 2147483647 - - + + _popUpItemAction: @@ -188,8 +175,8 @@ 1048576 2147483647 - - + + _popUpItemAction: @@ -199,8 +186,8 @@ 1048576 2147483647 - - + + _popUpItemAction: @@ -212,8 +199,8 @@ 1048576 2147483647 - - + + _popUpItemAction: @@ -223,8 +210,8 @@ 1048576 2147483647 - - + + _popUpItemAction: @@ -234,8 +221,8 @@ 1048576 2147483647 - - + + _popUpItemAction: @@ -247,8 +234,8 @@ 1048576 2147483647 - - + + _popUpItemAction: @@ -258,8 +245,8 @@ 1048576 2147483647 - - + + _popUpItemAction: @@ -269,8 +256,8 @@ 1048576 2147483647 - - + + _popUpItemAction: @@ -280,8 +267,8 @@ 1048576 2147483647 - - + + _popUpItemAction: @@ -291,8 +278,8 @@ 1048576 2147483647 - - + + _popUpItemAction: @@ -304,8 +291,8 @@ 1048576 2147483647 - - + + _popUpItemAction: @@ -315,8 +302,8 @@ 1048576 2147483647 - - + + _popUpItemAction: @@ -328,8 +315,8 @@ 1048576 2147483647 - - + + _popUpItemAction: @@ -339,8 +326,8 @@ 1048576 2147483647 - - + + _popUpItemAction: @@ -352,8 +339,8 @@ 1048576 2147483647 - - + + _popUpItemAction: @@ -363,8 +350,8 @@ 1048576 2147483647 - - + + _popUpItemAction: @@ -374,25 +361,34 @@ 1048576 2147483647 - - + + + _popUpItemAction: + + + + + EUC-JP Japanese (ujis) + + 1048576 + 2147483647 + + _popUpItemAction: - EUC-KR Korean (euckr) 2147483647 - - + + _popUpItemAction: - 23 3 YES YES @@ -402,7 +398,7 @@ 268 - {{152, 168}, {209, 18}} + {{152, 214}, {209, 18}} YES @@ -429,12 +425,12 @@ 268 - {{40, 196}, {108, 17}} + {{40, 242}, {108, 17}} YES - 67239488 - 272630784 + 68288064 + 71304192 Default Favorite: @@ -444,7 +440,7 @@ controlColor 3 - MC42NjY2NjY2ODY1AA + MC42NjY2NjY2OQA @@ -461,7 +457,7 @@ 268 - {{151, 190}, {254, 26}} + {{151, 236}, {254, 26}} YES @@ -497,8 +493,8 @@ YES - 67239424 - 4194304 + 68288064 + 71304192 Default Encoding: @@ -572,7 +568,7 @@ 3 - MCAwLjgwMDAwMDAxMTkAA + MCAwLjgwMDAwMDAxAA 3 @@ -594,7 +590,7 @@ 3 - MCAwLjgwMDAwMDAxMTkAA + MCAwLjgwMDAwMDAxAA 3 @@ -616,7 +612,7 @@ 3 - MCAwLjgwMDAwMDAxMTkAA + MCAwLjgwMDAwMDAxAA 3 @@ -627,7 +623,7 @@ 268 - {{38, 23}, {110, 17}} + {{45, 23}, {103, 17}} YES @@ -649,12 +645,12 @@ -1804468671 138413056 - + YES - + YES allowsFloats formatterBehavior @@ -665,34 +661,40 @@ YES - + - + - + # # - - + + + + + + NaN - + YES - + + YES + YES - - + + 3 YES @@ -732,8 +734,159 @@ + + + 268 + {{151, 169}, {254, 26}} + + YES + + -2076049856 + 1024 + + + -2038284033 + 1 + + + + + + 400 + 75 + + + Last Used + + 2147483647 + 1 + + + _popUpItemAction: + + + YES + + OtherViews + + YES + + + + YES + YES + + + 2147483647 + 1 + + + _popUpItemAction: + + + + + Structure + + 2147483647 + + + _popUpItemAction: + 1 + + + + + Content + + 2147483647 + + + _popUpItemAction: + 2 + + + + + Relations + + 2147483647 + + + _popUpItemAction: + 3 + + + + + Table Info + + 2147483647 + + + _popUpItemAction: + 4 + + + + + Query Editor + + 2147483647 + + + _popUpItemAction: + 5 + + + + + 3 + YES + YES + 1 + + + + + 268 + {{61, 175}, {88, 17}} + + YES + + 68288064 + 71304192 + Default View: + + + + + + + + + 12 + {{154, 204}, {326, 5}} + + {0, 0} + + 67239424 + 0 + Box + + + + 3 + MCAwLjgwMDAwMDAxAA + + + 3 + 2 + 0 + NO + - {500, 234} + {500, 280} NSView @@ -879,10 +1032,10 @@ 917024 0 - 100 - 1 - 50000 - 1 + 1.000000e+02 + 1.000000e+00 + 5.000000e+04 + 1.000000e+00 YES YES @@ -902,7 +1055,7 @@ YES - + YES allowsFloats formatterBehavior @@ -914,27 +1067,31 @@ YES - + - - - - + + + + #1 #1 - - + + + + + + NaN - + - - + + 3 YES @@ -1000,7 +1157,7 @@ 67239424 0 - Don't load blob and text fields until needed + RG9uJ3QgbG9hZCBibG9iIGFuZCB0ZXh0IGZpZWxkcyB1bnRpbCBuZWVkZWQ 1211912703 @@ -1051,7 +1208,7 @@ 3 - MCAwLjgwMDAwMDAxMTkAA + MCAwLjgwMDAwMDAxAA 3 @@ -1074,7 +1231,7 @@ 3 - MCAwLjgwMDAwMDAxMTkAA + MCAwLjgwMDAwMDAxAA 3 @@ -1097,7 +1254,7 @@ 3 - MCAwLjgwMDAwMDAxMTkAA + MCAwLjgwMDAwMDAxAA 3 @@ -1135,7 +1292,7 @@ NSView - + 268 YES @@ -1154,7 +1311,6 @@ 292 {{62, -1}, {33, 25}} - YES 67239424 @@ -1179,7 +1335,6 @@ 292 {{0, -1}, {32, 25}} - YES 67239424 @@ -1204,7 +1359,6 @@ 292 {{31, -1}, {32, 25}} - YES 67239424 @@ -1239,7 +1393,6 @@ 4370 {198, 358} - YES @@ -1250,21 +1403,21 @@ YES name - 195 - 40 - 1000 + 1.950000e+02 + 4.000000e+01 + 1.000000e+03 75628096 2048 Favorites LucidaGrande - 11 + 1.100000e+01 3100 3 - MC4zMzMzMzI5ODU2AA + MC4zMzMzMzI5OQA 6 @@ -1292,15 +1445,15 @@ - 3 - 2 + 3.000000e+00 + 2.000000e+00 6 System _sourceListBackgroundColor 1 - MC44MzkyMTU2OTU5IDAuODY2NjY2Njc0NiAwLjg5ODAzOTIyMTgAA + MC44MzkyMTU3IDAuODY2NjY2NjcgMC44OTgwMzkyMgA @@ -1312,22 +1465,17 @@ MC41AA - 45 + 4.500000e+01 306184192 - - 5 15 0 NO 1 - 1 {{1, 1}, {198, 358}} - - 4 @@ -1337,28 +1485,24 @@ -2147483392 {{183, 1}, {11, 317}} - 256 _doScroller: - 0.99721449613571167 + 9.972145e-01 -2147483392 {{-100, -100}, {311, 15}} - 1 _doScroller: - 0.99532711505889893 + 9.953271e-01 {{-2, 22}, {200, 360}} - - 530 @@ -1370,7 +1514,7 @@ 290 YES - + YES Apple PDF pasteboard type Apple PICT pasteboard type @@ -1382,7 +1526,6 @@ {{95, 0}, {102, 23}} - YES 130560 @@ -1401,7 +1544,6 @@ {197, 381} - NSView @@ -1414,7 +1556,6 @@ 266 {{-7, 34}, {322, 282}} - YES @@ -1766,7 +1907,6 @@ 266 {{119, 59}, {135, 19}} - YES -1804468671 @@ -1784,7 +1924,6 @@ 266 {{119, 33}, {135, 19}} - YES -1804468671 @@ -1802,7 +1941,6 @@ 266 {{119, 85}, {135, 19}} - YES -1804468671 @@ -1820,7 +1958,6 @@ 266 {{119, 7}, {135, 19}} - YES -1804468671 @@ -1839,7 +1976,6 @@ 268 {{59, 61}, {55, 14}} - YES 68288064 @@ -1856,7 +1992,6 @@ 268 {{33, 35}, {81, 14}} - YES 68288064 @@ -1873,7 +2008,6 @@ 268 {{58, 87}, {56, 14}} - YES 68288064 @@ -1890,7 +2024,6 @@ 268 {{54, 9}, {60, 14}} - YES 68288064 @@ -1907,7 +2040,6 @@ 266 {{119, 153}, {135, 19}} - YES -1804468671 @@ -1926,7 +2058,6 @@ 266 {{119, 180}, {135, 19}} - YES 343014976 @@ -1948,7 +2079,6 @@ 266 {{119, 207}, {135, 19}} - YES -1804468671 @@ -1966,7 +2096,6 @@ 266 {{119, 126}, {135, 19}} - YES -1804468671 @@ -1985,7 +2114,6 @@ 266 {{119, 234}, {135, 19}} - YES -1804468671 @@ -2003,7 +2131,6 @@ 268 {{42, 236}, {72, 14}} - YES 68288064 @@ -2020,7 +2147,6 @@ 268 {{53, 209}, {61, 14}} - YES 68288064 @@ -2037,7 +2163,6 @@ 268 {{57, 155}, {57, 14}} - YES 68288064 @@ -2054,7 +2179,6 @@ 268 {{56, 182}, {58, 14}} - YES 68288064 @@ -2071,7 +2195,6 @@ 268 {{85, 128}, {29, 14}} - YES 68288064 @@ -2086,7 +2209,6 @@ {{10, 7}, {287, 262}} - SSH @@ -2107,7 +2229,6 @@ 266 {{112, 342}, {170, 19}} - YES -1804468671 @@ -2125,7 +2246,6 @@ 268 {{68, 344}, {39, 14}} - YES 68288064 @@ -2142,7 +2262,6 @@ 266 {{109, 313}, {176, 22}} - YES -2076049856 @@ -2162,8 +2281,8 @@ 1048576 2147483647 1 - - + + _popUpItemAction: @@ -2178,8 +2297,8 @@ 1048576 2147483647 - - + + _popUpItemAction: @@ -2189,8 +2308,8 @@ 1048576 2147483647 - - + + _popUpItemAction: @@ -2209,7 +2328,6 @@ 268 {{68, 318}, {39, 14}} - YES 68288064 @@ -2224,24 +2342,20 @@ {{198, 0}, {302, 381}} - NSView {500, 381} - YES 2 {500, 381} - - NSView - + 268 YES @@ -2250,6 +2364,7 @@ 268 {{152, 173}, {187, 18}} + YES 67239424 @@ -2272,6 +2387,7 @@ 12 {{154, 136}, {334, 5}} + {0, 0} 67239424 @@ -2281,7 +2397,7 @@ 3 - MCAwLjgwMDAwMDAxMTkAA + MCAwLjgwMDAwMDAxAA 3 @@ -2294,6 +2410,7 @@ 268 {{152, 150}, {261, 18}} + YES 67239424 @@ -2316,6 +2433,7 @@ 268 {{152, 110}, {207, 18}} + YES 67239424 @@ -2338,6 +2456,7 @@ 268 {{180, 87}, {77, 18}} + YES 67239424 @@ -2360,11 +2479,12 @@ 268 {{180, 41}, {123, 18}} + YES 67239424 0 - Import & Export + SW1wb3J0ICYgRXhwb3J0A 1211912703 @@ -2382,6 +2502,7 @@ 268 {{180, 64}, {154, 18}} + YES 67239424 @@ -2404,6 +2525,7 @@ 268 {{180, 18}, {63, 18}} + YES 67239424 @@ -2423,10 +2545,12 @@ {500, 209} + + NSView - + 268 YES @@ -2435,6 +2559,7 @@ 256 {{152, 117}, {225, 18}} + YES 67239424 @@ -2456,6 +2581,7 @@ 268 {{148, 12}, {111, 32}} + YES 67239424 @@ -2476,6 +2602,7 @@ 256 {{73, 49}, {75, 17}} + YES 67239424 @@ -2492,12 +2619,13 @@ 256 {{151, 49}, {254, 17}} + YES 67239424 272629760 - 190657900 + 1.906579e+08 Australia/Sydney @@ -2523,7 +2651,7 @@ AQAAAAA YES - + YES dateFormat_10_0 formatterBehavior @@ -2533,7 +2661,7 @@ AQAAAAA YES %a, %B %e, %Y %H:%M:%S - + %a, %B %e, %Y %H:%M:%S @@ -2549,6 +2677,7 @@ AQAAAAA 12 {{154, 72}, {326, 5}} + {0, 0} 67239424 @@ -2558,7 +2687,7 @@ AQAAAAA 3 - MCAwLjgwMDAwMDAxMTkAA + MCAwLjgwMDAwMDAxAA 3 @@ -2571,6 +2700,7 @@ AQAAAAA 256 {{75, 93}, {73, 17}} + YES 67239424 @@ -2587,6 +2717,7 @@ AQAAAAA 268 {{151, 87}, {150, 26}} + YES -2076049856 @@ -2606,8 +2737,8 @@ AQAAAAA 1048576 2147483647 1 - - + + _popUpItemAction: 604800 @@ -2623,8 +2754,8 @@ AQAAAAA 1048576 2147483647 - - + + _popUpItemAction: 3600 @@ -2635,8 +2766,8 @@ AQAAAAA 1048576 2147483647 - - + + _popUpItemAction: 86400 @@ -2653,10 +2784,12 @@ AQAAAAA {500, 153} + + NSView - + 268 YES @@ -2665,6 +2798,7 @@ AQAAAAA 268 {{12, 56}, {137, 17}} + YES 67239488 @@ -2681,6 +2815,7 @@ AQAAAAA 268 {{152, 18}, {166, 18}} + YES -2080244224 @@ -2703,6 +2838,7 @@ AQAAAAA 268 {{154, 53}, {50, 22}} + YES -1804468671 @@ -2712,7 +2848,7 @@ AQAAAAA YES - + YES allowsFloats formatterBehavior @@ -2722,25 +2858,29 @@ AQAAAAA YES - + - - + + # # - - + + + + + + NaN - + - - + + 3 YES @@ -2765,6 +2905,7 @@ AQAAAAA 268 {{209, 56}, {56, 17}} + YES 67239488 @@ -2781,6 +2922,7 @@ AQAAAAA 12 {{154, 42}, {326, 5}} + {0, 0} 67239424 @@ -2790,7 +2932,7 @@ AQAAAAA 3 - MCAwLjgwMDAwMDAxMTkAA + MCAwLjgwMDAwMDAxAA 3 @@ -2800,6 +2942,8 @@ AQAAAAA {500, 93} + + NSView @@ -2819,11 +2963,12 @@ AQAAAAA {{154, 199}, {44, 23}} + YES YES 1 - MC4wNTgxMzA0OTg5OCAwLjA1NTU0MTg5OTA2IDEAA + MC4wNTgxMzA0OTkgMC4wNTU1NDE4OTkgMQA @@ -2838,11 +2983,12 @@ AQAAAAA {{154, 228}, {44, 23}} + YES YES 1 - MC4wNTgxMzA0OTg5OCAwLjA1NTU0MTg5OTA2IDEAA + MC4wNTgxMzA0OTkgMC4wNTU1NDE4OTkgMQA @@ -2857,11 +3003,12 @@ AQAAAAA {{154, 141}, {44, 23}} + YES YES 1 - MC4wNTgxMzA0OTg5OCAwLjA1NTU0MTg5OTA2IDEAA + MC4wNTgxMzA0OTkgMC4wNTU1NDE4OTkgMQA @@ -2876,11 +3023,12 @@ AQAAAAA {{154, 112}, {44, 23}} + YES YES 1 - MC4wNTgxMzA0OTg5OCAwLjA1NTU0MTg5OTA2IDEAA + MC4wNTgxMzA0OTkgMC4wNTU1NDE4OTkgMQA @@ -2895,11 +3043,12 @@ AQAAAAA {{154, 286}, {44, 23}} + YES YES 1 - MC4wNTgxMzA0OTg5OCAwLjA1NTU0MTg5OTA2IDEAA + MC4wNTgxMzA0OTkgMC4wNTU1NDE4OTkgMQA @@ -2914,11 +3063,12 @@ AQAAAAA {{154, 170}, {44, 23}} + YES YES 1 - MC4wNTgxMzA0OTg5OCAwLjA1NTU0MTg5OTA2IDEAA + MC4wNTgxMzA0OTkgMC4wNTU1NDE4OTkgMQA @@ -2933,11 +3083,12 @@ AQAAAAA {{154, 83}, {44, 23}} + YES YES 1 - MC4wNTgxMzA0OTg5OCAwLjA1NTU0MTg5OTA2IDEAA + MC4wNTgxMzA0OTkgMC4wNTU1NDE4OTkgMQA @@ -2952,11 +3103,12 @@ AQAAAAA {{154, 54}, {44, 23}} + YES YES 1 - MC4wNTgxMzA0OTg5OCAwLjA1NTU0MTg5OTA2IDEAA + MC4wNTgxMzA0OTkgMC4wNTU1NDE4OTkgMQA @@ -2971,11 +3123,12 @@ AQAAAAA {{154, 315}, {44, 23}} + YES YES 1 - MC4wNTgxMzA0OTg5OCAwLjA1NTU0MTg5OTA2IDEAA + MC4wNTgxMzA0OTkgMC4wNTU1NDE4OTkgMQA @@ -2990,10 +3143,11 @@ AQAAAAA {{154, 257}, {44, 23}} + YES 1 - MC4wNTgxMzA0OTg5OCAwLjA1NTU0MTg5OTA2IDEAA + MC4wNTgxMzA0OTkgMC4wNTU1NDE4OTkgMQA @@ -3001,6 +3155,7 @@ AQAAAAA 268 {{86, 202}, {63, 17}} + YES 68288064 @@ -3017,6 +3172,7 @@ AQAAAAA 268 {{88, 173}, {61, 17}} + YES 68288064 @@ -3033,6 +3189,7 @@ AQAAAAA 268 {{79, 231}, {70, 17}} + YES 68288064 @@ -3049,6 +3206,7 @@ AQAAAAA 268 {{89, 86}, {60, 17}} + YES 68288064 @@ -3065,6 +3223,7 @@ AQAAAAA 268 {{23, 58}, {125, 17}} + YES 68288064 @@ -3081,6 +3240,7 @@ AQAAAAA 268 {{102, 144}, {47, 17}} + YES 68288064 @@ -3097,6 +3257,7 @@ AQAAAAA 268 {{112, 318}, {37, 17}} + YES 68288064 @@ -3113,6 +3274,7 @@ AQAAAAA 268 {{46, 115}, {103, 17}} + YES 68288064 @@ -3129,6 +3291,7 @@ AQAAAAA 268 {{66, 289}, {83, 17}} + YES 68288064 @@ -3145,6 +3308,7 @@ AQAAAAA 268 {{113, 357}, {36, 17}} + YES 68288064 @@ -3161,6 +3325,7 @@ AQAAAAA 268 {{73, 12}, {131, 32}} + YES -2080244224 @@ -3181,11 +3346,12 @@ AQAAAAA 268 {{396, 347}, {90, 32}} + YES 67239424 134217728 - Select… + U2VsZWN04oCmA -2038284033 @@ -3201,6 +3367,7 @@ AQAAAAA 268 {{154, 355}, {240, 19}} + YES -2076049856 @@ -3218,6 +3385,7 @@ AQAAAAA 268 {{107, 260}, {42, 17}} + YES 605158976 @@ -3234,6 +3402,7 @@ AQAAAAA 268 {{257, 317}, {126, 18}} + YES -2080244224 @@ -3256,6 +3425,7 @@ AQAAAAA 268 {{257, 288}, {150, 18}} + YES -2080244224 @@ -3278,6 +3448,7 @@ AQAAAAA 268 {{257, 230}, {179, 18}} + YES 67239424 @@ -3300,6 +3471,7 @@ AQAAAAA 268 {{257, 259}, {185, 18}} + YES -2080244224 @@ -3322,6 +3494,7 @@ AQAAAAA 268 {{257, 173}, {185, 18}} + YES -2080244224 @@ -3344,6 +3517,7 @@ AQAAAAA -2147483380 {{257, 144}, {197, 18}} + YES -1543373312 @@ -3366,6 +3540,7 @@ AQAAAAA 268 {{357, 205}, {29, 19}} + YES -1538130368 @@ -3375,7 +3550,7 @@ AQAAAAA YES - + YES allowsFloats alwaysShowsDecimalSeparator @@ -3391,16 +3566,16 @@ AQAAAAA YES - - + + . - - - - + + + + #.0 @@ -3408,14 +3583,18 @@ AQAAAAA #.0 - - + + + + + + NaN - + - - + + 3 YES @@ -3439,6 +3618,7 @@ AQAAAAA 268 {{298, 207}, {54, 14}} + YES 605158976 @@ -3455,16 +3635,17 @@ AQAAAAA 268 {{392, 203}, {15, 22}} + YES 604896800 131072 - 1 - 0.10000000000000001 - 5 - 0.10000000000000001 + 1.000000e+00 + 1.000000e-01 + 5.000000e+00 + 1.000000e-01 YES @@ -3473,6 +3654,7 @@ AQAAAAA 268 {{410, 207}, {27, 14}} + YES 605158976 @@ -3489,6 +3671,7 @@ AQAAAAA 12 {{154, 344}, {326, 5}} + {0, 0} 67239424 @@ -3498,7 +3681,7 @@ AQAAAAA 3 - MCAwLjgwMDAwMDAxMTkAA + MCAwLjgwMDAwMDAxAA 3 @@ -3509,9 +3692,14 @@ AQAAAAA {500, 395} + NSView + + YES + DefaultViewMode + YES @@ -3993,7 +4181,7 @@ AQAAAAA arrangedObjects.name NSAllowsEditingMultipleValuesSelection - + 2 @@ -4149,15 +4337,15 @@ AQAAAAA values.favorites YES - + YES NSDeletesObjectsOnRemove NSHandlesContentAsCompoundValue YES - - + + 2 @@ -4386,7 +4574,7 @@ AQAAAAA growlEnabled NSNullPlaceholder - + 2 @@ -4798,7 +4986,7 @@ AQAAAAA selection.type NSValidatesImmediately - + 2 @@ -4842,14 +5030,14 @@ AQAAAAA selection.type YES - + YES NSNoSelectionPlaceholder NSValueTransformerName YES - + NSIsNotNil @@ -4959,7 +5147,7 @@ AQAAAAA selection.host YES - + YES NSAllowsEditingMultipleValuesSelection NSContinuouslyUpdatesValue @@ -4967,8 +5155,8 @@ AQAAAAA YES - - + + no selection @@ -4990,7 +5178,7 @@ AQAAAAA selection.user YES - + YES NSAllowsEditingMultipleValuesSelection NSContinuouslyUpdatesValue @@ -4998,8 +5186,8 @@ AQAAAAA YES - - + + no selection @@ -5021,7 +5209,7 @@ AQAAAAA selection.database YES - + YES NSAllowsEditingMultipleValuesSelection NSContinuouslyUpdatesValue @@ -5030,8 +5218,8 @@ AQAAAAA YES - - + + no selection optional @@ -5054,7 +5242,7 @@ AQAAAAA selection.port YES - + YES NSAllowsEditingMultipleValuesSelection NSContinuouslyUpdatesValue @@ -5063,8 +5251,8 @@ AQAAAAA YES - - + + no selection 3306 @@ -5087,14 +5275,14 @@ AQAAAAA selection.user YES - + YES NSContinuouslyUpdatesValue NSNoSelectionPlaceholder YES - + no selection @@ -5116,7 +5304,7 @@ AQAAAAA selection.database YES - + YES NSContinuouslyUpdatesValue NSNoSelectionPlaceholder @@ -5124,7 +5312,7 @@ AQAAAAA YES - + no selection optional @@ -5147,7 +5335,7 @@ AQAAAAA selection.socket YES - + YES NSContinuouslyUpdatesValue NSNoSelectionPlaceholder @@ -5155,7 +5343,7 @@ AQAAAAA YES - + no selection optional @@ -5178,7 +5366,7 @@ AQAAAAA selection.name YES - + YES NSAllowsEditingMultipleValuesSelection NSContinuouslyUpdatesValue @@ -5186,8 +5374,8 @@ AQAAAAA YES - - + + no selection @@ -5209,14 +5397,14 @@ AQAAAAA selection.host YES - + YES NSContinuouslyUpdatesValue NSNoSelectionPlaceholder YES - + no selection @@ -5238,14 +5426,14 @@ AQAAAAA selection.user YES - + YES NSContinuouslyUpdatesValue NSNoSelectionPlaceholder YES - + no selection @@ -5267,7 +5455,7 @@ AQAAAAA selection.database YES - + YES NSContinuouslyUpdatesValue NSNoSelectionPlaceholder @@ -5275,7 +5463,7 @@ AQAAAAA YES - + no selection optional @@ -5298,7 +5486,7 @@ AQAAAAA selection.port YES - + YES NSContinuouslyUpdatesValue NSNoSelectionPlaceholder @@ -5306,7 +5494,7 @@ AQAAAAA YES - + no selection 3306 @@ -5329,14 +5517,14 @@ AQAAAAA selection.sshHost YES - + YES NSContinuouslyUpdatesValue NSNoSelectionPlaceholder YES - + no selection @@ -5358,14 +5546,14 @@ AQAAAAA selection.sshUser YES - + YES NSContinuouslyUpdatesValue NSNoSelectionPlaceholder YES - + no selection @@ -5387,7 +5575,7 @@ AQAAAAA selection.sshPort YES - + YES NSContinuouslyUpdatesValue NSNoSelectionPlaceholder @@ -5395,7 +5583,7 @@ AQAAAAA YES - + no selection 22 @@ -5573,32 +5761,50 @@ AQAAAAA 1383 + + + selectedValue: values.DefaultViewMode + + + + + + selectedValue: values.DefaultViewMode + selectedValue + values.DefaultViewMode + 2 + + + 1462 + YES 0 - + + YES + -2 - - File's Owner + + RmlsZSdzIE93bmVyA -1 - + First Responder -3 - + Application @@ -5608,7 +5814,7 @@ AQAAAAA YES - + PreferencesPanel @@ -5634,8 +5840,11 @@ AQAAAAA + + + - + General @@ -5823,7 +6032,7 @@ AQAAAAA - + Notifications @@ -5839,7 +6048,7 @@ AQAAAAA - + AutoUpdate @@ -5929,18 +6138,18 @@ AQAAAAA 117 - + 254 - + Favorites 331 - + Updater @@ -5964,7 +6173,7 @@ AQAAAAA YES - + Favorites @@ -6125,7 +6334,7 @@ AQAAAAA - + Tables @@ -6423,7 +6632,7 @@ AQAAAAA - + Network @@ -6593,7 +6802,7 @@ AQAAAAA - + Editor @@ -7850,15 +8059,103 @@ AQAAAAA + + 1418 + + + YES + + + + + + 1419 + + + YES + + + + + + 1420 + + + + + 1421 + + + + + 1422 + + + YES + + + + + + 1423 + + + YES + + + + + + + + + + + + 1449 + + + + + 1450 + + + + + 1451 + + + + + 1452 + + + + + 1453 + + + + + 1454 + + + + + 1455 + + + YES - + YES + -1.IBPluginDependency + -2.IBPluginDependency -3.IBPluginDependency 1.IBEditorWindowLastContentRect - 1.IBPluginDependency 1.IBWindowTemplateEditedContentRect 1.NSWindowTemplate.visibleAtLaunch 1.WindowOrigin @@ -8019,6 +8316,24 @@ AQAAAAA 1357.IBPluginDependency 1358.IBPluginDependency 1385.IBPluginDependency + 1418.IBPluginDependency + 1418.ImportedFromIB2 + 1419.IBPluginDependency + 1419.ImportedFromIB2 + 1420.IBPluginDependency + 1421.IBPluginDependency + 1422.IBPluginDependency + 1423.IBEditorWindowLastContentRect + 1423.IBPluginDependency + 1423.ImportedFromIB2 + 1423.editorWindowContentRectSynchronizationRect + 1449.IBPluginDependency + 1450.IBPluginDependency + 1451.IBPluginDependency + 1452.IBPluginDependency + 1453.IBPluginDependency + 1454.IBPluginDependency + 1455.IBPluginDependency 17.IBEditorWindowLastContentRect 17.IBPluginDependency 17.IBUserGuides @@ -8045,6 +8360,7 @@ AQAAAAA 32.ImportedFromIB2 33.IBPluginDependency 33.ImportedFromIB2 + 331.IBPluginDependency 34.IBPluginDependency 34.ImportedFromIB2 345.IBPluginDependency @@ -8283,18 +8599,19 @@ AQAAAAA YES com.apple.InterfaceBuilder.CocoaPlugin - {{124, 35}, {500, 172}} com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + {{124, 35}, {500, 172}} {{124, 35}, {500, 172}} - + {196, 240} {{202, 428}, {480, 270}} com.apple.InterfaceBuilder.CocoaPlugin - + com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin - + com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin @@ -8320,7 +8637,7 @@ AQAAAAA com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin - + com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin @@ -8385,24 +8702,24 @@ AQAAAAA com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin - + com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin - + com.apple.InterfaceBuilder.CocoaPlugin - + com.apple.InterfaceBuilder.CocoaPlugin - + com.apple.InterfaceBuilder.CocoaPlugin - + com.apple.InterfaceBuilder.CocoaPlugin - + com.apple.InterfaceBuilder.CocoaPlugin - + com.apple.InterfaceBuilder.CocoaPlugin - + com.apple.InterfaceBuilder.CocoaPlugin - + com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin @@ -8412,25 +8729,25 @@ AQAAAAA com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin - + com.apple.InterfaceBuilder.CocoaPlugin - + com.apple.InterfaceBuilder.CocoaPlugin - + com.apple.InterfaceBuilder.CocoaPlugin - + com.apple.InterfaceBuilder.CocoaPlugin - + com.apple.InterfaceBuilder.CocoaPlugin - + com.apple.InterfaceBuilder.CocoaPlugin - + com.apple.InterfaceBuilder.CocoaPlugin - + com.apple.InterfaceBuilder.CocoaPlugin - + com.apple.InterfaceBuilder.CocoaPlugin - + com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin @@ -8442,7 +8759,7 @@ AQAAAAA com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin - + com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin @@ -8452,59 +8769,78 @@ AQAAAAA com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin - {{384, 525}, {500, 234}} com.apple.InterfaceBuilder.CocoaPlugin - - YES + + com.apple.InterfaceBuilder.CocoaPlugin + + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + {{316, 390}, {254, 133}} + com.apple.InterfaceBuilder.CocoaPlugin + + {{67, 289}, {228, 362}} + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + {{176, 328}, {500, 280}} + com.apple.InterfaceBuilder.CocoaPlugin + + YES - 145 + 1.450000e+02 0 com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin - + com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin - {{524, 239}, {276, 433}} + {{488, 191}, {279, 433}} com.apple.InterfaceBuilder.CocoaPlugin - + {{67, 289}, {228, 362}} com.apple.InterfaceBuilder.CocoaPlugin - + com.apple.InterfaceBuilder.CocoaPlugin - + com.apple.InterfaceBuilder.CocoaPlugin - + com.apple.InterfaceBuilder.CocoaPlugin - + com.apple.InterfaceBuilder.CocoaPlugin - + com.apple.InterfaceBuilder.CocoaPlugin - + com.apple.InterfaceBuilder.CocoaPlugin - + com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - + com.apple.InterfaceBuilder.CocoaPlugin - + com.apple.InterfaceBuilder.CocoaPlugin - + com.apple.InterfaceBuilder.CocoaPlugin - + + com.apple.InterfaceBuilder.CocoaPlugin + ToolTip ToolTip - Add favorite (⌘⌥A) + QWRkIGZhdm9yaXRlICjijJjijKVBKQ com.apple.InterfaceBuilder.CocoaPlugin @@ -8522,7 +8858,7 @@ AQAAAAA ToolTip - Duplicate selected favorite (⌘D) + RHVwbGljYXRlIHNlbGVjdGVkIGZhdm9yaXRlICjijJhEKQ com.apple.InterfaceBuilder.CocoaPlugin @@ -8532,79 +8868,79 @@ AQAAAAA com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin - - {{443, 316}, {500, 381}} + + {{254, 316}, {500, 381}} com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin - + com.apple.InterfaceBuilder.CocoaPlugin - + com.apple.InterfaceBuilder.CocoaPlugin - + com.apple.InterfaceBuilder.CocoaPlugin - + com.apple.InterfaceBuilder.CocoaPlugin - + com.apple.InterfaceBuilder.CocoaPlugin - + SPFavoriteTextFieldCell com.apple.InterfaceBuilder.CocoaPlugin - + com.apple.InterfaceBuilder.CocoaPlugin - + com.apple.InterfaceBuilder.CocoaPlugin - + com.apple.InterfaceBuilder.CocoaPlugin - + com.apple.InterfaceBuilder.CocoaPlugin - + com.apple.InterfaceBuilder.CocoaPlugin - + com.apple.InterfaceBuilder.CocoaPlugin - + com.apple.InterfaceBuilder.CocoaPlugin - + com.apple.InterfaceBuilder.CocoaPlugin - + com.apple.InterfaceBuilder.CocoaPlugin - + NSSecureTextField com.apple.InterfaceBuilder.CocoaPlugin - + com.apple.InterfaceBuilder.CocoaPlugin - + com.apple.InterfaceBuilder.CocoaPlugin - + com.apple.InterfaceBuilder.CocoaPlugin - + com.apple.InterfaceBuilder.CocoaPlugin - + com.apple.InterfaceBuilder.CocoaPlugin - + com.apple.InterfaceBuilder.CocoaPlugin - + com.apple.InterfaceBuilder.CocoaPlugin - + com.apple.InterfaceBuilder.CocoaPlugin - + com.apple.InterfaceBuilder.CocoaPlugin - + com.apple.InterfaceBuilder.CocoaPlugin - + com.apple.InterfaceBuilder.CocoaPlugin - + com.apple.InterfaceBuilder.CocoaPlugin - + com.apple.InterfaceBuilder.CocoaPlugin - + com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin - + com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin @@ -8615,7 +8951,7 @@ AQAAAAA com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin - + com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin @@ -8625,20 +8961,20 @@ AQAAAAA com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin - + com.apple.InterfaceBuilder.CocoaPlugin - + com.apple.InterfaceBuilder.CocoaPlugin - + com.apple.InterfaceBuilder.CocoaPlugin - - {{406, 312}, {500, 259}} + + {{254, 312}, {500, 259}} com.apple.InterfaceBuilder.CocoaPlugin YES - 145 + 1.450000e+02 0 @@ -8651,7 +8987,7 @@ AQAAAAA com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin - + com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin @@ -8671,13 +9007,13 @@ AQAAAAA com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin - {{388, 472}, {500, 209}} + {{254, 472}, {500, 209}} com.apple.InterfaceBuilder.CocoaPlugin YES - 145 + 1.450000e+02 0 @@ -8685,13 +9021,13 @@ AQAAAAA com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin - {{144, 832}, {254, 6}} + {{-1048, 591}, {254, 6}} com.apple.InterfaceBuilder.CocoaPlugin {{381, 612}, {175, 53}} com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin - + com.apple.InterfaceBuilder.CocoaPlugin ToolTip @@ -8702,17 +9038,17 @@ AQAAAAA com.apple.InterfaceBuilder.CocoaPlugin - + com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin - {{431, 337}, {500, 153}} + {{254, 337}, {500, 153}} com.apple.InterfaceBuilder.CocoaPlugin YES - 145 + 1.450000e+02 0 @@ -8722,7 +9058,7 @@ AQAAAAA YES - 145 + 1.450000e+02 0 @@ -8765,30 +9101,32 @@ AQAAAAA 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 - {{470, 424}, {500, 395}} + {{254, 361}, {500, 395}} com.apple.InterfaceBuilder.CocoaPlugin YES - 145 + 1.450000e+02 0 - 250 + 2.500000e+02 0 @@ -8801,30 +9139,34 @@ AQAAAAA com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin - + com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin 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 - + com.apple.InterfaceBuilder.CocoaPlugin YES - + + YES + YES @@ -8832,13 +9174,15 @@ AQAAAAA YES - + + YES + YES - 1386 + 1462 @@ -8931,7 +9275,7 @@ AQAAAAA NSWindowController YES - + YES addFavorite: changeFont: @@ -8972,7 +9316,7 @@ AQAAAAA YES - + YES autoUpdateView defaultFavoritePopup @@ -9056,753 +9400,8 @@ AQAAAAA - - YES - - NSActionCell - NSCell - - IBFrameworkSource - AppKit.framework/Headers/NSActionCell.h - - - - NSApplication - NSResponder - - IBFrameworkSource - AppKit.framework/Headers/NSApplication.h - - - - NSApplication - - IBFrameworkSource - AppKit.framework/Headers/NSApplicationScripting.h - - - - NSApplication - - IBFrameworkSource - AppKit.framework/Headers/NSColorPanel.h - - - - NSApplication - - IBFrameworkSource - AppKit.framework/Headers/NSHelpManager.h - - - - NSApplication - - IBFrameworkSource - AppKit.framework/Headers/NSPageLayout.h - - - - NSApplication - - IBFrameworkSource - AppKit.framework/Headers/NSUserInterfaceItemSearching.h - - - - NSArrayController - NSObjectController - - IBFrameworkSource - AppKit.framework/Headers/NSArrayController.h - - - - NSBox - NSView - - IBFrameworkSource - AppKit.framework/Headers/NSBox.h - - - - NSButton - NSControl - - IBFrameworkSource - AppKit.framework/Headers/NSButton.h - - - - NSButtonCell - NSActionCell - - IBFrameworkSource - AppKit.framework/Headers/NSButtonCell.h - - - - NSCell - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSCell.h - - - - NSColorWell - NSControl - - IBFrameworkSource - AppKit.framework/Headers/NSColorWell.h - - - - NSControl - NSView - - IBFrameworkSource - AppKit.framework/Headers/NSControl.h - - - - NSController - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSController.h - - - - NSDateFormatter - NSFormatter - - IBFrameworkSource - Foundation.framework/Headers/NSDateFormatter.h - - - - NSFormatter - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSFormatter.h - - - - NSImageCell - NSCell - - IBFrameworkSource - AppKit.framework/Headers/NSImageCell.h - - - - NSImageView - NSControl - - IBFrameworkSource - AppKit.framework/Headers/NSImageView.h - - - - NSMenu - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSMenu.h - - - - NSMenuItem - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSMenuItem.h - - - - NSMenuItemCell - NSButtonCell - - IBFrameworkSource - AppKit.framework/Headers/NSMenuItemCell.h - - - - NSNumberFormatter - NSFormatter - - IBFrameworkSource - Foundation.framework/Headers/NSNumberFormatter.h - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSAccessibility.h - - - - NSObject - - - - NSObject - - - - NSObject - - - - NSObject - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSDictionaryController.h - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSDragging.h - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSFontManager.h - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSFontPanel.h - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSKeyValueBinding.h - - - - NSObject - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSNibLoading.h - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSOutlineView.h - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSPasteboard.h - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSSavePanel.h - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSTableView.h - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSToolbarItem.h - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSView.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSArchiver.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSClassDescription.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSError.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSFileManager.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSKeyValueCoding.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSKeyValueObserving.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSKeyedArchiver.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSObject.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSObjectScripting.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSPortCoder.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSRunLoop.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSScriptClassDescription.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSScriptKeyValueCoding.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSScriptObjectSpecifiers.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSScriptWhoseTests.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSThread.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSURL.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSURLConnection.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSURLDownload.h - - - - NSObject - - IBFrameworkSource - Growl.framework/Headers/GrowlApplicationBridge.h - - - - NSObject - - IBFrameworkSource - Sparkle.framework/Headers/SUAppcast.h - - - - NSObject - - IBFrameworkSource - Sparkle.framework/Headers/SUUpdater.h - - - - NSObject - - IBFrameworkSource - WebKit.framework/Headers/WebDownload.h - - - - NSObject - - IBFrameworkSource - WebKit.framework/Headers/WebEditingDelegate.h - - - - NSObject - - IBFrameworkSource - WebKit.framework/Headers/WebFrameLoadDelegate.h - - - - NSObject - - IBFrameworkSource - WebKit.framework/Headers/WebJavaPlugIn.h - - - - NSObject - - IBFrameworkSource - WebKit.framework/Headers/WebPlugin.h - - - - NSObject - - IBFrameworkSource - WebKit.framework/Headers/WebPluginContainer.h - - - - NSObject - - IBFrameworkSource - WebKit.framework/Headers/WebPolicyDelegate.h - - - - NSObject - - IBFrameworkSource - WebKit.framework/Headers/WebResourceLoadDelegate.h - - - - NSObject - - IBFrameworkSource - WebKit.framework/Headers/WebScriptObject.h - - - - NSObject - - IBFrameworkSource - WebKit.framework/Headers/WebUIDelegate.h - - - - NSObjectController - NSController - - IBFrameworkSource - AppKit.framework/Headers/NSObjectController.h - - - - NSPopUpButton - NSButton - - IBFrameworkSource - AppKit.framework/Headers/NSPopUpButton.h - - - - NSPopUpButtonCell - NSMenuItemCell - - IBFrameworkSource - AppKit.framework/Headers/NSPopUpButtonCell.h - - - - NSResponder - - IBFrameworkSource - AppKit.framework/Headers/NSInterfaceStyle.h - - - - NSResponder - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSResponder.h - - - - NSScrollView - NSView - - IBFrameworkSource - AppKit.framework/Headers/NSScrollView.h - - - - NSScroller - NSControl - - IBFrameworkSource - AppKit.framework/Headers/NSScroller.h - - - - NSSecureTextField - NSTextField - - IBFrameworkSource - AppKit.framework/Headers/NSSecureTextField.h - - - - NSSecureTextFieldCell - NSTextFieldCell - - - - NSSplitView - NSView - - IBFrameworkSource - AppKit.framework/Headers/NSSplitView.h - - - - NSStepper - NSControl - - IBFrameworkSource - AppKit.framework/Headers/NSStepper.h - - - - NSStepperCell - NSActionCell - - IBFrameworkSource - AppKit.framework/Headers/NSStepperCell.h - - - - NSTabView - NSView - - IBFrameworkSource - AppKit.framework/Headers/NSTabView.h - - - - NSTabViewItem - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSTabViewItem.h - - - - NSTableColumn - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSTableColumn.h - - - - NSTableView - NSControl - - - - NSTextField - NSControl - - IBFrameworkSource - AppKit.framework/Headers/NSTextField.h - - - - NSTextFieldCell - NSActionCell - - IBFrameworkSource - AppKit.framework/Headers/NSTextFieldCell.h - - - - NSUserDefaultsController - NSController - - IBFrameworkSource - AppKit.framework/Headers/NSUserDefaultsController.h - - - - NSView - - IBFrameworkSource - AppKit.framework/Headers/NSClipView.h - - - - NSView - - - - NSView - - IBFrameworkSource - AppKit.framework/Headers/NSRulerView.h - - - - NSView - NSResponder - - - - NSWindow - - IBFrameworkSource - AppKit.framework/Headers/NSDrawer.h - - - - NSWindow - NSResponder - - IBFrameworkSource - AppKit.framework/Headers/NSWindow.h - - - - NSWindow - - IBFrameworkSource - AppKit.framework/Headers/NSWindowScripting.h - - - - NSWindowController - NSResponder - - showWindow: - id - - - IBFrameworkSource - AppKit.framework/Headers/NSWindowController.h - - - - SUUpdater - NSObject - - checkForUpdates: - id - - - delegate - id - - - - 0 - - com.apple.InterfaceBuilder.CocoaPlugin.macosx - - - - com.apple.InterfaceBuilder.CocoaPlugin.macosx - - - - com.apple.InterfaceBuilder.CocoaPlugin.InterfaceBuilder3 - - - YES ../../sequel-pro.xcodeproj 3 diff --git a/Source/SPConstants.h b/Source/SPConstants.h index 8bf9fcff..d8d16adf 100644 --- a/Source/SPConstants.h +++ b/Source/SPConstants.h @@ -23,6 +23,9 @@ // // More info at +// TODO: change #defines +// see http://developer.apple.com/mac/library/documentation/Cocoa/Conceptual/CodingGuidelines/Articles/NamingIvarsAndTypes.html#//apple_ref/doc/uid/20001284-1003095 + #import // Extensions @@ -55,10 +58,29 @@ #define MAIN_TOOLBAR_TABLE_RELATIONS @"SwitchToTableRelationsToolbarItemIdentifier" #define MAIN_TOOLBAR_USER_MANAGER @"SwitchToUserManagerToolbarItemIdentifier" +// View Modes +typedef enum { + SPStructureViewMode = 1, + SPContentViewMode = 2, + SPRelationsViewMode = 3, + SPTableInfoViewMode = 4, + SPQueryEditorViewMode = 5 +} SPViewMode; + // Preference key constants +// General Prefpane +extern NSString *SPDefaultFavorite; +extern NSString *SPSelectLastFavoriteUsed; +extern NSString *SPLastFavoriteIndex; +extern NSString *SPAutoConnectToDefault; +extern NSString *SPDefaultViewMode; +extern NSString *SPLastViewMode; extern NSString *SPDefaultEncoding; extern NSString *SPUseMonospacedFonts; extern NSString *SPDisplayTableViewVerticalGridlines; +extern NSString *SPCustomQueryMaxHistoryItems; + +// Tables Prefpane extern NSString *SPReloadAfterAddingRow; extern NSString *SPReloadAfterEditingRow; extern NSString *SPReloadAfterRemovingRow; @@ -68,61 +90,72 @@ extern NSString *SPNewFieldsAllowNulls; extern NSString *SPLimitResults; extern NSString *SPLimitResultsValue; extern NSString *SPNullValue; -extern NSString *SPShowNoAffectedRowsError; + +// Favorites Prefpane +extern NSString *SPFavorites; + +// Notifications Prefpane extern NSString *SPGrowlEnabled; +extern NSString *SPShowNoAffectedRowsError; +extern NSString *SPConsoleEnableLogging; +extern NSString *SPConsoleEnableInterfaceLogging; +extern NSString *SPConsoleEnableCustomQueryLogging; +extern NSString *SPConsoleEnableImportExportLogging; +extern NSString *SPConsoleEnableErrorLogging; + +// Network Prefpane extern NSString *SPConnectionTimeoutValue; extern NSString *SPUseKeepAlive; extern NSString *SPKeepAliveInterval; -extern NSString *SPEditInSheetEnabled; -extern NSString *SPAutoConnectToDefault; -extern NSString *SPQueryFavoriteReplacesContent; -extern NSString *SPQueryHistoryReplacesContent; + +// Editor Prefpane extern NSString *SPCustomQueryEditorFont; +extern NSString *SPCustomQueryEditorTextColor; extern NSString *SPCustomQueryEditorBackgroundColor; -extern NSString *SPCustomQueryEditorBacktickColor; +extern NSString *SPCustomQueryEditorCaretColor; extern NSString *SPCustomQueryEditorCommentColor; +extern NSString *SPCustomQueryEditorSQLKeywordColor; extern NSString *SPCustomQueryEditorNumericColor; extern NSString *SPCustomQueryEditorQuoteColor; -extern NSString *SPCustomQueryEditorSQLKeywordColor; -extern NSString *SPCustomQueryEditorTextColor; -extern NSString *SPCustomQueryEditorHighlightQueryColor; -extern NSString *SPCustomQueryEditorCaretColor; +extern NSString *SPCustomQueryEditorBacktickColor; extern NSString *SPCustomQueryEditorVariableColor; -extern NSString *SPCustomQueryHighlightCurrentQuery; +extern NSString *SPCustomQueryEditorHighlightQueryColor; extern NSString *SPCustomQueryAutoIndent; extern NSString *SPCustomQueryAutoPairCharacters; extern NSString *SPCustomQueryAutoUppercaseKeywords; extern NSString *SPCustomQueryUpdateAutoHelp; extern NSString *SPCustomQueryAutoHelpDelay; -extern NSString *SPCustomQueryMaxHistoryItems; -extern NSString *SPLastSQLFileEncoding; -extern NSString *SPSelectLastFavoriteUsed; -extern NSString *SPLastFavoriteIndex; -extern NSString *SPTableInformationPanelCollapsed; -extern NSString *SPConsoleEnableLogging; -extern NSString *SPConsoleEnableInterfaceLogging; -extern NSString *SPConsoleEnableCustomQueryLogging; -extern NSString *SPConsoleEnableImportExportLogging; -extern NSString *SPConsoleEnableErrorLogging; +extern NSString *SPCustomQueryHighlightCurrentQuery; + +// AutoUpdate Prefpane +extern NSString *SPLastUsedVersion; + +// GUI Prefs extern NSString *SPConsoleShowTimestamps; extern NSString *SPConsoleShowSelectsAndShows; extern NSString *SPConsoleShowHelps; -extern NSString *SPPrintBackground; -extern NSString *SPPrintImagePreviews; -extern NSString *SPContentFilters; +extern NSString *SPEditInSheetEnabled; +extern NSString *SPTableInformationPanelCollapsed; +extern NSString *SPTableColumnWidths; + +// Import extern NSString *SPCSVImportFieldTerminator; extern NSString *SPCSVImportLineTerminator; extern NSString *SPCSVImportFieldEnclosedBy; extern NSString *SPCSVImportFieldEscapeCharacter; extern NSString *SPCSVImportFirstLineIsHeader; -extern NSString *SPLastUsedVersion; + +// Misc +extern NSString *SPContentFilters; +extern NSString *SPDocumentTaskEndNotification; +extern NSString *SPDocumentTaskStartNotification; extern NSString *SPFieldEditorSheetFont; -extern NSString *SPQuickLookTypes; +extern NSString *SPLastSQLFileEncoding; +extern NSString *SPNoBOMforSQLdumpFile; +extern NSString *SPPrintBackground; +extern NSString *SPPrintImagePreviews; extern NSString *SPQueryFavorites; -extern NSString *SPFavorites; -extern NSString *SPTableColumnWidths; +extern NSString *SPQueryFavoriteReplacesContent; extern NSString *SPQueryHistory; -extern NSString *SPDocumentTaskStartNotification; -extern NSString *SPDocumentTaskEndNotification; -extern NSString *SPDefaultFavorite; -extern NSString *SPNoBOMforSQLdumpFile; +extern NSString *SPQueryHistoryReplacesContent; +extern NSString *SPQuickLookTypes; diff --git a/Source/SPConstants.m b/Source/SPConstants.m index cec83d44..5e88ab0d 100644 --- a/Source/SPConstants.m +++ b/Source/SPConstants.m @@ -26,9 +26,19 @@ #import "SPConstants.h" // Preference key constants +// General Prefpane +NSString *SPDefaultFavorite = @"DefaultFavorite"; +NSString *SPSelectLastFavoriteUsed = @"SelectLastFavoriteUsed"; +NSString *SPLastFavoriteIndex = @"LastFavoriteIndex"; +NSString *SPAutoConnectToDefault = @"AutoConnectToDefault"; +NSString *SPDefaultViewMode = @"DefaultViewMode"; +NSString *SPLastViewMode = @"LastViewMode"; NSString *SPDefaultEncoding = @"DefaultEncoding"; NSString *SPUseMonospacedFonts = @"UseMonospacedFonts"; NSString *SPDisplayTableViewVerticalGridlines = @"DisplayTableViewVerticalGridlines"; +NSString *SPCustomQueryMaxHistoryItems = @"CustomQueryMaxHistoryItems"; + +// Tables Prefpane NSString *SPReloadAfterAddingRow = @"ReloadAfterAddingRow"; NSString *SPReloadAfterEditingRow = @"ReloadAfterEditingRow"; NSString *SPReloadAfterRemovingRow = @"ReloadAfterRemovingRow"; @@ -38,61 +48,72 @@ NSString *SPNewFieldsAllowNulls = @"NewFieldsAllowNulls"; NSString *SPLimitResults = @"LimitResults"; NSString *SPLimitResultsValue = @"LimitResultsValue"; NSString *SPNullValue = @"NullValue"; -NSString *SPShowNoAffectedRowsError = @"ShowNoAffectedRowsError"; + +// Favorites Prefpane +NSString *SPFavorites = @"favorites"; + +// Notifications Prefpane NSString *SPGrowlEnabled = @"GrowlEnabled"; +NSString *SPShowNoAffectedRowsError = @"ShowNoAffectedRowsError"; +NSString *SPConsoleEnableLogging = @"ConsoleEnableLogging"; +NSString *SPConsoleEnableInterfaceLogging = @"ConsoleEnableInterfaceLogging"; +NSString *SPConsoleEnableCustomQueryLogging = @"ConsoleEnableCustomQueryLogging"; +NSString *SPConsoleEnableImportExportLogging = @"ConsoleEnableImportExportLogging"; +NSString *SPConsoleEnableErrorLogging = @"ConsoleEnableErrorLogging"; + +// Network Prefpane NSString *SPConnectionTimeoutValue = @"ConnectionTimeoutValue"; NSString *SPUseKeepAlive = @"UseKeepAlive"; NSString *SPKeepAliveInterval = @"KeepAliveInterval"; -NSString *SPEditInSheetEnabled = @"EditInSheetEnabled"; -NSString *SPAutoConnectToDefault = @"AutoConnectToDefault"; -NSString *SPQueryFavoriteReplacesContent = @"QueryFavoriteReplacesContent"; -NSString *SPQueryHistoryReplacesContent = @"QueryHistoryReplacesContent"; + +// Editor Prefpane NSString *SPCustomQueryEditorFont = @"CustomQueryEditorFont"; +NSString *SPCustomQueryEditorTextColor = @"CustomQueryEditorTextColor"; NSString *SPCustomQueryEditorBackgroundColor = @"CustomQueryEditorBackgroundColor"; -NSString *SPCustomQueryEditorBacktickColor = @"CustomQueryEditorBacktickColor"; +NSString *SPCustomQueryEditorCaretColor = @"CustomQueryEditorCaretColor"; NSString *SPCustomQueryEditorCommentColor = @"CustomQueryEditorCommentColor"; +NSString *SPCustomQueryEditorSQLKeywordColor = @"CustomQueryEditorSQLKeywordColor"; NSString *SPCustomQueryEditorNumericColor = @"CustomQueryEditorNumericColor"; NSString *SPCustomQueryEditorQuoteColor = @"CustomQueryEditorQuoteColor"; -NSString *SPCustomQueryEditorSQLKeywordColor = @"CustomQueryEditorSQLKeywordColor"; -NSString *SPCustomQueryEditorTextColor = @"CustomQueryEditorTextColor"; -NSString *SPCustomQueryEditorHighlightQueryColor = @"CustomQueryEditorHighlightQueryColor"; -NSString *SPCustomQueryEditorCaretColor = @"CustomQueryEditorCaretColor"; +NSString *SPCustomQueryEditorBacktickColor = @"CustomQueryEditorBacktickColor"; NSString *SPCustomQueryEditorVariableColor = @"CustomQueryEditorVariableColor"; -NSString *SPCustomQueryHighlightCurrentQuery = @"CustomQueryHighlightCurrentQuery"; +NSString *SPCustomQueryEditorHighlightQueryColor = @"CustomQueryEditorHighlightQueryColor"; NSString *SPCustomQueryAutoIndent = @"CustomQueryAutoIndent"; NSString *SPCustomQueryAutoPairCharacters = @"CustomQueryAutoPairCharacters"; NSString *SPCustomQueryAutoUppercaseKeywords = @"CustomQueryAutoUppercaseKeywords"; NSString *SPCustomQueryUpdateAutoHelp = @"CustomQueryUpdateAutoHelp"; NSString *SPCustomQueryAutoHelpDelay = @"CustomQueryAutoHelpDelay"; -NSString *SPCustomQueryMaxHistoryItems = @"CustomQueryMaxHistoryItems"; -NSString *SPLastSQLFileEncoding = @"lastSqlFileEncoding"; -NSString *SPSelectLastFavoriteUsed = @"SelectLastFavoriteUsed"; -NSString *SPLastFavoriteIndex = @"LastFavoriteIndex"; -NSString *SPTableInformationPanelCollapsed = @"TableInformationPanelCollapsed"; -NSString *SPConsoleEnableLogging = @"ConsoleEnableLogging"; -NSString *SPConsoleEnableInterfaceLogging = @"ConsoleEnableInterfaceLogging"; -NSString *SPConsoleEnableCustomQueryLogging = @"ConsoleEnableCustomQueryLogging"; -NSString *SPConsoleEnableImportExportLogging = @"ConsoleEnableImportExportLogging"; -NSString *SPConsoleEnableErrorLogging = @"ConsoleEnableErrorLogging"; -NSString *SPConsoleShowTimestamps = @"ConsoleShowTimestamps"; -NSString *SPConsoleShowSelectsAndShows = @"ConsoleShowSelectsAndShows"; +NSString *SPCustomQueryHighlightCurrentQuery = @"CustomQueryHighlightCurrentQuery"; + +// AutoUpdate Prefpane +NSString *SPLastUsedVersion = @"LastUsedVersion"; + +// GUI Prefs NSString *SPConsoleShowHelps = @"ConsoleShowHelps"; -NSString *SPPrintBackground = @"PrintBackground"; -NSString *SPPrintImagePreviews = @"PrintImagePreviews"; -NSString *SPContentFilters = @"ContentFilters"; -NSString *SPCSVImportFieldTerminator = @"CSVImportFieldTerminator"; -NSString *SPCSVImportLineTerminator = @"CSVImportLineTerminator"; +NSString *SPConsoleShowSelectsAndShows = @"ConsoleShowSelectsAndShows"; +NSString *SPConsoleShowTimestamps = @"ConsoleShowTimestamps"; +NSString *SPEditInSheetEnabled = @"EditInSheetEnabled"; +NSString *SPTableInformationPanelCollapsed = @"TableInformationPanelCollapsed"; +NSString *SPTableColumnWidths = @"tableColumnWidths"; + +// Import NSString *SPCSVImportFieldEnclosedBy = @"CSVImportFieldEnclosedBy"; NSString *SPCSVImportFieldEscapeCharacter = @"CSVImportFieldEscapeCharacter"; +NSString *SPCSVImportFieldTerminator = @"CSVImportFieldTerminator"; NSString *SPCSVImportFirstLineIsHeader = @"CSVImportFirstLineIsHeader"; -NSString *SPLastUsedVersion = @"LastUsedVersion"; +NSString *SPCSVImportLineTerminator = @"CSVImportLineTerminator"; + +// Misc +NSString *SPContentFilters = @"ContentFilters"; +NSString *SPDocumentTaskEndNotification = @"DocumentTaskEnded"; +NSString *SPDocumentTaskStartNotification = @"DocumentTaskStarted"; NSString *SPFieldEditorSheetFont = @"FieldEditorSheetFont"; -NSString *SPQuickLookTypes = @"QuickLookTypes"; +NSString *SPLastSQLFileEncoding = @"lastSqlFileEncoding"; +NSString *SPNoBOMforSQLdumpFile = @"NoBOMforSQLdumpFile"; +NSString *SPPrintBackground = @"PrintBackground"; +NSString *SPPrintImagePreviews = @"PrintImagePreviews"; NSString *SPQueryFavorites = @"queryFavorites"; -NSString *SPFavorites = @"favorites"; -NSString *SPTableColumnWidths = @"tableColumnWidths"; +NSString *SPQueryFavoriteReplacesContent = @"QueryFavoriteReplacesContent"; NSString *SPQueryHistory = @"queryHistory"; -NSString *SPDocumentTaskStartNotification = @"DocumentTaskStarted"; -NSString *SPDocumentTaskEndNotification = @"DocumentTaskEnded"; -NSString *SPDefaultFavorite = @"DefaultFavorite"; -NSString *SPNoBOMforSQLdumpFile = @"NoBOMforSQLdumpFile"; +NSString *SPQueryHistoryReplacesContent = @"QueryHistoryReplacesContent"; +NSString *SPQuickLookTypes = @"QuickLookTypes"; diff --git a/Source/TableDocument.m b/Source/TableDocument.m index c419bd1e..8847d103 100644 --- a/Source/TableDocument.m +++ b/Source/TableDocument.m @@ -2805,6 +2805,8 @@ [tableTabView selectTabViewItemAtIndex:0]; [mainToolbar setSelectedItemIdentifier:MAIN_TOOLBAR_TABLE_STRUCTURE]; [spHistoryControllerInstance updateHistoryEntries]; + + [prefs setInteger:SPStructureViewMode forKey:SPLastViewMode]; } - (IBAction)viewContent:(id)sender @@ -2819,6 +2821,8 @@ [tableTabView selectTabViewItemAtIndex:1]; [mainToolbar setSelectedItemIdentifier:MAIN_TOOLBAR_TABLE_CONTENT]; [spHistoryControllerInstance updateHistoryEntries]; + + [prefs setInteger:SPContentViewMode forKey:SPLastViewMode]; } - (IBAction)viewQuery:(id)sender @@ -2843,6 +2847,8 @@ // Set the focus on the text field if no query has been run if (![[customQueryTextView string] length]) [tableWindow makeFirstResponder:customQueryTextView]; + + [prefs setInteger:SPQueryEditorViewMode forKey:SPLastViewMode]; } - (IBAction)viewStatus:(id)sender @@ -2864,6 +2870,8 @@ [tableTabView selectTabViewItemAtIndex:3]; [mainToolbar setSelectedItemIdentifier:MAIN_TOOLBAR_TABLE_INFO]; [spHistoryControllerInstance updateHistoryEntries]; + + [prefs setInteger:SPTableInfoViewMode forKey:SPLastViewMode]; } - (IBAction)viewRelations:(id)sender @@ -2885,6 +2893,8 @@ [tableTabView selectTabViewItemAtIndex:4]; [mainToolbar setSelectedItemIdentifier:MAIN_TOOLBAR_TABLE_RELATIONS]; [spHistoryControllerInstance updateHistoryEntries]; + + [prefs setInteger:SPRelationsViewMode forKey:SPLastViewMode]; } -- cgit v1.2.3