Files
macdown/MacDown/MPEditorPreferencesViewController.xib
T
Tzu-ping Chung 01c8f8eb79 Rename project
2014-06-09 04:25:15 +08:00

256 lines
23 KiB
XML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="5056" systemVersion="13D65" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES">
<dependencies>
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="5056"/>
</dependencies>
<objects>
<customObject id="-2" userLabel="File's Owner" customClass="MPEditorPreferencesViewController">
<connections>
<outlet property="fontPreviewField" destination="g0N-qr-H8K" id="A0K-RP-kJ5"/>
<outlet property="themeFunctions" destination="jde-Kw-4ly" id="S31-JE-p3o"/>
<outlet property="themeSelect" destination="JZh-8k-zMC" id="bTD-KG-pOG"/>
<outlet property="view" destination="Hz6-mo-xeY" id="0bl-1N-x8E"/>
</connections>
</customObject>
<customObject id="-1" userLabel="First Responder" customClass="FirstResponder"/>
<customObject id="-3" userLabel="Application"/>
<customView id="Hz6-mo-xeY">
<rect key="frame" x="0.0" y="0.0" width="462" height="198"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
<subviews>
<textField verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="g0N-qr-H8K">
<rect key="frame" x="100" y="158" width="220" height="22"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
<textFieldCell key="cell" refusesFirstResponder="YES" allowsUndo="NO" sendsActionOnEndEditing="YES" state="on" borderStyle="bezel" alignment="center" drawsBackground="YES" allowsEditingTextAttributes="YES" id="5dX-oK-p9L">
<font key="font" metaFont="system"/>
<color key="textColor" name="textColor" catalog="System" colorSpace="catalog"/>
<color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
</textFieldCell>
</textField>
<textField horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="lt1-Up-OVO">
<rect key="frame" x="18" y="161" width="76" height="17"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" alignment="right" title="Base font:" id="eXF-SL-hBq">
<font key="font" metaFont="system"/>
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
</textFieldCell>
</textField>
<textField horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="pwq-Pg-zCk">
<rect key="frame" x="18" y="131" width="76" height="17"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" alignment="right" title="Theme:" id="vA9-IT-8Z7">
<font key="font" metaFont="system"/>
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
</textFieldCell>
</textField>
<textField horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="4Ew-mW-Q4X">
<rect key="frame" x="18" y="101" width="76" height="17"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
<constraints>
<constraint firstAttribute="width" constant="72" id="uoy-0f-llW"/>
</constraints>
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" alignment="right" title="Text insets:" id="Ee6-Cj-SWW">
<font key="font" metaFont="system"/>
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
</textFieldCell>
</textField>
<button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="fRw-As-iJo">
<rect key="frame" x="322" y="152" width="126" height="32"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
<buttonCell key="cell" type="push" title="Change…" bezelStyle="rounded" alignment="center" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="8bz-cc-gLF">
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
<font key="font" metaFont="smallSystem"/>
</buttonCell>
<connections>
<action selector="showFontPanel:" target="-2" id="YLi-Kh-GgV"/>
</connections>
</button>
<box autoresizesSubviews="NO" title="Behaviors" borderType="line" translatesAutoresizingMaskIntoConstraints="NO" id="6JP-Pc-JFd">
<rect key="frame" x="17" y="16" width="428" height="74"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
<view key="contentView">
<rect key="frame" x="1" y="1" width="426" height="58"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<button translatesAutoresizingMaskIntoConstraints="NO" id="Hdc-ZZ-0Bg">
<rect key="frame" x="16" y="32" width="394" height="18"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
<buttonCell key="cell" type="check" title="Insert spaces instead of tabs" bezelStyle="regularSquare" imagePosition="left" state="on" inset="2" id="XSN-mi-gbk">
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
<font key="font" metaFont="system"/>
</buttonCell>
<connections>
<binding destination="-2" name="value" keyPath="self.preferences.editorConvertTabs" id="A4f-2M-xKO"/>
</connections>
</button>
<button translatesAutoresizingMaskIntoConstraints="NO" id="Ord-kk-ecv">
<rect key="frame" x="16" y="12" width="394" height="18"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
<buttonCell key="cell" type="check" title="Sync scrolling" bezelStyle="regularSquare" imagePosition="left" state="on" inset="2" id="pLP-mT-mxV">
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
<font key="font" metaFont="system"/>
</buttonCell>
<connections>
<binding destination="-2" name="value" keyPath="self.preferences.editorSyncScrolling" id="tjQ-LR-Xhf"/>
</connections>
</button>
</subviews>
</view>
<constraints>
<constraint firstAttribute="trailing" secondItem="Hdc-ZZ-0Bg" secondAttribute="trailing" constant="16" id="7Pr-zJ-Pag"/>
<constraint firstAttribute="bottom" secondItem="Ord-kk-ecv" secondAttribute="bottom" constant="11" id="DG0-Qk-t1b"/>
<constraint firstItem="Hdc-ZZ-0Bg" firstAttribute="top" secondItem="6JP-Pc-JFd" secondAttribute="top" constant="25" id="Dgd-P7-m65"/>
<constraint firstItem="Hdc-ZZ-0Bg" firstAttribute="leading" secondItem="Ord-kk-ecv" secondAttribute="leading" id="KuK-V8-HGG"/>
<constraint firstAttribute="height" constant="70" id="byJ-e9-9Ej"/>
<constraint firstItem="Hdc-ZZ-0Bg" firstAttribute="leading" secondItem="6JP-Pc-JFd" secondAttribute="leading" constant="16" id="diE-Es-gXO"/>
<constraint firstItem="Hdc-ZZ-0Bg" firstAttribute="trailing" secondItem="Ord-kk-ecv" secondAttribute="trailing" id="tMB-zh-M0n"/>
</constraints>
<color key="borderColor" white="0.0" alpha="0.41999999999999998" colorSpace="calibratedWhite"/>
<color key="fillColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/>
</box>
<popUpButton verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="JZh-8k-zMC">
<rect key="frame" x="98" y="126" width="225" height="26"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
<popUpButtonCell key="cell" type="push" bezelStyle="rounded" alignment="left" lineBreakMode="truncatingTail" state="on" borderStyle="borderAndBezel" imageScaling="proportionallyDown" inset="2" selectedItem="4C5-3K-7bE" id="Zr8-Em-EhD">
<behavior key="behavior" lightByBackground="YES" lightByGray="YES"/>
<font key="font" metaFont="menu"/>
<menu key="menu" title="OtherViews" id="Ia1-VG-EWI">
<items>
<menuItem state="on" id="4C5-3K-7bE"/>
<menuItem title="Item 2" id="BmJ-Oh-va6"/>
<menuItem title="Item 3" id="qML-FL-WrV"/>
</items>
</menu>
</popUpButtonCell>
<connections>
<action selector="changeTheme:" target="-2" id="zGE-AI-xkv"/>
</connections>
</popUpButton>
<segmentedControl horizontalHuggingPriority="300" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="jde-Kw-4ly">
<rect key="frame" x="326" y="127" width="118" height="24"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
<segmentedCell key="cell" alignment="left" style="rounded" trackingMode="momentary" id="GHX-3h-1HI">
<font key="font" metaFont="smallSystem"/>
<segments>
<segment label="Reveal"/>
<segment label="Reload" tag="1"/>
</segments>
</segmentedCell>
<connections>
<action selector="invokeStylesheetFunction:" target="-2" id="IjC-X0-SGd"/>
</connections>
</segmentedControl>
<textField horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="3ow-hg-Gmo">
<rect key="frame" x="201" y="101" width="19" height="17"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" alignment="center" title="×" id="g5w-Qw-Khw">
<font key="font" metaFont="system"/>
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
</textFieldCell>
</textField>
<textField verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="uWf-nW-3Ez">
<rect key="frame" x="100" y="98" width="81" height="22"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" selectable="YES" editable="YES" refusesFirstResponder="YES" sendsActionOnEndEditing="YES" state="on" borderStyle="bezel" alignment="right" title="0" drawsBackground="YES" id="797-vo-Lg9">
<numberFormatter key="formatter" formatterBehavior="custom10_4" numberStyle="decimal" usesGroupingSeparator="NO" minimumIntegerDigits="1" maximumIntegerDigits="2" id="Z1m-eN-5ss">
<real key="minimum" value="0.0"/>
<real key="maximum" value="35"/>
</numberFormatter>
<font key="font" metaFont="system"/>
<color key="textColor" name="textColor" catalog="System" colorSpace="catalog"/>
<color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
</textFieldCell>
<connections>
<binding destination="-2" name="value" keyPath="self.preferences.editorHorizontalInset" id="4nh-dg-f50">
<dictionary key="options">
<bool key="NSAllowsEditingMultipleValuesSelection" value="NO"/>
<bool key="NSRaisesForNotApplicableKeys" value="NO"/>
</dictionary>
</binding>
<outlet property="delegate" destination="-2" id="xgg-nS-J6z"/>
</connections>
</textField>
<textField verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="77u-zZ-bC0">
<rect key="frame" x="223" y="98" width="82" height="22"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" selectable="YES" editable="YES" refusesFirstResponder="YES" sendsActionOnEndEditing="YES" state="on" borderStyle="bezel" alignment="right" title="0" drawsBackground="YES" id="557-oZ-4zf">
<numberFormatter key="formatter" formatterBehavior="custom10_4" usesGroupingSeparator="NO" groupingSize="0" minimumIntegerDigits="1" maximumIntegerDigits="2" id="E8M-bY-H1G">
<real key="minimum" value="0.0"/>
<real key="maximum" value="35"/>
</numberFormatter>
<font key="font" metaFont="system"/>
<color key="textColor" name="textColor" catalog="System" colorSpace="catalog"/>
<color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
</textFieldCell>
<connections>
<binding destination="-2" name="value" keyPath="self.preferences.editorVerticalInset" id="hoC-eU-w9j">
<dictionary key="options">
<bool key="NSAllowsEditingMultipleValuesSelection" value="NO"/>
<bool key="NSRaisesForNotApplicableKeys" value="NO"/>
</dictionary>
</binding>
<outlet property="delegate" destination="-2" id="eRe-o0-7h6"/>
</connections>
</textField>
<stepper horizontalHuggingPriority="750" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="u4r-9h-qMR">
<rect key="frame" x="180" y="95" width="19" height="27"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
<stepperCell key="cell" continuous="YES" alignment="left" maxValue="35" id="YKV-Q4-Mio"/>
<connections>
<binding destination="-2" name="value" keyPath="self.preferences.editorHorizontalInset" id="Ytm-fZ-mfY"/>
</connections>
</stepper>
<stepper horizontalHuggingPriority="750" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="uUN-8R-G1c">
<rect key="frame" x="304" y="95" width="19" height="27"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
<stepperCell key="cell" continuous="YES" alignment="left" maxValue="35" id="W0c-qa-cIF"/>
<connections>
<binding destination="-2" name="value" keyPath="self.preferences.editorVerticalInset" id="mbR-4u-imj"/>
</connections>
</stepper>
</subviews>
<constraints>
<constraint firstItem="fRw-As-iJo" firstAttribute="leading" secondItem="g0N-qr-H8K" secondAttribute="trailing" constant="8" id="1ca-Rb-qak"/>
<constraint firstItem="6JP-Pc-JFd" firstAttribute="leading" secondItem="Hz6-mo-xeY" secondAttribute="leading" constant="20" id="2G5-Vs-aAI"/>
<constraint firstItem="uUN-8R-G1c" firstAttribute="leading" secondItem="77u-zZ-bC0" secondAttribute="trailing" constant="2" id="66U-o1-Eh9"/>
<constraint firstItem="jde-Kw-4ly" firstAttribute="centerY" secondItem="JZh-8k-zMC" secondAttribute="centerY" id="6cy-NP-eAD"/>
<constraint firstAttribute="bottom" secondItem="6JP-Pc-JFd" secondAttribute="bottom" constant="20" id="B2c-D3-7TI"/>
<constraint firstItem="uUN-8R-G1c" firstAttribute="centerY" secondItem="77u-zZ-bC0" secondAttribute="centerY" id="DZK-4g-vse"/>
<constraint firstItem="6JP-Pc-JFd" firstAttribute="leading" secondItem="4Ew-mW-Q4X" secondAttribute="trailing" constant="-72" id="EO8-oI-B4B"/>
<constraint firstItem="JZh-8k-zMC" firstAttribute="leading" secondItem="pwq-Pg-zCk" secondAttribute="trailing" constant="8" id="FSU-NV-MRS"/>
<constraint firstItem="jde-Kw-4ly" firstAttribute="centerY" secondItem="pwq-Pg-zCk" secondAttribute="centerY" id="JO4-Vp-XcL"/>
<constraint firstAttribute="trailing" secondItem="6JP-Pc-JFd" secondAttribute="trailing" constant="20" id="PVc-TT-DYy"/>
<constraint firstItem="3ow-hg-Gmo" firstAttribute="leading" secondItem="u4r-9h-qMR" secondAttribute="trailing" constant="7" id="R8b-bz-nsL"/>
<constraint firstItem="77u-zZ-bC0" firstAttribute="leading" secondItem="3ow-hg-Gmo" secondAttribute="trailing" constant="5" id="RTy-dI-Jk8"/>
<constraint firstItem="g0N-qr-H8K" firstAttribute="top" secondItem="Hz6-mo-xeY" secondAttribute="top" constant="18" id="VWj-mA-axG"/>
<constraint firstItem="uWf-nW-3Ez" firstAttribute="leading" secondItem="4Ew-mW-Q4X" secondAttribute="trailing" constant="8" id="WCQ-2C-bo3"/>
<constraint firstItem="uUN-8R-G1c" firstAttribute="centerY" secondItem="3ow-hg-Gmo" secondAttribute="centerY" id="Wky-Tr-g42"/>
<constraint firstItem="uWf-nW-3Ez" firstAttribute="leading" secondItem="JZh-8k-zMC" secondAttribute="leading" id="XoF-ln-8fB"/>
<constraint firstItem="uUN-8R-G1c" firstAttribute="centerY" secondItem="uWf-nW-3Ez" secondAttribute="centerY" id="YMc-Xt-rF0"/>
<constraint firstItem="uUN-8R-G1c" firstAttribute="centerY" secondItem="u4r-9h-qMR" secondAttribute="centerY" id="Z15-hV-Tth"/>
<constraint firstItem="u4r-9h-qMR" firstAttribute="leading" secondItem="uWf-nW-3Ez" secondAttribute="trailing" constant="2" id="cCQ-vj-lGV"/>
<constraint firstItem="jde-Kw-4ly" firstAttribute="leading" secondItem="JZh-8k-zMC" secondAttribute="trailing" constant="8" id="dKV-8N-iLb"/>
<constraint firstItem="4Ew-mW-Q4X" firstAttribute="leading" secondItem="pwq-Pg-zCk" secondAttribute="leading" id="dMo-Ap-GVD"/>
<constraint firstItem="fRw-As-iJo" firstAttribute="trailing" secondItem="jde-Kw-4ly" secondAttribute="trailing" id="dds-eo-AZY"/>
<constraint firstItem="g0N-qr-H8K" firstAttribute="leading" secondItem="lt1-Up-OVO" secondAttribute="trailing" constant="8" id="dxF-cz-K6n"/>
<constraint firstItem="fRw-As-iJo" firstAttribute="trailing" secondItem="6JP-Pc-JFd" secondAttribute="trailing" id="eLp-e2-EgD"/>
<constraint firstItem="uUN-8R-G1c" firstAttribute="centerY" secondItem="4Ew-mW-Q4X" secondAttribute="centerY" id="eaR-QN-BuQ"/>
<constraint firstItem="3ow-hg-Gmo" firstAttribute="centerX" secondItem="JZh-8k-zMC" secondAttribute="centerX" id="hUF-eh-BMn"/>
<constraint firstItem="uUN-8R-G1c" firstAttribute="trailing" secondItem="JZh-8k-zMC" secondAttribute="trailing" id="q6M-8v-cep"/>
<constraint firstItem="3ow-hg-Gmo" firstAttribute="centerX" secondItem="g0N-qr-H8K" secondAttribute="centerX" id="qID-s4-xog"/>
<constraint firstItem="fRw-As-iJo" firstAttribute="centerY" secondItem="g0N-qr-H8K" secondAttribute="centerY" id="u7K-SM-YxY"/>
<constraint firstItem="4Ew-mW-Q4X" firstAttribute="leading" secondItem="lt1-Up-OVO" secondAttribute="leading" id="vaB-9X-cbk"/>
<constraint firstItem="uWf-nW-3Ez" firstAttribute="top" secondItem="JZh-8k-zMC" secondAttribute="bottom" constant="9" id="vuw-QU-NbV"/>
<constraint firstItem="uWf-nW-3Ez" firstAttribute="leading" secondItem="g0N-qr-H8K" secondAttribute="leading" id="wEv-UV-Ggf"/>
<constraint firstItem="fRw-As-iJo" firstAttribute="centerY" secondItem="lt1-Up-OVO" secondAttribute="centerY" id="wNN-ce-zMH"/>
<constraint firstItem="JZh-8k-zMC" firstAttribute="top" secondItem="g0N-qr-H8K" secondAttribute="bottom" constant="8" id="xZt-ni-Wd6"/>
</constraints>
</customView>
<userDefaultsController representsSharedInstance="YES" id="25C-23-7LR"/>
</objects>
</document>