Implement indent style detection setting interface (close #413)

This commit is contained in:
1024jp 2015-10-16 21:14:27 +09:00
parent a356fc9ac4
commit d2b54730c3
5 changed files with 103 additions and 83 deletions

View File

@ -10,6 +10,7 @@ develop
- Introduce Auto Save and Versions as an option (in General pane).
- Add new actions handling selected lines to the new Text menu > Lines.
- They are also added to the AppleScript terms.
- Detect indent style on file opening and set tab expand automatically.
- Add “Spell Check” button to toolbar icon choices.
- Customize toolbar to add it to your toolbar.
- Add syntax styles for “D” and “Rich Text Format”.

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="8191" systemVersion="15A282b" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES">
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="8191" systemVersion="15B38b" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES">
<dependencies>
<deployment identifier="macosx"/>
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="8191"/>
@ -15,11 +15,11 @@
<customObject id="-3" userLabel="Application" customClass="NSObject"/>
<userDefaultsController representsSharedInstance="YES" id="26" userLabel="Shared User Defaults Controller"/>
<customView horizontalHuggingPriority="750" verticalCompressionResistancePriority="250" id="s6I-DY-Ii0" userLabel="Edit Pane">
<rect key="frame" x="0.0" y="0.0" width="550" height="645"/>
<rect key="frame" x="0.0" y="0.0" width="550" height="670"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
<subviews>
<button misplaced="YES" translatesAutoresizingMaskIntoConstraints="NO" id="870">
<rect key="frame" x="142" y="511" width="113" height="18"/>
<button translatesAutoresizingMaskIntoConstraints="NO" id="870">
<rect key="frame" x="140" y="536" width="114" height="18"/>
<animations/>
<buttonCell key="cell" type="check" title="Highlight “&lt; &gt;”" bezelStyle="regularSquare" imagePosition="left" alignment="left" inset="2" id="3305">
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
@ -30,8 +30,8 @@
<binding destination="26" name="value" keyPath="values.highlightLtGt" id="873"/>
</connections>
</button>
<button misplaced="YES" translatesAutoresizingMaskIntoConstraints="NO" id="867">
<rect key="frame" x="117" y="535" width="267" height="18"/>
<button translatesAutoresizingMaskIntoConstraints="NO" id="867">
<rect key="frame" x="115" y="560" width="270" height="18"/>
<animations/>
<buttonCell key="cell" type="check" title="Highlight matching braces “( )” “[ ]” “{ }”" bezelStyle="regularSquare" imagePosition="left" alignment="left" inset="2" id="3304">
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
@ -41,8 +41,8 @@
<binding destination="26" name="value" keyPath="values.highlightBraces" id="869"/>
</connections>
</button>
<button misplaced="YES" translatesAutoresizingMaskIntoConstraints="NO" id="844">
<rect key="frame" x="117" y="559" width="160" height="18"/>
<button translatesAutoresizingMaskIntoConstraints="NO" id="844">
<rect key="frame" x="115" y="584" width="156" height="18"/>
<animations/>
<buttonCell key="cell" type="check" title="Swap “¥” and “\” keys" bezelStyle="regularSquare" imagePosition="left" alignment="left" inset="2" id="3303">
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
@ -52,8 +52,8 @@
<binding destination="26" name="value" keyPath="values.swapYenAndBackSlashKey" id="846"/>
</connections>
</button>
<button misplaced="YES" translatesAutoresizingMaskIntoConstraints="NO" id="644">
<rect key="frame" x="117" y="607" width="210" height="18"/>
<button translatesAutoresizingMaskIntoConstraints="NO" id="644">
<rect key="frame" x="115" y="632" width="207" height="18"/>
<animations/>
<buttonCell key="cell" type="check" title="Enable smart insert and delete" bezelStyle="regularSquare" imagePosition="left" alignment="left" inset="2" id="3302">
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
@ -63,8 +63,8 @@
<binding destination="26" name="value" keyPath="values.smartInsertAndDelete" id="646"/>
</connections>
</button>
<button misplaced="YES" translatesAutoresizingMaskIntoConstraints="NO" id="mK4-4e-plf">
<rect key="frame" x="117" y="583" width="225" height="18"/>
<button translatesAutoresizingMaskIntoConstraints="NO" id="mK4-4e-plf">
<rect key="frame" x="115" y="608" width="220" height="18"/>
<animations/>
<buttonCell key="cell" type="check" title="Enable smart quotes and dashes" bezelStyle="regularSquare" imagePosition="left" alignment="left" inset="2" id="nA4-HY-d71">
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
@ -74,8 +74,8 @@
<binding destination="26" name="value" keyPath="values.enableSmartQuotes" id="lE1-jP-Sa0"/>
</connections>
</button>
<textField horizontalHuggingPriority="750" misplaced="YES" translatesAutoresizingMaskIntoConstraints="NO" id="Dte-ly-fKQ">
<rect key="frame" x="117" y="169" width="156" height="17"/>
<textField horizontalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="Dte-ly-fKQ">
<rect key="frame" x="115" y="172" width="153" height="17"/>
<animations/>
<textFieldCell key="cell" lineBreakMode="truncatingTail" sendsActionOnEndEditing="YES" title="Completion list includes:" usesSingleLineMode="YES" id="dLj-Kh-KtX">
<font key="font" metaFont="system"/>
@ -83,8 +83,8 @@
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
</textFieldCell>
</textField>
<textField horizontalHuggingPriority="750" horizontalCompressionResistancePriority="1000" misplaced="YES" translatesAutoresizingMaskIntoConstraints="NO" id="IXD-kJ-dvh">
<rect key="frame" x="50" y="608" width="63" height="17"/>
<textField horizontalHuggingPriority="750" horizontalCompressionResistancePriority="1000" translatesAutoresizingMaskIntoConstraints="NO" id="IXD-kJ-dvh">
<rect key="frame" x="50" y="633" width="61" height="17"/>
<animations/>
<textFieldCell key="cell" lineBreakMode="truncatingTail" sendsActionOnEndEditing="YES" alignment="right" title="Behavior:" usesSingleLineMode="YES" id="SqI-BC-ar9">
<font key="font" metaFont="system"/>
@ -92,8 +92,8 @@
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
</textFieldCell>
</textField>
<textField horizontalHuggingPriority="750" horizontalCompressionResistancePriority="1000" misplaced="YES" translatesAutoresizingMaskIntoConstraints="NO" id="4B0-Kj-mzX">
<rect key="frame" x="35" y="478" width="78" height="17"/>
<textField horizontalHuggingPriority="750" horizontalCompressionResistancePriority="1000" translatesAutoresizingMaskIntoConstraints="NO" id="4B0-Kj-mzX">
<rect key="frame" x="34" y="503" width="77" height="17"/>
<animations/>
<textFieldCell key="cell" lineBreakMode="truncatingTail" sendsActionOnEndEditing="YES" alignment="right" title="Indentation:" usesSingleLineMode="YES" id="9bX-ei-1x8">
<font key="font" metaFont="system"/>
@ -101,8 +101,8 @@
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
</textFieldCell>
</textField>
<textField horizontalHuggingPriority="750" misplaced="YES" translatesAutoresizingMaskIntoConstraints="NO" id="283">
<rect key="frame" x="117" y="428" width="85" height="17"/>
<textField horizontalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="283">
<rect key="frame" x="115" y="453" width="84" height="17"/>
<animations/>
<textFieldCell key="cell" lineBreakMode="truncatingTail" sendsActionOnEndEditing="YES" alignment="left" title="Indent width:" usesSingleLineMode="YES" id="3287">
<font key="font" metaFont="system"/>
@ -110,8 +110,8 @@
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
</textFieldCell>
</textField>
<textField verticalHuggingPriority="750" misplaced="YES" translatesAutoresizingMaskIntoConstraints="NO" id="282">
<rect key="frame" x="208" y="426" width="40" height="22"/>
<textField verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="282">
<rect key="frame" x="205" y="450" width="40" height="22"/>
<constraints>
<constraint firstAttribute="width" constant="40" id="8n8-kM-Jo2"/>
</constraints>
@ -132,8 +132,8 @@
<binding destination="26" name="value" keyPath="values.tabWidth" id="284"/>
</connections>
</textField>
<button misplaced="YES" translatesAutoresizingMaskIntoConstraints="NO" id="160">
<rect key="frame" x="117" y="453" width="164" height="18"/>
<button translatesAutoresizingMaskIntoConstraints="NO" id="160">
<rect key="frame" x="115" y="478" width="160" height="18"/>
<animations/>
<buttonCell key="cell" type="check" title="Expand tabs to spaces" bezelStyle="regularSquare" imagePosition="left" alignment="left" inset="2" id="3283">
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
@ -143,16 +143,16 @@
<binding destination="26" name="value" keyPath="values.autoExpandTab" id="163"/>
</connections>
</button>
<stepper horizontalHuggingPriority="750" verticalHuggingPriority="750" misplaced="YES" translatesAutoresizingMaskIntoConstraints="NO" id="iub-4d-NyY">
<rect key="frame" x="249" y="423" width="19" height="27"/>
<stepper horizontalHuggingPriority="750" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="iub-4d-NyY">
<rect key="frame" x="246" y="447" width="19" height="27"/>
<animations/>
<stepperCell key="cell" continuous="YES" alignment="left" minValue="1" maxValue="99" doubleValue="1" id="ajw-Bh-Oc0"/>
<connections>
<binding destination="26" name="value" keyPath="values.tabWidth" id="5S2-d5-xKG"/>
</connections>
</stepper>
<button misplaced="YES" translatesAutoresizingMaskIntoConstraints="NO" id="209">
<rect key="frame" x="117" y="477" width="93" height="18"/>
<button translatesAutoresizingMaskIntoConstraints="NO" id="209">
<rect key="frame" x="115" y="502" width="92" height="18"/>
<animations/>
<buttonCell key="cell" type="check" title="Auto indent" bezelStyle="regularSquare" imagePosition="left" alignment="left" inset="2" id="3285">
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
@ -162,8 +162,8 @@
<binding destination="26" name="value" keyPath="values.autoIndent" id="210"/>
</connections>
</button>
<button misplaced="YES" translatesAutoresizingMaskIntoConstraints="NO" id="69">
<rect key="frame" x="117" y="334" width="114" height="18"/>
<button translatesAutoresizingMaskIntoConstraints="NO" id="69">
<rect key="frame" x="115" y="337" width="112" height="18"/>
<animations/>
<buttonCell key="cell" type="check" title="Soft wrap lines" bezelStyle="regularSquare" imagePosition="left" alignment="left" inset="2" id="3274">
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
@ -173,8 +173,8 @@
<binding destination="26" name="value" keyPath="values.wrapLines" id="90"/>
</connections>
</button>
<button misplaced="YES" translatesAutoresizingMaskIntoConstraints="NO" id="R0e-j3-ADv">
<rect key="frame" x="117" y="310" width="174" height="18"/>
<button translatesAutoresizingMaskIntoConstraints="NO" id="R0e-j3-ADv">
<rect key="frame" x="115" y="313" width="171" height="18"/>
<animations/>
<buttonCell key="cell" type="check" title="Indent wrapped lines by:" bezelStyle="regularSquare" imagePosition="left" alignment="left" inset="2" id="mCq-92-2sT">
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
@ -184,8 +184,8 @@
<binding destination="26" name="value" keyPath="values.enableHangingIndent" id="pEH-5M-34q"/>
</connections>
</button>
<textField horizontalHuggingPriority="750" horizontalCompressionResistancePriority="1000" misplaced="YES" translatesAutoresizingMaskIntoConstraints="NO" id="fR5-Ie-WnP">
<rect key="frame" x="18" y="335" width="95" height="17"/>
<textField horizontalHuggingPriority="750" horizontalCompressionResistancePriority="1000" translatesAutoresizingMaskIntoConstraints="NO" id="fR5-Ie-WnP">
<rect key="frame" x="18" y="338" width="93" height="17"/>
<animations/>
<textFieldCell key="cell" lineBreakMode="truncatingTail" sendsActionOnEndEditing="YES" alignment="right" title="Line wrapping:" usesSingleLineMode="YES" id="P1I-gs-RgX">
<font key="font" metaFont="system"/>
@ -193,8 +193,8 @@
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
</textFieldCell>
</textField>
<button misplaced="YES" translatesAutoresizingMaskIntoConstraints="NO" id="lO2-uf-OLD">
<rect key="frame" x="142" y="145" width="142" height="18"/>
<button translatesAutoresizingMaskIntoConstraints="NO" id="lO2-uf-OLD">
<rect key="frame" x="140" y="148" width="140" height="18"/>
<animations/>
<buttonCell key="cell" type="check" title="Words in document" bezelStyle="regularSquare" imagePosition="left" alignment="left" inset="2" id="EJZ-N6-54G">
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
@ -205,8 +205,8 @@
<binding destination="26" name="value" keyPath="values.completesDocumentWords" id="Ecf-pT-NXw"/>
</connections>
</button>
<button misplaced="YES" translatesAutoresizingMaskIntoConstraints="NO" id="t0Y-p1-xOb">
<rect key="frame" x="142" y="121" width="203" height="18"/>
<button translatesAutoresizingMaskIntoConstraints="NO" id="t0Y-p1-xOb">
<rect key="frame" x="140" y="124" width="200" height="18"/>
<animations/>
<buttonCell key="cell" type="check" title="Words defined in syntax style" bezelStyle="regularSquare" imagePosition="left" alignment="left" inset="2" id="1v9-7i-9RL">
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
@ -217,8 +217,8 @@
<binding destination="26" name="value" keyPath="values.completesSyntaxWords" id="fQq-LZ-Edi"/>
</connections>
</button>
<textField horizontalHuggingPriority="750" horizontalCompressionResistancePriority="1000" misplaced="YES" translatesAutoresizingMaskIntoConstraints="NO" id="oXk-4y-elJ">
<rect key="frame" x="34" y="169" width="79" height="17"/>
<textField horizontalHuggingPriority="750" horizontalCompressionResistancePriority="1000" translatesAutoresizingMaskIntoConstraints="NO" id="oXk-4y-elJ">
<rect key="frame" x="33" y="172" width="78" height="17"/>
<animations/>
<textFieldCell key="cell" lineBreakMode="truncatingTail" sendsActionOnEndEditing="YES" alignment="right" title="Completion:" usesSingleLineMode="YES" id="gDN-SU-sZH">
<font key="font" metaFont="system"/>
@ -226,8 +226,8 @@
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
</textFieldCell>
</textField>
<textField horizontalHuggingPriority="750" misplaced="YES" translatesAutoresizingMaskIntoConstraints="NO" id="N9e-hF-BPy">
<rect key="frame" x="271" y="428" width="48" height="17"/>
<textField horizontalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="N9e-hF-BPy">
<rect key="frame" x="268" y="453" width="47" height="17"/>
<animations/>
<textFieldCell key="cell" controlSize="small" lineBreakMode="truncatingTail" sendsActionOnEndEditing="YES" title="spaces" usesSingleLineMode="YES" id="as9-us-CuG">
<font key="font" metaFont="system"/>
@ -235,8 +235,8 @@
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
</textFieldCell>
</textField>
<button misplaced="YES" translatesAutoresizingMaskIntoConstraints="NO" id="235">
<rect key="frame" x="142" y="252" width="61" height="18"/>
<button translatesAutoresizingMaskIntoConstraints="NO" id="235">
<rect key="frame" x="140" y="255" width="60" height="18"/>
<animations/>
<buttonCell key="cell" type="check" title="Space" bezelStyle="regularSquare" imagePosition="left" alignment="left" inset="2" id="3257">
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
@ -247,8 +247,8 @@
<binding destination="26" name="enabled" keyPath="values.showInvisibles" id="WmD-Ra-Me7"/>
</connections>
</button>
<popUpButton verticalHuggingPriority="750" misplaced="YES" translatesAutoresizingMaskIntoConstraints="NO" id="236">
<rect key="frame" x="207" y="247" width="55" height="26"/>
<popUpButton verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="236">
<rect key="frame" x="204" y="250" width="55" height="26"/>
<constraints>
<constraint firstAttribute="width" constant="50" id="rr2-Bh-XY1"/>
</constraints>
@ -276,8 +276,8 @@
</binding>
</connections>
</popUpButton>
<popUpButton verticalHuggingPriority="750" misplaced="YES" translatesAutoresizingMaskIntoConstraints="NO" id="243">
<rect key="frame" x="207" y="223" width="55" height="26"/>
<popUpButton verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="243">
<rect key="frame" x="204" y="226" width="55" height="26"/>
<animations/>
<popUpButtonCell key="cell" type="push" bezelStyle="rounded" alignment="left" lineBreakMode="clipping" borderStyle="borderAndBezel" inset="2" arrowPosition="arrowAtCenter" preferredEdge="maxY" id="3259">
<behavior key="behavior" lightByBackground="YES" lightByGray="YES"/>
@ -302,8 +302,8 @@
</binding>
</connections>
</popUpButton>
<button misplaced="YES" translatesAutoresizingMaskIntoConstraints="NO" id="244">
<rect key="frame" x="142" y="228" width="44" height="18"/>
<button translatesAutoresizingMaskIntoConstraints="NO" id="244">
<rect key="frame" x="140" y="231" width="45" height="18"/>
<animations/>
<buttonCell key="cell" type="check" title="Tab" bezelStyle="regularSquare" imagePosition="left" alignment="left" inset="2" id="3260">
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
@ -314,8 +314,8 @@
<binding destination="26" name="enabled" keyPath="values.showInvisibles" id="wHE-xd-ZwS"/>
</connections>
</button>
<button misplaced="YES" translatesAutoresizingMaskIntoConstraints="NO" id="874">
<rect key="frame" x="142" y="204" width="182" height="18"/>
<button translatesAutoresizingMaskIntoConstraints="NO" id="874">
<rect key="frame" x="140" y="207" width="180" height="18"/>
<animations/>
<buttonCell key="cell" type="check" title="Other Invisible Characters" bezelStyle="regularSquare" imagePosition="left" alignment="left" inset="2" id="3263">
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
@ -326,8 +326,8 @@
<binding destination="26" name="value" keyPath="values.showOtherInvisibleChars" id="876"/>
</connections>
</button>
<textField horizontalHuggingPriority="750" horizontalCompressionResistancePriority="1000" misplaced="YES" translatesAutoresizingMaskIntoConstraints="NO" id="r9C-0B-mga">
<rect key="frame" x="48" y="277" width="65" height="17"/>
<textField horizontalHuggingPriority="750" horizontalCompressionResistancePriority="1000" translatesAutoresizingMaskIntoConstraints="NO" id="r9C-0B-mga">
<rect key="frame" x="47" y="280" width="64" height="17"/>
<animations/>
<textFieldCell key="cell" lineBreakMode="truncatingTail" sendsActionOnEndEditing="YES" alignment="right" title="Invisibles:" usesSingleLineMode="YES" id="pjW-HE-ngH">
<font key="font" metaFont="system"/>
@ -335,8 +335,8 @@
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
</textFieldCell>
</textField>
<button misplaced="YES" translatesAutoresizingMaskIntoConstraints="NO" id="221">
<rect key="frame" x="289" y="252" width="95" height="18"/>
<button translatesAutoresizingMaskIntoConstraints="NO" id="221">
<rect key="frame" x="286" y="255" width="93" height="18"/>
<animations/>
<buttonCell key="cell" type="check" title="Line Ending" bezelStyle="regularSquare" imagePosition="left" alignment="left" inset="2" id="3255">
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
@ -347,8 +347,8 @@
<binding destination="26" name="enabled" keyPath="values.showInvisibles" id="AKk-iZ-a95"/>
</connections>
</button>
<popUpButton verticalHuggingPriority="750" misplaced="YES" translatesAutoresizingMaskIntoConstraints="NO" id="224">
<rect key="frame" x="415" y="247" width="55" height="26"/>
<popUpButton verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="224">
<rect key="frame" x="411" y="250" width="55" height="26"/>
<animations/>
<popUpButtonCell key="cell" type="push" bezelStyle="rounded" alignment="left" lineBreakMode="clipping" borderStyle="borderAndBezel" inset="2" arrowPosition="arrowAtCenter" preferredEdge="maxY" id="3256">
<behavior key="behavior" lightByBackground="YES" lightByGray="YES"/>
@ -373,8 +373,8 @@
</binding>
</connections>
</popUpButton>
<popUpButton verticalHuggingPriority="750" misplaced="YES" translatesAutoresizingMaskIntoConstraints="NO" id="247">
<rect key="frame" x="415" y="224" width="55" height="26"/>
<popUpButton verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="247">
<rect key="frame" x="411" y="227" width="55" height="26"/>
<animations/>
<popUpButtonCell key="cell" type="push" bezelStyle="rounded" alignment="left" lineBreakMode="clipping" borderStyle="borderAndBezel" inset="2" arrowPosition="arrowAtCenter" preferredEdge="maxY" id="3261">
<behavior key="behavior" lightByBackground="YES" lightByGray="YES"/>
@ -399,8 +399,8 @@
</binding>
</connections>
</popUpButton>
<button misplaced="YES" translatesAutoresizingMaskIntoConstraints="NO" id="249">
<rect key="frame" x="289" y="228" width="122" height="18"/>
<button translatesAutoresizingMaskIntoConstraints="NO" id="249">
<rect key="frame" x="286" y="231" width="121" height="18"/>
<animations/>
<buttonCell key="cell" type="check" title="Fullwidth-Space" bezelStyle="regularSquare" imagePosition="left" alignment="left" inset="2" id="3262">
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
@ -411,8 +411,8 @@
<binding destination="26" name="enabled" keyPath="values.showInvisibles" id="McR-AG-7PK"/>
</connections>
</button>
<textField horizontalHuggingPriority="750" horizontalCompressionResistancePriority="1000" misplaced="YES" translatesAutoresizingMaskIntoConstraints="NO" id="VBo-Ii-1PR">
<rect key="frame" x="44" y="393" width="69" height="17"/>
<textField horizontalHuggingPriority="750" horizontalCompressionResistancePriority="1000" translatesAutoresizingMaskIntoConstraints="NO" id="VBo-Ii-1PR">
<rect key="frame" x="44" y="396" width="67" height="17"/>
<animations/>
<textFieldCell key="cell" lineBreakMode="truncatingTail" sendsActionOnEndEditing="YES" alignment="right" title="Comment:" usesSingleLineMode="YES" id="EDl-AJ-1dK">
<font key="font" metaFont="system"/>
@ -420,8 +420,8 @@
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
</textFieldCell>
</textField>
<button misplaced="YES" translatesAutoresizingMaskIntoConstraints="NO" id="aZf-lI-jGQ">
<rect key="frame" x="117" y="392" width="258" height="18"/>
<button translatesAutoresizingMaskIntoConstraints="NO" id="aZf-lI-jGQ">
<rect key="frame" x="115" y="395" width="253" height="18"/>
<animations/>
<buttonCell key="cell" type="check" title="Append a space to comment delimiter" bezelStyle="regularSquare" imagePosition="left" inset="2" id="6Dw-5M-Gv0">
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
@ -431,8 +431,8 @@
<binding destination="26" name="value" keyPath="values.appendsCommentSpacer" id="niv-UY-eBY"/>
</connections>
</button>
<button misplaced="YES" translatesAutoresizingMaskIntoConstraints="NO" id="Vf0-M7-9ji">
<rect key="frame" x="117" y="368" width="157" height="18"/>
<button translatesAutoresizingMaskIntoConstraints="NO" id="Vf0-M7-9ji">
<rect key="frame" x="115" y="371" width="155" height="18"/>
<animations/>
<buttonCell key="cell" type="check" title="Always from line head" bezelStyle="regularSquare" imagePosition="left" inset="2" id="Byi-E9-owf">
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
@ -442,8 +442,8 @@
<binding destination="26" name="value" keyPath="values.commentsAtLineHead" id="2ir-3p-UIJ"/>
</connections>
</button>
<button misplaced="YES" translatesAutoresizingMaskIntoConstraints="NO" id="1Oj-wo-mCu">
<rect key="frame" x="117" y="276" width="182" height="18"/>
<button translatesAutoresizingMaskIntoConstraints="NO" id="1Oj-wo-mCu">
<rect key="frame" x="115" y="279" width="178" height="18"/>
<animations/>
<buttonCell key="cell" type="check" title="Show invisible Characters" bezelStyle="regularSquare" imagePosition="left" state="on" inset="2" id="CyH-q4-SWY">
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
@ -464,8 +464,8 @@
<action selector="openHelpAnchor:" target="-1" id="hyu-2z-avq"/>
</connections>
</button>
<button misplaced="YES" translatesAutoresizingMaskIntoConstraints="NO" id="w2P-Vr-ZDY">
<rect key="frame" x="142" y="97" width="120" height="18"/>
<button translatesAutoresizingMaskIntoConstraints="NO" id="w2P-Vr-ZDY">
<rect key="frame" x="140" y="100" width="118" height="18"/>
<animations/>
<buttonCell key="cell" type="check" title="Standard words" bezelStyle="regularSquare" imagePosition="left" alignment="left" inset="2" id="c5j-0N-f2R">
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
@ -476,8 +476,8 @@
<binding destination="26" name="value" keyPath="values.completesStandardWords" id="kjP-Da-g0b"/>
</connections>
</button>
<textField horizontalHuggingPriority="251" verticalHuggingPriority="750" misplaced="YES" translatesAutoresizingMaskIntoConstraints="NO" id="btC-lZ-pQ7">
<rect key="frame" x="117" y="77" width="415" height="14"/>
<textField horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="btC-lZ-pQ7">
<rect key="frame" x="115" y="80" width="417" height="14"/>
<animations/>
<textFieldCell key="cell" controlSize="small" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="Completion can be performed manually with: Esc or ⌘." id="dmb-pc-4M5">
<font key="font" metaFont="smallSystem"/>
@ -488,8 +488,8 @@
<binding destination="-2" name="value" keyPath="completionHintMessage" id="XIv-Zf-aQ7"/>
</connections>
</textField>
<button misplaced="YES" translatesAutoresizingMaskIntoConstraints="NO" id="C2I-Ub-oUU">
<rect key="frame" x="117" y="51" width="227" height="18"/>
<button translatesAutoresizingMaskIntoConstraints="NO" id="C2I-Ub-oUU">
<rect key="frame" x="115" y="54" width="227" height="18"/>
<animations/>
<buttonCell key="cell" type="check" title="Suggest completions while typing" bezelStyle="regularSquare" imagePosition="left" alignment="left" inset="2" id="J1B-wA-rdr">
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
@ -499,8 +499,8 @@
<binding destination="26" name="value" keyPath="values.autoComplete" id="HrP-lE-CrB"/>
</connections>
</button>
<textField verticalHuggingPriority="750" misplaced="YES" translatesAutoresizingMaskIntoConstraints="NO" id="b55-Fo-mcA">
<rect key="frame" x="297" y="309" width="40" height="22"/>
<textField verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="b55-Fo-mcA">
<rect key="frame" x="292" y="311" width="40" height="22"/>
<constraints>
<constraint firstAttribute="width" constant="40" id="81v-gf-8xa"/>
</constraints>
@ -522,8 +522,8 @@
<binding destination="26" name="value" keyPath="values.hangingIndentWidth" id="ti9-b0-P2R"/>
</connections>
</textField>
<stepper horizontalHuggingPriority="750" verticalHuggingPriority="750" misplaced="YES" translatesAutoresizingMaskIntoConstraints="NO" id="W1V-E2-PcB">
<rect key="frame" x="338" y="306" width="19" height="27"/>
<stepper horizontalHuggingPriority="750" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="W1V-E2-PcB">
<rect key="frame" x="333" y="308" width="19" height="27"/>
<animations/>
<stepperCell key="cell" continuous="YES" alignment="left" maxValue="99" doubleValue="1" id="t0g-87-hqB"/>
<connections>
@ -531,8 +531,8 @@
<binding destination="26" name="value" keyPath="values.hangingIndentWidth" id="VHo-5F-VIh"/>
</connections>
</stepper>
<textField horizontalHuggingPriority="750" misplaced="YES" translatesAutoresizingMaskIntoConstraints="NO" id="MUG-vA-30T">
<rect key="frame" x="360" y="311" width="48" height="17"/>
<textField horizontalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="MUG-vA-30T">
<rect key="frame" x="355" y="314" width="47" height="17"/>
<animations/>
<textFieldCell key="cell" controlSize="small" lineBreakMode="truncatingTail" sendsActionOnEndEditing="YES" title="spaces" usesSingleLineMode="YES" id="P9V-pV-PAX">
<font key="font" metaFont="system"/>
@ -540,6 +540,17 @@
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
</textFieldCell>
</textField>
<button translatesAutoresizingMaskIntoConstraints="NO" id="aqi-gh-y6R">
<rect key="frame" x="115" y="429" width="273" height="18"/>
<animations/>
<buttonCell key="cell" type="check" title="Detect indent style on document opening" bezelStyle="regularSquare" imagePosition="left" alignment="left" inset="2" id="Cte-hW-0M3">
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
<font key="font" metaFont="system"/>
</buttonCell>
<connections>
<binding destination="26" name="value" keyPath="values.detectsIndentStyle" id="dPX-B0-1FV"/>
</connections>
</button>
</subviews>
<constraints>
<constraint firstAttribute="bottom" secondItem="z5v-7l-1C4" secondAttribute="bottom" constant="20" symbolic="YES" id="0Ke-Pr-SYk"/>
@ -553,11 +564,11 @@
<constraint firstItem="224" firstAttribute="baseline" secondItem="221" secondAttribute="baseline" id="6ki-ac-drF"/>
<constraint firstItem="C2I-Ub-oUU" firstAttribute="top" secondItem="btC-lZ-pQ7" secondAttribute="bottom" constant="10" id="72F-Be-lUx"/>
<constraint firstItem="221" firstAttribute="leading" secondItem="249" secondAttribute="leading" id="7h3-GD-axK"/>
<constraint firstItem="aZf-lI-jGQ" firstAttribute="top" secondItem="283" secondAttribute="bottom" constant="20" id="7ve-Dq-5V1"/>
<constraint firstItem="MUG-vA-30T" firstAttribute="leading" secondItem="W1V-E2-PcB" secondAttribute="trailing" constant="8" symbolic="YES" id="9fM-Zn-Ko0"/>
<constraint firstItem="235" firstAttribute="baseline" secondItem="221" secondAttribute="baseline" id="9lC-ZO-zFe"/>
<constraint firstItem="lO2-uf-OLD" firstAttribute="top" secondItem="Dte-ly-fKQ" secondAttribute="bottom" constant="8" symbolic="YES" id="Axl-g5-SRk"/>
<constraint firstItem="Dte-ly-fKQ" firstAttribute="leading" secondItem="btC-lZ-pQ7" secondAttribute="leading" id="CyA-0F-v2g"/>
<constraint firstItem="aqi-gh-y6R" firstAttribute="top" secondItem="283" secondAttribute="bottom" constant="8" symbolic="YES" id="Eyh-Ui-tge"/>
<constraint firstItem="W1V-E2-PcB" firstAttribute="leading" secondItem="b55-Fo-mcA" secondAttribute="trailing" constant="4" id="FBL-mn-syV"/>
<constraint firstItem="r9C-0B-mga" firstAttribute="baseline" secondItem="1Oj-wo-mCu" secondAttribute="baseline" id="FG7-G9-euH"/>
<constraint firstItem="aZf-lI-jGQ" firstAttribute="leading" secondItem="VBo-Ii-1PR" secondAttribute="trailing" constant="8" symbolic="YES" id="Fhr-la-WI5"/>
@ -570,6 +581,7 @@
<constraint firstItem="644" firstAttribute="leading" secondItem="IXD-kJ-dvh" secondAttribute="trailing" constant="8" symbolic="YES" id="Kcl-7N-AbQ"/>
<constraint firstItem="t0Y-p1-xOb" firstAttribute="leading" secondItem="w2P-Vr-ZDY" secondAttribute="leading" id="MaU-8f-QTA"/>
<constraint firstAttribute="trailing" secondItem="btC-lZ-pQ7" secondAttribute="trailing" constant="20" symbolic="YES" id="NeW-xi-Gzc"/>
<constraint firstItem="aZf-lI-jGQ" firstAttribute="top" secondItem="aqi-gh-y6R" secondAttribute="bottom" constant="20" id="NlL-bd-iyN"/>
<constraint firstItem="b55-Fo-mcA" firstAttribute="centerY" secondItem="W1V-E2-PcB" secondAttribute="centerY" id="OAk-Yg-HtI"/>
<constraint firstItem="247" firstAttribute="leading" secondItem="249" secondAttribute="trailing" constant="8" symbolic="YES" id="QB9-YF-TQu"/>
<constraint firstItem="282" firstAttribute="centerY" secondItem="iub-4d-NyY" secondAttribute="centerY" id="QWl-29-mP4"/>
@ -579,6 +591,7 @@
<constraint firstItem="644" firstAttribute="leading" secondItem="mK4-4e-plf" secondAttribute="leading" id="SSF-Ji-WPP"/>
<constraint firstItem="Dte-ly-fKQ" firstAttribute="top" secondItem="874" secondAttribute="bottom" constant="20" id="TNP-zN-r28"/>
<constraint firstItem="R0e-j3-ADv" firstAttribute="baseline" secondItem="b55-Fo-mcA" secondAttribute="baseline" id="TyB-sV-Q80"/>
<constraint firstItem="aqi-gh-y6R" firstAttribute="leading" secondItem="644" secondAttribute="leading" id="UGi-CA-dw5"/>
<constraint firstItem="209" firstAttribute="leading" secondItem="4B0-Kj-mzX" secondAttribute="trailing" constant="8" symbolic="YES" id="UcK-lH-Or0"/>
<constraint firstItem="224" firstAttribute="leading" secondItem="247" secondAttribute="leading" id="Ucv-kh-TdC"/>
<constraint firstItem="160" firstAttribute="leading" secondItem="283" secondAttribute="leading" id="VwP-1c-FdO"/>

View File

@ -49,6 +49,8 @@
"3287.title" = "Einzugsweite:";
/* Class = "NSTextFieldCell"; title = "spaces"; ObjectID = "as9-us-CuG"; */
"as9-us-CuG.title" = "Leerraum";
/* Class = "NSButtonCell"; title = "Detect indent style on document opening"; ObjectID = "Cte-hW-0M3"; */
"Cte-hW-0M3.title" = "Einzugstil beim Dokumentöffnen detektieren";
/* Class = "NSTextFieldCell"; title = "Comment:"; ObjectID = "EDl-AJ-1dK"; */

View File

@ -49,6 +49,8 @@
"3287.title" = "インデント幅:";
/* Class = "NSTextFieldCell"; title = "spaces"; ObjectID = "as9-us-CuG"; */
"as9-us-CuG.title" = "スペース";
/* Class = "NSButtonCell"; title = "Detect indent style on document opening"; ObjectID = "Cte-hW-0M3"; */
"Cte-hW-0M3.title" = "書類オープン時にインデントスタイルを推定";
/* Class = "NSTextFieldCell"; title = "Comment:"; ObjectID = "EDl-AJ-1dK"; */

View File

@ -50,6 +50,8 @@
"3287.title" = "以";
/* Class = "NSTextFieldCell"; title = "spaces"; ObjectID = "as9-us-CuG"; */
"as9-us-CuG.title" = "个空格缩进";
/* Class = "NSButtonCell"; title = "Detect indent style on document opening"; ObjectID = "Cte-hW-0M3"; */
"Cte-hW-0M3.title" = "Detect indent style on document opening"; // FIXME: added
/* Class = "NSTextFieldCell"; title = "Comment:"; ObjectID = "EDl-AJ-1dK"; */