Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #29 from Xeago/master

Smart insert - from Xeago
  • Loading branch information...
commit 729ad6e3b17feb2a408a9005b23b5f01132e49ed 2 parents e178e4e + 3107c5a
@0hoo 0hoo authored
Showing with 101 additions and 520 deletions.
  1. +95 −519 English.lproj/MainMenu.xib
  2. +6 −1 QCUIElement.m
View
614 English.lproj/MainMenu.xib
@@ -12,26 +12,25 @@
</object>
<object class="NSArray" key="IBDocument.IntegratedClassDependencies">
<bool key="EncodedWithXMLCoder">YES</bool>
- <string>NSMenuItem</string>
+ <string>NSUserDefaultsController</string>
+ <string>NSTableColumn</string>
+ <string>NSPopUpButton</string>
+ <string>NSScroller</string>
+ <string>NSTableHeaderView</string>
<string>NSMenu</string>
- <string>NSButton</string>
- <string>NSCustomObject</string>
+ <string>NSTextFieldCell</string>
+ <string>NSScrollView</string>
<string>NSArrayController</string>
+ <string>NSBox</string>
+ <string>NSButton</string>
<string>NSTableView</string>
- <string>NSCustomView</string>
- <string>NSTextField</string>
- <string>NSWindowTemplate</string>
- <string>NSTextFieldCell</string>
<string>NSButtonCell</string>
- <string>NSTableColumn</string>
- <string>NSBox</string>
+ <string>NSCustomObject</string>
+ <string>NSCustomView</string>
<string>NSView</string>
+ <string>NSWindowTemplate</string>
+ <string>NSTextField</string>
<string>NSPopUpButtonCell</string>
- <string>NSScrollView</string>
- <string>NSUserDefaultsController</string>
- <string>NSPopUpButton</string>
- <string>NSScroller</string>
- <string>NSTableHeaderView</string>
</object>
<object class="NSArray" key="IBDocument.PluginDependencies">
<bool key="EncodedWithXMLCoder">YES</bool>
@@ -173,14 +172,17 @@
<string key="NSFrameSize">{394, 17}</string>
<reference key="NSSuperview" ref="205750030"/>
<reference key="NSWindow"/>
- <reference key="NSNextKeyView" ref="530525660"/>
+ <reference key="NSNextKeyView" ref="897247830"/>
<int key="NSViewLayerContentsRedrawPolicy">2</int>
<reference key="NSTableView" ref="59988265"/>
</object>
- <object class="_NSCornerView" key="NSCornerView">
- <nil key="NSNextResponder"/>
+ <object class="_NSCornerView" key="NSCornerView" id="897247830">
+ <reference key="NSNextResponder" ref="278119067"/>
<int key="NSvFlags">-2147483392</int>
<string key="NSFrame">{{224, 0}, {16, 17}}</string>
+ <reference key="NSSuperview" ref="278119067"/>
+ <reference key="NSWindow"/>
+ <reference key="NSNextKeyView" ref="530525660"/>
<int key="NSViewLayerContentsRedrawPolicy">2</int>
</object>
<object class="NSMutableArray" key="NSTableColumns">
@@ -330,6 +332,7 @@
<reference key="NSBGColor" ref="1012495200"/>
<int key="NScvFlags">4</int>
</object>
+ <reference ref="897247830"/>
</object>
<string key="NSFrame">{{20, 199}, {396, 189}}</string>
<reference key="NSSuperview" ref="248881203"/>
@@ -341,6 +344,7 @@
<reference key="NSHScroller" ref="941871519"/>
<reference key="NSContentView" ref="530525660"/>
<reference key="NSHeaderClipView" ref="205750030"/>
+ <reference key="NSCornerView" ref="897247830"/>
<bytes key="NSScrollAmts">QSAAAEEgAABBmAAAQZgAAA</bytes>
</object>
<object class="NSScrollView" id="311190998">
@@ -368,14 +372,17 @@
<string key="NSFrameSize">{394, 17}</string>
<reference key="NSSuperview" ref="80177887"/>
<reference key="NSWindow"/>
- <reference key="NSNextKeyView" ref="768789879"/>
+ <reference key="NSNextKeyView" ref="668017087"/>
<int key="NSViewLayerContentsRedrawPolicy">2</int>
<reference key="NSTableView" ref="680585819"/>
</object>
- <object class="_NSCornerView" key="NSCornerView">
- <nil key="NSNextResponder"/>
+ <object class="_NSCornerView" key="NSCornerView" id="668017087">
+ <reference key="NSNextResponder" ref="311190998"/>
<int key="NSvFlags">-2147483392</int>
<string key="NSFrame">{{224, 0}, {16, 17}}</string>
+ <reference key="NSSuperview" ref="311190998"/>
+ <reference key="NSWindow"/>
+ <reference key="NSNextKeyView" ref="768789879"/>
<int key="NSViewLayerContentsRedrawPolicy">2</int>
</object>
<object class="NSMutableArray" key="NSTableColumns">
@@ -477,6 +484,7 @@
<reference key="NSBGColor" ref="1012495200"/>
<int key="NScvFlags">4</int>
</object>
+ <reference ref="668017087"/>
</object>
<string key="NSFrame">{{20, 49}, {396, 113}}</string>
<reference key="NSSuperview" ref="248881203"/>
@@ -488,6 +496,7 @@
<reference key="NSHScroller" ref="890913937"/>
<reference key="NSContentView" ref="768789879"/>
<reference key="NSHeaderClipView" ref="80177887"/>
+ <reference key="NSCornerView" ref="668017087"/>
<bytes key="NSScrollAmts">QSAAAEEgAABBmAAAQZgAAA</bytes>
</object>
<object class="NSTextField" id="942101536">
@@ -674,7 +683,7 @@
<string key="NSFrame">{{30, 434}, {186, 18}}</string>
<reference key="NSSuperview" ref="248881203"/>
<reference key="NSWindow"/>
- <reference key="NSNextKeyView" ref="138723173"/>
+ <reference key="NSNextKeyView" ref="587315018"/>
<string key="NSReuseIdentifierKey">_NS:771</string>
<bool key="NSEnabled">YES</bool>
<object class="NSButtonCell" key="NSCell" id="553244582">
@@ -686,11 +695,11 @@
<reference key="NSControlView" ref="236097746"/>
<int key="NSButtonFlags">1211912703</int>
<int key="NSButtonFlags2">2</int>
- <object class="NSCustomResource" key="NSNormalImage">
+ <object class="NSCustomResource" key="NSNormalImage" id="924845137">
<string key="NSClassName">NSImage</string>
<string key="NSResourceName">NSSwitch</string>
</object>
- <object class="NSButtonImageSource" key="NSAlternateImage">
+ <object class="NSButtonImageSource" key="NSAlternateImage" id="238950592">
<string key="NSImageName">NSSwitch</string>
</object>
<string key="NSAlternateContents"/>
@@ -699,6 +708,32 @@
<int key="NSPeriodicInterval">25</int>
</object>
</object>
+ <object class="NSButton" id="587315018">
+ <reference key="NSNextResponder" ref="248881203"/>
+ <int key="NSvFlags">268</int>
+ <string key="NSFrame">{{331, 434}, {87, 18}}</string>
+ <reference key="NSSuperview" ref="248881203"/>
+ <reference key="NSWindow"/>
+ <reference key="NSNextKeyView" ref="138723173"/>
+ <string key="NSReuseIdentifierKey">_NS:771</string>
+ <bool key="NSEnabled">YES</bool>
+ <object class="NSButtonCell" key="NSCell" id="997926010">
+ <int key="NSCellFlags">-2080244224</int>
+ <int key="NSCellFlags2">0</int>
+ <string key="NSContents">Smart edit</string>
+ <reference key="NSSupport" ref="752916645"/>
+ <string key="NSCellIdentifier">_NS:771</string>
+ <reference key="NSControlView" ref="587315018"/>
+ <int key="NSButtonFlags">1210864127</int>
+ <int key="NSButtonFlags2">2</int>
+ <reference key="NSNormalImage" ref="924845137"/>
+ <reference key="NSAlternateImage" ref="238950592"/>
+ <string key="NSAlternateContents"/>
+ <string key="NSKeyEquivalent"/>
+ <int key="NSPeriodicDelay">200</int>
+ <int key="NSPeriodicInterval">25</int>
+ </object>
+ </object>
</object>
<string key="NSFrameSize">{435, 508}</string>
<reference key="NSSuperview"/>
@@ -706,7 +741,7 @@
<reference key="NSNextKeyView" ref="521699642"/>
<int key="NSViewLayerContentsRedrawPolicy">2</int>
</object>
- <string key="NSScreenRect">{{0, 0}, {1440, 878}}</string>
+ <string key="NSScreenRect">{{0, 0}, {1680, 1028}}</string>
<string key="NSMaxSize">{10000000000000, 10000000000000}</string>
<string key="NSFrameAutosaveName">QuickCursorPreferences</string>
<bool key="NSWindowIsRestorable">YES</bool>
@@ -748,229 +783,11 @@
<bool key="NSFilterRestrictsInsertion">YES</bool>
<bool key="NSClearsFilterPredicateOnInsertion">YES</bool>
</object>
- <object class="NSMenu" id="933888520">
- <string key="NSTitle">AMainMenu</string>
- <object class="NSMutableArray" key="NSMenuItems">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <object class="NSMenuItem" id="975954873">
- <reference key="NSMenu" ref="933888520"/>
- <string key="NSTitle">QuickCursor</string>
- <string key="NSKeyEquiv"/>
- <int key="NSKeyEquivModMask">1048576</int>
- <int key="NSMnemonicLoc">2147483647</int>
- <object class="NSCustomResource" key="NSOnImage" id="665902965">
- <string key="NSClassName">NSImage</string>
- <string key="NSResourceName">NSMenuCheckmark</string>
- </object>
- <object class="NSCustomResource" key="NSMixedImage" id="627555266">
- <string key="NSClassName">NSImage</string>
- <string key="NSResourceName">NSMenuMixedState</string>
- </object>
- <string key="NSAction">submenuAction:</string>
- <object class="NSMenu" key="NSSubmenu" id="866115837">
- <string key="NSTitle">QuickCursor</string>
- <object class="NSMutableArray" key="NSMenuItems">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <object class="NSMenuItem" id="836189708">
- <reference key="NSMenu" ref="866115837"/>
- <string key="NSTitle">Preferences…</string>
- <string key="NSKeyEquiv">,</string>
- <int key="NSKeyEquivModMask">1048576</int>
- <int key="NSMnemonicLoc">2147483647</int>
- <reference key="NSOnImage" ref="665902965"/>
- <reference key="NSMixedImage" ref="627555266"/>
- </object>
- <object class="NSMenuItem" id="9708270">
- <reference key="NSMenu" ref="866115837"/>
- <string key="NSTitle">Hide QuickCursor</string>
- <string key="NSKeyEquiv">h</string>
- <int key="NSKeyEquivModMask">1048576</int>
- <int key="NSMnemonicLoc">2147483647</int>
- <reference key="NSOnImage" ref="665902965"/>
- <reference key="NSMixedImage" ref="627555266"/>
- </object>
- <object class="NSMenuItem" id="202296428">
- <reference key="NSMenu" ref="866115837"/>
- <string key="NSTitle">Hide Others</string>
- <string key="NSKeyEquiv">h</string>
- <int key="NSKeyEquivModMask">1572864</int>
- <int key="NSMnemonicLoc">2147483647</int>
- <reference key="NSOnImage" ref="665902965"/>
- <reference key="NSMixedImage" ref="627555266"/>
- </object>
- <object class="NSMenuItem" id="853841324">
- <reference key="NSMenu" ref="866115837"/>
- <string key="NSTitle">Quit QuickCursor</string>
- <string key="NSKeyEquiv">q</string>
- <int key="NSKeyEquivModMask">1048576</int>
- <int key="NSMnemonicLoc">2147483647</int>
- <reference key="NSOnImage" ref="665902965"/>
- <reference key="NSMixedImage" ref="627555266"/>
- </object>
- </object>
- <string key="NSName">_NSAppleMenu</string>
- </object>
- </object>
- <object class="NSMenuItem" id="436258163">
- <reference key="NSMenu" ref="933888520"/>
- <string key="NSTitle">File</string>
- <string key="NSKeyEquiv"/>
- <int key="NSKeyEquivModMask">1048576</int>
- <int key="NSMnemonicLoc">2147483647</int>
- <reference key="NSOnImage" ref="665902965"/>
- <reference key="NSMixedImage" ref="627555266"/>
- <string key="NSAction">submenuAction:</string>
- <object class="NSMenu" key="NSSubmenu" id="392861170">
- <string key="NSTitle">File</string>
- <object class="NSMutableArray" key="NSMenuItems">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <object class="NSMenuItem" id="459776697">
- <reference key="NSMenu" ref="392861170"/>
- <string key="NSTitle">Close</string>
- <string key="NSKeyEquiv">w</string>
- <int key="NSKeyEquivModMask">1048576</int>
- <int key="NSMnemonicLoc">2147483647</int>
- <reference key="NSOnImage" ref="665902965"/>
- <reference key="NSMixedImage" ref="627555266"/>
- </object>
- </object>
- </object>
- </object>
- <object class="NSMenuItem" id="153901708">
- <reference key="NSMenu" ref="933888520"/>
- <string key="NSTitle">Edit</string>
- <string key="NSKeyEquiv"/>
- <int key="NSKeyEquivModMask">1048576</int>
- <int key="NSMnemonicLoc">2147483647</int>
- <reference key="NSOnImage" ref="665902965"/>
- <reference key="NSMixedImage" ref="627555266"/>
- <string key="NSAction">submenuAction:</string>
- <object class="NSMenu" key="NSSubmenu" id="645843061">
- <string key="NSTitle">Edit</string>
- <object class="NSMutableArray" key="NSMenuItems">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <object class="NSMenuItem" id="769297858">
- <reference key="NSMenu" ref="645843061"/>
- <string key="NSTitle">Cut</string>
- <string key="NSKeyEquiv">x</string>
- <int key="NSKeyEquivModMask">1048576</int>
- <int key="NSMnemonicLoc">2147483647</int>
- <reference key="NSOnImage" ref="665902965"/>
- <reference key="NSMixedImage" ref="627555266"/>
- </object>
- <object class="NSMenuItem" id="540765009">
- <reference key="NSMenu" ref="645843061"/>
- <string key="NSTitle">Copy</string>
- <string key="NSKeyEquiv">c</string>
- <int key="NSKeyEquivModMask">1048576</int>
- <int key="NSMnemonicLoc">2147483647</int>
- <reference key="NSOnImage" ref="665902965"/>
- <reference key="NSMixedImage" ref="627555266"/>
- </object>
- <object class="NSMenuItem" id="1033529709">
- <reference key="NSMenu" ref="645843061"/>
- <string key="NSTitle">Paste</string>
- <string key="NSKeyEquiv">v</string>
- <int key="NSKeyEquivModMask">1048576</int>
- <int key="NSMnemonicLoc">2147483647</int>
- <reference key="NSOnImage" ref="665902965"/>
- <reference key="NSMixedImage" ref="627555266"/>
- </object>
- <object class="NSMenuItem" id="861942028">
- <reference key="NSMenu" ref="645843061"/>
- <string key="NSTitle">Select All</string>
- <string key="NSKeyEquiv">a</string>
- <int key="NSKeyEquivModMask">1048576</int>
- <int key="NSMnemonicLoc">2147483647</int>
- <reference key="NSOnImage" ref="665902965"/>
- <reference key="NSMixedImage" ref="627555266"/>
- </object>
- </object>
- </object>
- </object>
- <object class="NSMenuItem" id="483230904">
- <reference key="NSMenu" ref="933888520"/>
- <string key="NSTitle">Window</string>
- <string key="NSKeyEquiv"/>
- <int key="NSKeyEquivModMask">1048576</int>
- <int key="NSMnemonicLoc">2147483647</int>
- <reference key="NSOnImage" ref="665902965"/>
- <reference key="NSMixedImage" ref="627555266"/>
- <string key="NSAction">submenuAction:</string>
- <object class="NSMenu" key="NSSubmenu" id="977634681">
- <string key="NSTitle">Window</string>
- <object class="NSMutableArray" key="NSMenuItems">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <object class="NSMenuItem" id="522831246">
- <reference key="NSMenu" ref="977634681"/>
- <string key="NSTitle">Minimize</string>
- <string key="NSKeyEquiv">m</string>
- <int key="NSKeyEquivModMask">1048576</int>
- <int key="NSMnemonicLoc">2147483647</int>
- <reference key="NSOnImage" ref="665902965"/>
- <reference key="NSMixedImage" ref="627555266"/>
- </object>
- </object>
- <string key="NSName">_NSWindowsMenu</string>
- </object>
- </object>
- <object class="NSMenuItem" id="631809428">
- <reference key="NSMenu" ref="933888520"/>
- <string key="NSTitle">Help</string>
- <string key="NSKeyEquiv"/>
- <int key="NSMnemonicLoc">2147483647</int>
- <reference key="NSOnImage" ref="665902965"/>
- <reference key="NSMixedImage" ref="627555266"/>
- <string key="NSAction">submenuAction:</string>
- <object class="NSMenu" key="NSSubmenu" id="22706132">
- <string key="NSTitle">Help</string>
- <object class="NSMutableArray" key="NSMenuItems">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <object class="NSMenuItem" id="204997515">
- <reference key="NSMenu" ref="22706132"/>
- <string key="NSTitle">QuickCursor Help</string>
- <string key="NSKeyEquiv">?</string>
- <int key="NSKeyEquivModMask">1048576</int>
- <int key="NSMnemonicLoc">2147483647</int>
- <reference key="NSOnImage" ref="665902965"/>
- <reference key="NSMixedImage" ref="627555266"/>
- </object>
- </object>
- <string key="NSName">_NSHelpMenu</string>
- </object>
- </object>
- </object>
- <string key="NSName">_NSMainMenu</string>
- </object>
</object>
<object class="IBObjectContainer" key="IBDocument.Objects">
<object class="NSMutableArray" key="connectionRecords">
<bool key="EncodedWithXMLCoder">YES</bool>
<object class="IBConnectionRecord">
- <object class="IBActionConnection" key="connection">
- <string key="label">terminate:</string>
- <reference key="source" ref="1050"/>
- <reference key="destination" ref="853841324"/>
- </object>
- <int key="connectionID">873</int>
- </object>
- <object class="IBConnectionRecord">
- <object class="IBActionConnection" key="connection">
- <string key="label">hideOtherApplications:</string>
- <reference key="source" ref="1050"/>
- <reference key="destination" ref="202296428"/>
- </object>
- <int key="connectionID">875</int>
- </object>
- <object class="IBConnectionRecord">
- <object class="IBActionConnection" key="connection">
- <string key="label">hide:</string>
- <reference key="source" ref="1050"/>
- <reference key="destination" ref="9708270"/>
- </object>
- <int key="connectionID">876</int>
- </object>
- <object class="IBConnectionRecord">
<object class="IBOutletConnection" key="connection">
<string key="label">delegate</string>
<reference key="source" ref="1021"/>
@@ -979,54 +796,6 @@
<int key="connectionID">495</int>
</object>
<object class="IBConnectionRecord">
- <object class="IBActionConnection" key="connection">
- <string key="label">performClose:</string>
- <reference key="source" ref="1014"/>
- <reference key="destination" ref="459776697"/>
- </object>
- <int key="connectionID">877</int>
- </object>
- <object class="IBConnectionRecord">
- <object class="IBActionConnection" key="connection">
- <string key="label">cut:</string>
- <reference key="source" ref="1014"/>
- <reference key="destination" ref="769297858"/>
- </object>
- <int key="connectionID">878</int>
- </object>
- <object class="IBConnectionRecord">
- <object class="IBActionConnection" key="connection">
- <string key="label">copy:</string>
- <reference key="source" ref="1014"/>
- <reference key="destination" ref="540765009"/>
- </object>
- <int key="connectionID">879</int>
- </object>
- <object class="IBConnectionRecord">
- <object class="IBActionConnection" key="connection">
- <string key="label">paste:</string>
- <reference key="source" ref="1014"/>
- <reference key="destination" ref="1033529709"/>
- </object>
- <int key="connectionID">880</int>
- </object>
- <object class="IBConnectionRecord">
- <object class="IBActionConnection" key="connection">
- <string key="label">selectAll:</string>
- <reference key="source" ref="1014"/>
- <reference key="destination" ref="861942028"/>
- </object>
- <int key="connectionID">881</int>
- </object>
- <object class="IBConnectionRecord">
- <object class="IBActionConnection" key="connection">
- <string key="label">miniaturize:</string>
- <reference key="source" ref="1014"/>
- <reference key="destination" ref="522831246"/>
- </object>
- <int key="connectionID">882</int>
- </object>
- <object class="IBConnectionRecord">
<object class="IBOutletConnection" key="connection">
<string key="label">preferencesWindow</string>
<reference key="source" ref="976324537"/>
@@ -1051,22 +820,6 @@
<int key="connectionID">551</int>
</object>
<object class="IBConnectionRecord">
- <object class="IBActionConnection" key="connection">
- <string key="label">showPreferences:</string>
- <reference key="source" ref="976324537"/>
- <reference key="destination" ref="836189708"/>
- </object>
- <int key="connectionID">883</int>
- </object>
- <object class="IBConnectionRecord">
- <object class="IBActionConnection" key="connection">
- <string key="label">showHelp:</string>
- <reference key="source" ref="976324537"/>
- <reference key="destination" ref="204997515"/>
- </object>
- <int key="connectionID">884</int>
- </object>
- <object class="IBConnectionRecord">
<object class="IBOutletConnection" key="connection">
<string key="label">shortcutRecorder</string>
<reference key="source" ref="976324537"/>
@@ -1248,6 +1001,22 @@
</object>
<int key="connectionID">927</int>
</object>
+ <object class="IBConnectionRecord">
+ <object class="IBBindingConnection" key="connection">
+ <string key="label">value: values.SmartEdit</string>
+ <reference key="source" ref="587315018"/>
+ <reference key="destination" ref="192827805"/>
+ <object class="NSNibBindingConnector" key="connector">
+ <reference key="NSSource" ref="587315018"/>
+ <reference key="NSDestination" ref="192827805"/>
+ <string key="NSLabel">value: values.SmartEdit</string>
+ <string key="NSBinding">value</string>
+ <string key="NSKeyPath">values.SmartEdit</string>
+ <int key="NSNibBindingConnectorVersion">2</int>
+ </object>
+ </object>
+ <int key="connectionID">931</int>
+ </object>
</object>
<object class="IBMutableOrderedSet" key="objectRecords">
<object class="NSArray" key="orderedObjects">
@@ -1315,6 +1084,7 @@
<reference ref="195222859"/>
<reference ref="849498993"/>
<reference ref="236097746"/>
+ <reference ref="587315018"/>
</object>
<reference key="parent" ref="448742277"/>
</object>
@@ -1486,170 +1256,6 @@
<reference key="parent" ref="659126509"/>
</object>
<object class="IBObjectRecord">
- <int key="objectID">850</int>
- <reference key="object" ref="933888520"/>
- <object class="NSMutableArray" key="children">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <reference ref="631809428"/>
- <reference ref="436258163"/>
- <reference ref="153901708"/>
- <reference ref="975954873"/>
- <reference ref="483230904"/>
- </object>
- <reference key="parent" ref="0"/>
- </object>
- <object class="IBObjectRecord">
- <int key="objectID">851</int>
- <reference key="object" ref="631809428"/>
- <object class="NSMutableArray" key="children">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <reference ref="22706132"/>
- </object>
- <reference key="parent" ref="933888520"/>
- </object>
- <object class="IBObjectRecord">
- <int key="objectID">852</int>
- <reference key="object" ref="436258163"/>
- <object class="NSMutableArray" key="children">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <reference ref="392861170"/>
- </object>
- <reference key="parent" ref="933888520"/>
- </object>
- <object class="IBObjectRecord">
- <int key="objectID">853</int>
- <reference key="object" ref="153901708"/>
- <object class="NSMutableArray" key="children">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <reference ref="645843061"/>
- </object>
- <reference key="parent" ref="933888520"/>
- </object>
- <object class="IBObjectRecord">
- <int key="objectID">854</int>
- <reference key="object" ref="975954873"/>
- <object class="NSMutableArray" key="children">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <reference ref="866115837"/>
- </object>
- <reference key="parent" ref="933888520"/>
- </object>
- <object class="IBObjectRecord">
- <int key="objectID">855</int>
- <reference key="object" ref="483230904"/>
- <object class="NSMutableArray" key="children">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <reference ref="977634681"/>
- </object>
- <reference key="parent" ref="933888520"/>
- </object>
- <object class="IBObjectRecord">
- <int key="objectID">856</int>
- <reference key="object" ref="977634681"/>
- <object class="NSMutableArray" key="children">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <reference ref="522831246"/>
- </object>
- <reference key="parent" ref="483230904"/>
- </object>
- <object class="IBObjectRecord">
- <int key="objectID">857</int>
- <reference key="object" ref="522831246"/>
- <reference key="parent" ref="977634681"/>
- </object>
- <object class="IBObjectRecord">
- <int key="objectID">858</int>
- <reference key="object" ref="866115837"/>
- <object class="NSMutableArray" key="children">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <reference ref="9708270"/>
- <reference ref="202296428"/>
- <reference ref="836189708"/>
- <reference ref="853841324"/>
- </object>
- <reference key="parent" ref="975954873"/>
- </object>
- <object class="IBObjectRecord">
- <int key="objectID">859</int>
- <reference key="object" ref="9708270"/>
- <reference key="parent" ref="866115837"/>
- </object>
- <object class="IBObjectRecord">
- <int key="objectID">860</int>
- <reference key="object" ref="202296428"/>
- <reference key="parent" ref="866115837"/>
- </object>
- <object class="IBObjectRecord">
- <int key="objectID">861</int>
- <reference key="object" ref="836189708"/>
- <reference key="parent" ref="866115837"/>
- </object>
- <object class="IBObjectRecord">
- <int key="objectID">862</int>
- <reference key="object" ref="853841324"/>
- <reference key="parent" ref="866115837"/>
- </object>
- <object class="IBObjectRecord">
- <int key="objectID">863</int>
- <reference key="object" ref="645843061"/>
- <object class="NSMutableArray" key="children">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <reference ref="540765009"/>
- <reference ref="1033529709"/>
- <reference ref="769297858"/>
- <reference ref="861942028"/>
- </object>
- <reference key="parent" ref="153901708"/>
- </object>
- <object class="IBObjectRecord">
- <int key="objectID">865</int>
- <reference key="object" ref="540765009"/>
- <reference key="parent" ref="645843061"/>
- </object>
- <object class="IBObjectRecord">
- <int key="objectID">866</int>
- <reference key="object" ref="1033529709"/>
- <reference key="parent" ref="645843061"/>
- </object>
- <object class="IBObjectRecord">
- <int key="objectID">867</int>
- <reference key="object" ref="769297858"/>
- <reference key="parent" ref="645843061"/>
- </object>
- <object class="IBObjectRecord">
- <int key="objectID">868</int>
- <reference key="object" ref="861942028"/>
- <reference key="parent" ref="645843061"/>
- </object>
- <object class="IBObjectRecord">
- <int key="objectID">869</int>
- <reference key="object" ref="392861170"/>
- <object class="NSMutableArray" key="children">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <reference ref="459776697"/>
- </object>
- <reference key="parent" ref="436258163"/>
- </object>
- <object class="IBObjectRecord">
- <int key="objectID">870</int>
- <reference key="object" ref="459776697"/>
- <reference key="parent" ref="392861170"/>
- </object>
- <object class="IBObjectRecord">
- <int key="objectID">871</int>
- <reference key="object" ref="22706132"/>
- <object class="NSMutableArray" key="children">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <reference ref="204997515"/>
- </object>
- <reference key="parent" ref="631809428"/>
- </object>
- <object class="IBObjectRecord">
- <int key="objectID">872</int>
- <reference key="object" ref="204997515"/>
- <reference key="parent" ref="22706132"/>
- </object>
- <object class="IBObjectRecord">
<int key="objectID">885</int>
<reference key="object" ref="868578286"/>
<reference key="parent" ref="248881203"/>
@@ -1765,6 +1371,20 @@
<reference key="object" ref="553244582"/>
<reference key="parent" ref="236097746"/>
</object>
+ <object class="IBObjectRecord">
+ <int key="objectID">928</int>
+ <reference key="object" ref="587315018"/>
+ <object class="NSMutableArray" key="children">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <reference ref="997926010"/>
+ </object>
+ <reference key="parent" ref="248881203"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">929</int>
+ <reference key="object" ref="997926010"/>
+ <reference key="parent" ref="587315018"/>
+ </object>
</object>
</object>
<object class="NSMutableDictionary" key="flattenedProperties">
@@ -1808,28 +1428,6 @@
<string>693.IBPluginDependency</string>
<string>694.IBPluginDependency</string>
<string>695.IBPluginDependency</string>
- <string>850.IBPluginDependency</string>
- <string>851.IBPluginDependency</string>
- <string>852.IBPluginDependency</string>
- <string>853.IBPluginDependency</string>
- <string>854.IBPluginDependency</string>
- <string>855.IBPluginDependency</string>
- <string>856.IBPluginDependency</string>
- <string>857.IBPluginDependency</string>
- <string>858.IBPluginDependency</string>
- <string>859.IBPluginDependency</string>
- <string>860.IBPluginDependency</string>
- <string>861.IBPluginDependency</string>
- <string>862.IBPluginDependency</string>
- <string>863.IBPluginDependency</string>
- <string>865.IBPluginDependency</string>
- <string>866.IBPluginDependency</string>
- <string>867.IBPluginDependency</string>
- <string>868.IBPluginDependency</string>
- <string>869.IBPluginDependency</string>
- <string>870.IBPluginDependency</string>
- <string>871.IBPluginDependency</string>
- <string>872.IBPluginDependency</string>
<string>885.IBPluginDependency</string>
<string>888.IBPluginDependency</string>
<string>888.IBViewIntegration.shadowBlurRadius</string>
@@ -1851,6 +1449,8 @@
<string>922.IBPluginDependency</string>
<string>923.IBPluginDependency</string>
<string>924.IBPluginDependency</string>
+ <string>928.IBPluginDependency</string>
+ <string>929.IBPluginDependency</string>
</object>
<object class="NSMutableArray" key="dict.values">
<bool key="EncodedWithXMLCoder">YES</bool>
@@ -1893,28 +1493,6 @@
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
- <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
- <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
- <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
- <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
- <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
- <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
- <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
- <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
- <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
- <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
- <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
- <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
- <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
- <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
- <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
- <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
- <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
- <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
- <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
- <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
- <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
- <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<real value="0.0"/>
<reference ref="532221595"/>
<real value="0.0"/>
@@ -1934,6 +1512,8 @@
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
+ <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
+ <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
</object>
</object>
<object class="NSMutableDictionary" key="unlocalizedProperties">
@@ -1948,7 +1528,7 @@
<reference key="dict.values" ref="0"/>
</object>
<nil key="sourceID"/>
- <int key="maxID">927</int>
+ <int key="maxID">931</int>
</object>
<object class="IBClassDescriber" key="IBDocument.Classes">
<object class="NSMutableArray" key="referencedPartialClassDescriptions">
@@ -2094,16 +1674,12 @@
<object class="NSArray" key="dict.sortedKeys">
<bool key="EncodedWithXMLCoder">YES</bool>
<string>NSAddTemplate</string>
- <string>NSMenuCheckmark</string>
- <string>NSMenuMixedState</string>
<string>NSRemoveTemplate</string>
<string>NSSwitch</string>
</object>
<object class="NSMutableArray" key="dict.values">
<bool key="EncodedWithXMLCoder">YES</bool>
<string>{8, 8}</string>
- <string>{9, 8}</string>
- <string>{7, 2}</string>
<string>{8, 8}</string>
<string>{15, 15}</string>
</object>
View
7 QCUIElement.m
@@ -339,7 +339,12 @@ - (NSString *)readString {
if (copyMenuItem) {
if (![copyMenuItem enabled]) {
- if (![self performSelectAll]) {
+ NSNumber* smartEdit = [[NSUserDefaults standardUserDefaults] objectForKey:@"SmartEdit"];
+ if (!smartEdit || [smartEdit boolValue])
+ {
+ return @"";
+ }
+ else if (![self performSelectAll]) {
return NO;
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.