aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBibiko <bibiko@eva.mpg.de>2009-06-26 09:06:36 +0000
committerBibiko <bibiko@eva.mpg.de>2009-06-26 09:06:36 +0000
commit407aea899420ca2a6c1a0d3d80b89f70cb2cc74f (patch)
treef0c5bf775ec1f5b75d4bbdb5c88063aa8e59786d
parent3417a7e59c8146d0c1f80b7190cc113db71300f6 (diff)
downloadsequelpro-407aea899420ca2a6c1a0d3d80b89f70cb2cc74f.tar.gz
sequelpro-407aea899420ca2a6c1a0d3d80b89f70cb2cc74f.tar.bz2
sequelpro-407aea899420ca2a6c1a0d3d80b89f70cb2cc74f.zip
• fixes for Create Syntax HUD window:
- added minimum size to avoid overlapping context and header - now keyboard, mouse events are working for scrolling - bound font to CustomQueryEditorFont • removed tiny double code in TableDocument
-rw-r--r--Interfaces/English.lproj/DBView.xib120
-rw-r--r--Source/TableDocument.m2
2 files changed, 96 insertions, 26 deletions
diff --git a/Interfaces/English.lproj/DBView.xib b/Interfaces/English.lproj/DBView.xib
index ab871a07..109a7b6c 100644
--- a/Interfaces/English.lproj/DBView.xib
+++ b/Interfaces/English.lproj/DBView.xib
@@ -8,7 +8,7 @@
<string key="IBDocument.HIToolboxVersion">353.00</string>
<object class="NSMutableArray" key="IBDocument.EditedObjectIDs">
<bool key="EncodedWithXMLCoder">YES</bool>
- <integer value="6142"/>
+ <integer value="6083"/>
</object>
<object class="NSArray" key="IBDocument.PluginDependencies">
<bool key="EncodedWithXMLCoder">YES</bool>
@@ -91,6 +91,7 @@
<int key="NSvFlags">4352</int>
<string key="NSFrameSize">{212, 381}</string>
<reference key="NSSuperview" ref="73685676"/>
+ <reference key="NSWindow"/>
<bool key="NSEnabled">YES</bool>
<object class="_NSCornerView" key="NSCornerView">
<nil key="NSNextResponder"/>
@@ -187,6 +188,7 @@
</object>
<string key="NSFrameSize">{212, 381}</string>
<reference key="NSSuperview" ref="233472824"/>
+ <reference key="NSWindow"/>
<reference key="NSNextKeyView" ref="251040077"/>
<reference key="NSDocView" ref="251040077"/>
<object class="NSColor" key="NSBGColor" id="1024678221">
@@ -202,6 +204,7 @@
<int key="NSvFlags">-2147483392</int>
<string key="NSFrame">{{175, 1}, {15, 481}}</string>
<reference key="NSSuperview" ref="233472824"/>
+ <reference key="NSWindow"/>
<reference key="NSTarget" ref="233472824"/>
<string key="NSAction">_doScroller:</string>
<double key="NSPercent">9.979253e-01</double>
@@ -211,6 +214,7 @@
<int key="NSvFlags">256</int>
<string key="NSFrame">{{-100, -100}, {141, 11}}</string>
<reference key="NSSuperview" ref="233472824"/>
+ <reference key="NSWindow"/>
<int key="NSsFlags">257</int>
<reference key="NSTarget" ref="233472824"/>
<string key="NSAction">_doScroller:</string>
@@ -219,6 +223,7 @@
</object>
<string key="NSFrameSize">{212, 381}</string>
<reference key="NSSuperview" ref="355288374"/>
+ <reference key="NSWindow"/>
<reference key="NSNextKeyView" ref="73685676"/>
<int key="NSsFlags">528</int>
<reference key="NSVScroller" ref="693168867"/>
@@ -229,10 +234,12 @@
</object>
<string key="NSFrameSize">{212, 381}</string>
<reference key="NSSuperview" ref="131633443"/>
+ <reference key="NSWindow"/>
</object>
</object>
<string key="NSFrameSize">{212, 381}</string>
<reference key="NSSuperview" ref="298095498"/>
+ <reference key="NSWindow"/>
<string key="NSClassName">NSView</string>
</object>
<object class="BWCustomView" id="192579410">
@@ -255,6 +262,7 @@
<int key="NSvFlags">4352</int>
<string key="NSFrameSize">{212, 145}</string>
<reference key="NSSuperview" ref="685057119"/>
+ <reference key="NSWindow"/>
<bool key="NSEnabled">YES</bool>
<object class="_NSCornerView" key="NSCornerView">
<nil key="NSNextResponder"/>
@@ -318,6 +326,7 @@
</object>
<string key="NSFrameSize">{212, 145}</string>
<reference key="NSSuperview" ref="298226231"/>
+ <reference key="NSWindow"/>
<reference key="NSNextKeyView" ref="347093764"/>
<reference key="NSDocView" ref="347093764"/>
<reference key="NSBGColor" ref="1024678221"/>
@@ -328,6 +337,7 @@
<int key="NSvFlags">-2147483392</int>
<string key="NSFrame">{{-100, -100}, {15, 20}}</string>
<reference key="NSSuperview" ref="298226231"/>
+ <reference key="NSWindow"/>
<reference key="NSTarget" ref="298226231"/>
<string key="NSAction">_doScroller:</string>
<double key="NSPercent">9.473684e-01</double>
@@ -337,6 +347,7 @@
<int key="NSvFlags">256</int>
<string key="NSFrame">{{-100, -100}, {141, 11}}</string>
<reference key="NSSuperview" ref="298226231"/>
+ <reference key="NSWindow"/>
<int key="NSsFlags">257</int>
<reference key="NSTarget" ref="298226231"/>
<string key="NSAction">_doScroller:</string>
@@ -345,6 +356,7 @@
</object>
<string key="NSFrameSize">{212, 145}</string>
<reference key="NSSuperview" ref="192579410"/>
+ <reference key="NSWindow"/>
<reference key="NSNextKeyView" ref="685057119"/>
<int key="NSsFlags">512</int>
<reference key="NSVScroller" ref="245346414"/>
@@ -355,11 +367,13 @@
</object>
<string key="NSFrame">{{0, 382}, {212, 145}}</string>
<reference key="NSSuperview" ref="298095498"/>
+ <reference key="NSWindow"/>
<string key="NSClassName">NSView</string>
</object>
</object>
<string key="NSFrame">{{0, 23}, {212, 527}}</string>
<reference key="NSSuperview" ref="372294785"/>
+ <reference key="NSWindow"/>
<int key="NSDividerStyle">2</int>
<reference key="BWSVColor" ref="304829493"/>
<bool key="BWSVColorIsEnabled">NO</bool>
@@ -410,6 +424,7 @@
<int key="NSvFlags">268</int>
<string key="NSFrame">{{-1, -1}, {32, 24}}</string>
<reference key="NSSuperview" ref="28219887"/>
+ <reference key="NSWindow"/>
<bool key="NSEnabled">YES</bool>
<object class="BWAnchoredButtonCell" key="NSCell" id="283448047">
<int key="NSCellFlags">67239424</int>
@@ -434,6 +449,7 @@
<int key="NSvFlags">268</int>
<string key="NSFrame">{{30, -1}, {32, 24}}</string>
<reference key="NSSuperview" ref="28219887"/>
+ <reference key="NSWindow"/>
<bool key="NSEnabled">YES</bool>
<object class="BWAnchoredPopUpButtonCell" key="NSCell" id="321871356">
<int key="NSCellFlags">71433792</int>
@@ -543,6 +559,7 @@
<int key="NSvFlags">268</int>
<string key="NSFrame">{{61, -1}, {32, 24}}</string>
<reference key="NSSuperview" ref="28219887"/>
+ <reference key="NSWindow"/>
<bool key="NSEnabled">YES</bool>
<object class="BWAnchoredButtonCell" key="NSCell" id="227511715">
<int key="NSCellFlags">67239424</int>
@@ -567,6 +584,7 @@
<int key="NSvFlags">268</int>
<string key="NSFrame">{{92, -1}, {32, 24}}</string>
<reference key="NSSuperview" ref="28219887"/>
+ <reference key="NSWindow"/>
<bool key="NSEnabled">YES</bool>
<object class="BWAnchoredButtonCell" key="NSCell" id="708016222">
<int key="NSCellFlags">-2080244224</int>
@@ -593,6 +611,7 @@
</object>
<string key="NSFrameSize">{212, 23}</string>
<reference key="NSSuperview" ref="372294785"/>
+ <reference key="NSWindow"/>
<bool key="BWABBIsResizable">YES</bool>
<bool key="BWABBIsAtBottom">YES</bool>
<bool key="BWABBHandleIsRightAligned">NO</bool>
@@ -601,6 +620,7 @@
</object>
<string key="NSFrameSize">{212, 550}</string>
<reference key="NSSuperview" ref="937377983"/>
+ <reference key="NSWindow"/>
<string key="NSClassName">NSView</string>
</object>
<object class="NSCustomView" id="604818293">
@@ -613,6 +633,7 @@
<int key="NSvFlags">274</int>
<string key="NSFrame">{{-7, -10}, {735, 564}}</string>
<reference key="NSSuperview" ref="604818293"/>
+ <reference key="NSWindow"/>
<object class="NSMutableArray" key="NSTabViewItems">
<bool key="EncodedWithXMLCoder">YES</bool>
<object class="NSTabViewItem" id="831053945">
@@ -2293,8 +2314,8 @@
<bool key="NS.raise.underflow">YES</bool>
<bool key="NS.raise.dividebyzero">YES</bool>
</object>
- <string key="NS.decimal">.</string>
- <string key="NS.thousand">,</string>
+ <string key="NS.decimal">,</string>
+ <string key="NS.thousand">.</string>
<bool key="NS.hasthousands">NO</bool>
<bool key="NS.localized">YES</bool>
<bool key="NS.allowsfloats">NO</bool>
@@ -3993,12 +4014,14 @@
<int key="NSvFlags">4352</int>
<string key="NSFrameSize">{688, 454}</string>
<reference key="NSSuperview" ref="705580858"/>
+ <reference key="NSWindow"/>
<bool key="NSEnabled">YES</bool>
<object class="NSTableHeaderView" key="NSHeaderView" id="370758200">
<reference key="NSNextResponder" ref="996985254"/>
<int key="NSvFlags">256</int>
<string key="NSFrameSize">{688, 17}</string>
<reference key="NSSuperview" ref="996985254"/>
+ <reference key="NSWindow"/>
<reference key="NSTableView" ref="952375340"/>
</object>
<object class="_NSCornerView" key="NSCornerView" id="793765259">
@@ -4006,6 +4029,7 @@
<int key="NSvFlags">-2147483392</int>
<string key="NSFrame">{{-26, 0}, {16, 17}}</string>
<reference key="NSSuperview" ref="717203719"/>
+ <reference key="NSWindow"/>
</object>
<object class="NSMutableArray" key="NSTableColumns">
<bool key="EncodedWithXMLCoder">YES</bool>
@@ -4189,6 +4213,7 @@
</object>
<string key="NSFrame">{{1, 17}, {688, 454}}</string>
<reference key="NSSuperview" ref="717203719"/>
+ <reference key="NSWindow"/>
<reference key="NSNextKeyView" ref="952375340"/>
<reference key="NSDocView" ref="952375340"/>
<reference key="NSBGColor" ref="1024678221"/>
@@ -4199,6 +4224,7 @@
<int key="NSvFlags">-2147483392</int>
<string key="NSFrame">{{674, 17}, {15, 453}}</string>
<reference key="NSSuperview" ref="717203719"/>
+ <reference key="NSWindow"/>
<reference key="NSTarget" ref="717203719"/>
<string key="NSAction">_doScroller:</string>
<double key="NSPercent">9.679487e-01</double>
@@ -4208,6 +4234,7 @@
<int key="NSvFlags">-2147483392</int>
<string key="NSFrame">{{1, 470}, {688, 15}}</string>
<reference key="NSSuperview" ref="717203719"/>
+ <reference key="NSWindow"/>
<int key="NSsFlags">1</int>
<reference key="NSTarget" ref="717203719"/>
<string key="NSAction">_doScroller:</string>
@@ -4222,6 +4249,7 @@
</object>
<string key="NSFrame">{{1, 0}, {688, 17}}</string>
<reference key="NSSuperview" ref="717203719"/>
+ <reference key="NSWindow"/>
<reference key="NSNextKeyView" ref="370758200"/>
<reference key="NSDocView" ref="370758200"/>
<reference key="NSBGColor" ref="1024678221"/>
@@ -4231,6 +4259,7 @@
</object>
<string key="NSFrame">{{6, 32}, {690, 472}}</string>
<reference key="NSSuperview" ref="49633996"/>
+ <reference key="NSWindow"/>
<reference key="NSNextKeyView" ref="705580858"/>
<int key="NSsFlags">562</int>
<reference key="NSVScroller" ref="429193901"/>
@@ -4245,6 +4274,7 @@
<int key="NSvFlags">292</int>
<string key="NSFrame">{{6, 9}, {32, 25}}</string>
<reference key="NSSuperview" ref="49633996"/>
+ <reference key="NSWindow"/>
<bool key="NSEnabled">YES</bool>
<object class="NSButtonCell" key="NSCell" id="796363844">
<int key="NSCellFlags">-1543373312</int>
@@ -4266,6 +4296,7 @@
<int key="NSvFlags">292</int>
<string key="NSFrame">{{68, 9}, {32, 25}}</string>
<reference key="NSSuperview" ref="49633996"/>
+ <reference key="NSWindow"/>
<bool key="NSEnabled">YES</bool>
<object class="NSButtonCell" key="NSCell" id="815097407">
<int key="NSCellFlags">-2080244224</int>
@@ -4287,6 +4318,7 @@
<int key="NSvFlags">292</int>
<string key="NSFrame">{{37, 9}, {32, 25}}</string>
<reference key="NSSuperview" ref="49633996"/>
+ <reference key="NSWindow"/>
<bool key="NSEnabled">YES</bool>
<object class="NSButtonCell" key="NSCell" id="693201961">
<int key="NSCellFlags">-1543373312</int>
@@ -4320,6 +4352,7 @@
</object>
<string key="NSFrame">{{100, 10}, {596, 23}}</string>
<reference key="NSSuperview" ref="49633996"/>
+ <reference key="NSWindow"/>
<bool key="NSEnabled">YES</bool>
<object class="NSImageCell" key="NSCell" id="889065570">
<int key="NSCellFlags">130560</int>
@@ -4337,6 +4370,7 @@
<int key="NSvFlags">268</int>
<string key="NSFrame">{{14, 515}, {347, 14}}</string>
<reference key="NSSuperview" ref="49633996"/>
+ <reference key="NSWindow"/>
<bool key="NSEnabled">YES</bool>
<object class="NSTextFieldCell" key="NSCell" id="538829847">
<int key="NSCellFlags">68288064</int>
@@ -4351,6 +4385,7 @@
</object>
<string key="NSFrame">{{10, 7}, {700, 544}}</string>
<reference key="NSSuperview" ref="714795046"/>
+ <reference key="NSWindow"/>
</object>
<string key="NSLabel">Relations</string>
<reference key="NSColor" ref="62854682"/>
@@ -4370,17 +4405,20 @@
</object>
<string key="NSFrame">{{221, 0}, {723, 550}}</string>
<reference key="NSSuperview" ref="937377983"/>
+ <reference key="NSWindow"/>
<string key="NSClassName">NSView</string>
</object>
</object>
<string key="NSFrameSize">{944, 550}</string>
<reference key="NSSuperview" ref="579726586"/>
+ <reference key="NSWindow"/>
<bool key="NSIsVertical">YES</bool>
<string key="NSAutosaveName">DBViewSplitter</string>
</object>
</object>
<string key="NSFrameSize">{944, 550}</string>
<reference key="NSSuperview"/>
+ <reference key="NSWindow"/>
</object>
<string key="NSScreenRect">{{0, 0}, {1920, 1178}}</string>
<string key="NSMinSize">{780, 502}</string>
@@ -8894,23 +8932,24 @@ IGRvIHlvdSB3YW50IHRvIGFkZCBmb3IgdGhpcyBmaWVsZD8</string>
<string key="NSMaxSize">{3.40282e+38, 3.40282e+38}</string>
</object>
<object class="NSWindowTemplate" id="135079060">
- <int key="NSWindowStyleMask">8223</int>
+ <int key="NSWindowStyleMask">8219</int>
<int key="NSWindowBacking">2</int>
- <string key="NSWindowRect">{{196, 190}, {580, 320}}</string>
- <int key="NSWTFlags">-469762048</int>
+ <string key="NSWindowRect">{{196, 348}, {280, 162}}</string>
+ <int key="NSWTFlags">-469761024</int>
<string key="NSWindowTitle">Create Table Syntax</string>
<string key="NSWindowClass">NSPanel</string>
<nil key="NSViewClass"/>
<string key="NSWindowContentMaxSize">{3.40282e+38, 3.40282e+38}</string>
+ <string key="NSWindowContentMinSize">{120, 100}</string>
<object class="NSView" key="NSWindowView" id="661948784">
- <nil key="NSNextResponder"/>
+ <reference key="NSNextResponder"/>
<int key="NSvFlags">256</int>
<object class="NSMutableArray" key="NSSubviews">
<bool key="EncodedWithXMLCoder">YES</bool>
<object class="BWTransparentButton" id="568453839">
<reference key="NSNextResponder" ref="661948784"/>
<int key="NSvFlags">289</int>
- <string key="NSFrame">{{480, -1}, {81, 27}}</string>
+ <string key="NSFrame">{{180, -1}, {81, 27}}</string>
<reference key="NSSuperview" ref="661948784"/>
<bool key="NSEnabled">YES</bool>
<object class="BWTransparentButtonCell" key="NSCell" id="295636063">
@@ -8929,7 +8968,7 @@ IGRvIHlvdSB3YW50IHRvIGFkZCBmb3IgdGhpcyBmaWVsZD8</string>
</object>
<object class="BWTransparentScrollView" id="992507944">
<reference key="NSNextResponder" ref="661948784"/>
- <int key="NSvFlags">274</int>
+ <int key="NSvFlags">4370</int>
<object class="NSMutableArray" key="NSSubviews">
<bool key="EncodedWithXMLCoder">YES</bool>
<object class="NSClipView" id="856231100">
@@ -8939,8 +8978,8 @@ IGRvIHlvdSB3YW50IHRvIGFkZCBmb3IgdGhpcyBmaWVsZD8</string>
<bool key="EncodedWithXMLCoder">YES</bool>
<object class="NSTextView" id="852390500">
<reference key="NSNextResponder" ref="856231100"/>
- <int key="NSvFlags">2322</int>
- <string key="NSFrameSize">{566, 72}</string>
+ <int key="NSvFlags">6418</int>
+ <string key="NSFrameSize">{266, 144}</string>
<reference key="NSSuperview" ref="856231100"/>
<object class="NSTextContainer" key="NSTextContainer" id="649289743">
<object class="NSLayoutManager" key="NSLayoutManager">
@@ -9143,11 +9182,11 @@ IGRvIHlvdSB3YW50IHRvIGFkZCBmb3IgdGhpcyBmaWVsZD8</string>
<nil key="NSDelegate"/>
</object>
<reference key="NSTextView" ref="852390500"/>
- <double key="NSWidth">5.660000e+02</double>
+ <double key="NSWidth">2.660000e+02</double>
<int key="NSTCFlags">1</int>
</object>
<object class="NSTextViewSharedData" key="NSSharedData">
- <int key="NSFlags">10983</int>
+ <int key="NSFlags">2049</int>
<reference key="NSBackgroundColor" ref="449903125"/>
<reference key="NSInsertionColor" ref="304829493"/>
<object class="NSDictionary" key="NSSelectedAttributes">
@@ -9179,13 +9218,13 @@ IGRvIHlvdSB3YW50IHRvIGFkZCBmb3IgdGhpcyBmaWVsZD8</string>
</object>
<nil key="NSDefaultParagraphStyle"/>
</object>
- <int key="NSTVFlags">6</int>
+ <int key="NSTVFlags">7</int>
<string key="NSMaxSize">{1144, 1e+07}</string>
- <string key="NSMinize">{228, 0}</string>
+ <string key="NSMinize">{86, 0}</string>
<nil key="NSDelegate"/>
</object>
</object>
- <string key="NSFrameSize">{566, 279}</string>
+ <string key="NSFrameSize">{266, 121}</string>
<reference key="NSSuperview" ref="992507944"/>
<reference key="NSNextKeyView" ref="852390500"/>
<reference key="NSDocView" ref="852390500"/>
@@ -9196,12 +9235,13 @@ IGRvIHlvdSB3YW50IHRvIGFkZCBmb3IgdGhpcyBmaWVsZD8</string>
<object class="BWTransparentScroller" id="775434024">
<reference key="NSNextResponder" ref="992507944"/>
<int key="NSvFlags">256</int>
- <string key="NSFrame">{{566, 0}, {12, 279}}</string>
+ <string key="NSFrame">{{266, 0}, {12, 121}}</string>
<reference key="NSSuperview" ref="992507944"/>
+ <bool key="NSEnabled">YES</bool>
<int key="NSArrowsLoc">2</int>
<reference key="NSTarget" ref="992507944"/>
<string key="NSAction">_doScroller:</string>
- <double key="NSPercent">8.870056e-01</double>
+ <double key="NSPercent">8.402778e-01</double>
</object>
<object class="NSScroller" id="655849727">
<reference key="NSNextResponder" ref="992507944"/>
@@ -9215,18 +9255,20 @@ IGRvIHlvdSB3YW50IHRvIGFkZCBmb3IgdGhpcyBmaWVsZD8</string>
<double key="NSPercent">9.456522e-01</double>
</object>
</object>
- <string key="NSFrame">{{1, 34}, {578, 279}}</string>
+ <string key="NSFrame">{{1, 34}, {278, 121}}</string>
<reference key="NSSuperview" ref="661948784"/>
<reference key="NSNextKeyView" ref="856231100"/>
- <int key="NSsFlags">16</int>
+ <int key="NSsFlags">592</int>
<reference key="NSVScroller" ref="775434024"/>
<reference key="NSHScroller" ref="655849727"/>
<reference key="NSContentView" ref="856231100"/>
</object>
</object>
- <string key="NSFrameSize">{580, 320}</string>
+ <string key="NSFrameSize">{280, 162}</string>
+ <reference key="NSSuperview"/>
</object>
<string key="NSScreenRect">{{0, 0}, {1440, 878}}</string>
+ <string key="NSMinSize">{120, 119}</string>
<string key="NSMaxSize">{3.40282e+38, 3.40282e+38}</string>
<string key="NSFrameAutosaveName">createTableSyntaxWindow</string>
</object>
@@ -12542,6 +12584,10 @@ IGRvIHlvdSB3YW50IHRvIGFkZCBmb3IgdGhpcyBmaWVsZD8</string>
<string key="NSClassName">NSView</string>
</object>
<object class="NSUserDefaultsController" id="461189245">
+ <object class="NSMutableArray" key="NSDeclaredKeys">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <string>CustomQueryEditorFont</string>
+ </object>
<bool key="NSSharedInstance">YES</bool>
</object>
<object class="NSArrayController" id="302582105">
@@ -16438,6 +16484,26 @@ IGRvIHlvdSB3YW50IHRvIGFkZCBmb3IgdGhpcyBmaWVsZD8</string>
</object>
<int key="connectionID">6206</int>
</object>
+ <object class="IBConnectionRecord">
+ <object class="IBBindingConnection" key="connection">
+ <string key="label">font: values.CustomQueryEditorFont</string>
+ <reference key="source" ref="852390500"/>
+ <reference key="destination" ref="461189245"/>
+ <object class="NSNibBindingConnector" key="connector">
+ <reference key="NSSource" ref="852390500"/>
+ <reference key="NSDestination" ref="461189245"/>
+ <string key="NSLabel">font: values.CustomQueryEditorFont</string>
+ <string key="NSBinding">font</string>
+ <string key="NSKeyPath">values.CustomQueryEditorFont</string>
+ <object class="NSDictionary" key="NSOptions">
+ <string key="NS.key.0">NSValueTransformerName</string>
+ <string key="NS.object.0">NSUnarchiveFromData</string>
+ </object>
+ <int key="NSNibBindingConnectorVersion">2</int>
+ </object>
+ </object>
+ <int key="connectionID">6208</int>
+ </object>
</object>
<object class="IBMutableOrderedSet" key="objectRecords">
<object class="NSArray" key="orderedObjects">
@@ -23796,7 +23862,9 @@ IGRvIHlvdSB3YW50IHRvIGFkZCBmb3IgdGhpcyBmaWVsZD8</string>
<string>3987.NSWindowTemplate.visibleAtLaunch</string>
<string>3987.editorWindowContentRectSynchronizationRect</string>
<string>3987.windowTemplate.hasMaxSize</string>
+ <string>3987.windowTemplate.hasMinSize</string>
<string>3987.windowTemplate.maxSize</string>
+ <string>3987.windowTemplate.minSize</string>
<string>3988.IBPluginDependency</string>
<string>3994.IBEditorWindowLastContentRect</string>
<string>3994.IBPluginDependency</string>
@@ -25503,12 +25571,14 @@ IGRvIHlvdSB3YW50IHRvIGFkZCBmb3IgdGhpcyBmaWVsZD8</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
- <string>{{172, 464}, {580, 320}}</string>
- <string>{{172, 464}, {580, 320}}</string>
+ <string>{{172, 622}, {280, 162}}</string>
+ <string>{{172, 622}, {280, 162}}</string>
<reference ref="8"/>
<string>{{115, 214}, {588, 350}}</string>
<reference ref="8"/>
+ <boolean value="YES" id="5"/>
<string>{3.40282e+38, 3.40282e+38}</string>
+ <string>{120, 100}</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>{{412, 275}, {200, 32}}</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
@@ -25800,7 +25870,7 @@ IGRvIHlvdSB3YW50IHRvIGFkZCBmb3IgdGhpcyBmaWVsZD8</string>
<string>{{697, 485}, {260, 127}}</string>
<string>{{697, 485}, {260, 127}}</string>
<reference ref="9"/>
- <boolean value="YES" id="5"/>
+ <reference ref="5"/>
<reference ref="9"/>
<string>{600, 127}</string>
<string>{260, 127}</string>
@@ -26797,7 +26867,7 @@ Y2hhbmdlIHRoZSBvcmRlcg</string>
</object>
</object>
<nil key="sourceID"/>
- <int key="maxID">6206</int>
+ <int key="maxID">6208</int>
</object>
<object class="IBClassDescriber" key="IBDocument.Classes">
<object class="NSMutableArray" key="referencedPartialClassDescriptions">
diff --git a/Source/TableDocument.m b/Source/TableDocument.m
index d710caa1..9f1b0fa9 100644
--- a/Source/TableDocument.m
+++ b/Source/TableDocument.m
@@ -1308,11 +1308,11 @@ NSString *TableDocumentFavoritesControllerSelectionIndexDidChange = @"TableDocum
if ([tableSyntax isKindOfClass:[NSData class]])
tableSyntax = [[NSString alloc] initWithData:tableSyntax encoding:[mySQLConnection encoding]];
- [syntaxViewContent setEditable:YES];
if([tablesListInstance tableType] == SP_TABLETYPE_VIEW)
[syntaxViewContent setString:[tableSyntax createViewSyntaxPrettifier]];
else
[syntaxViewContent setString:tableSyntax];
+
[syntaxViewContent setEditable:NO];
[createTableSyntaxWindow setTitle:createWindowTitle];