Add description field to outline setting

This commit is contained in:
1024jp 2015-12-25 13:00:13 +09:00
parent e896de67a3
commit 471eb5b4a7
5 changed files with 94 additions and 11 deletions

View File

@ -18,6 +18,7 @@ develop
- Enable restoring modified syntax style directly from the list without opening the style editor.
- Keep text selection after inserting color code from the color code panel.
- Update default fonts.
- Add “description” field also to outline setting in syntax style editor.
- Add jump to URL button to the style info in the syntax style editor.
- Improve drawing of “Other” invisible characters.
- Improve behavior on Replace/Replace All actions.

View File

@ -66,7 +66,7 @@
</tableCellView>
</prototypeCellViews>
</tableColumn>
<tableColumn width="353" minWidth="40" maxWidth="1000" id="vRg-cd-Ib2">
<tableColumn width="253" minWidth="40" maxWidth="1000" id="vRg-cd-Ib2">
<tableHeaderCell key="headerCell" lineBreakMode="truncatingTail" borderStyle="border" alignment="left" title="Regular Expression String">
<font key="font" metaFont="smallSystem"/>
<color key="textColor" name="headerTextColor" catalog="System" colorSpace="catalog"/>
@ -80,11 +80,11 @@
<tableColumnResizingMask key="resizingMask" resizeWithTable="YES" userResizable="YES"/>
<prototypeCellViews>
<tableCellView id="MDh-Ha-Hyc">
<rect key="frame" x="31" y="1" width="353" height="17"/>
<rect key="frame" x="31" y="1" width="253" height="17"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<textField verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" translatesAutoresizingMaskIntoConstraints="NO" id="8NB-AU-ecw">
<rect key="frame" x="0.0" y="0.0" width="353" height="17"/>
<rect key="frame" x="0.0" y="0.0" width="253" height="17"/>
<textFieldCell key="cell" lineBreakMode="truncatingTail" selectable="YES" editable="YES" sendsActionOnEndEditing="YES" title="regular expression string" usesSingleLineMode="YES" id="RCz-qR-02w">
<font key="font" metaFont="system"/>
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
@ -107,6 +107,47 @@
</tableCellView>
</prototypeCellViews>
</tableColumn>
<tableColumn identifier="" width="97" minWidth="10" maxWidth="1000" id="6hB-wJ-niI">
<tableHeaderCell key="headerCell" lineBreakMode="truncatingTail" borderStyle="border" alignment="left" title="Description">
<font key="font" metaFont="smallSystem"/>
<color key="textColor" name="headerTextColor" catalog="System" colorSpace="catalog"/>
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/>
</tableHeaderCell>
<textFieldCell key="dataCell" lineBreakMode="truncatingTail" selectable="YES" editable="YES" alignment="left" title="Text Cell" id="Jyv-nG-ZJJ">
<font key="font" metaFont="system"/>
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
<color key="backgroundColor" name="controlBackgroundColor" catalog="System" colorSpace="catalog"/>
</textFieldCell>
<tableColumnResizingMask key="resizingMask" resizeWithTable="YES" userResizable="YES"/>
<prototypeCellViews>
<tableCellView id="gL1-K8-zYn">
<rect key="frame" x="287" y="1" width="97" height="17"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<textField verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" translatesAutoresizingMaskIntoConstraints="NO" id="e1M-tw-2hv">
<rect key="frame" x="0.0" y="0.0" width="97" height="17"/>
<textFieldCell key="cell" lineBreakMode="truncatingTail" selectable="YES" editable="YES" sendsActionOnEndEditing="YES" title="note" usesSingleLineMode="YES" id="NIK-yi-b5J">
<font key="font" metaFont="system"/>
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
</textFieldCell>
<connections>
<binding destination="gL1-K8-zYn" name="value" keyPath="objectValue.description" id="SUr-QK-tji"/>
</connections>
</textField>
</subviews>
<constraints>
<constraint firstItem="e1M-tw-2hv" firstAttribute="top" secondItem="gL1-K8-zYn" secondAttribute="top" id="CSA-By-AVn"/>
<constraint firstAttribute="trailing" secondItem="e1M-tw-2hv" secondAttribute="trailing" constant="2" id="RMO-NH-19F"/>
<constraint firstAttribute="bottom" secondItem="e1M-tw-2hv" secondAttribute="bottom" id="UKk-3T-Yx6"/>
<constraint firstItem="e1M-tw-2hv" firstAttribute="leading" secondItem="gL1-K8-zYn" secondAttribute="leading" constant="2" id="lVc-A6-KUt"/>
</constraints>
<connections>
<outlet property="textField" destination="e1M-tw-2hv" id="9ki-g1-z9s"/>
</connections>
</tableCellView>
</prototypeCellViews>
</tableColumn>
</tableColumns>
<connections>
<binding destination="SKZ-Xe-n9z" name="content" keyPath="arrangedObjects" id="PiP-ab-yqQ"/>
@ -267,6 +308,7 @@
<string>bold</string>
<string>underline</string>
<string>italic</string>
<string>description</string>
</declaredKeys>
<connections>
<binding destination="-2" name="contentArray" keyPath="representedObject.outlineMenu" id="i8s-Rl-rXC"/>

View File

@ -31,10 +31,14 @@
/* Class = "NSTableColumn"; headerCell.title = "Regular Expression String"; ObjectID = "vRg-cd-Ib2"; */
"vRg-cd-Ib2.headerCell.title" = "Regulärer Ausdruck";
/* Class = "NSTableColumn"; headerCell.title = "IC"; ObjectID = "1tC-mo-cEL"; */
"1tC-mo-cEL.headerCell.title" = "IC"; /* IC */
"1tC-mo-cEL.headerToolTip" = "Groß-/Kleinschreibung ignorieren"; /* Ignore Case (case-insensitive) */
/* Class = "NSTableColumn"; headerCell.title = "Description"; ObjectID = "6hB-wJ-niI"; */
"6hB-wJ-niI.headerCell.title" = "Beschreibung";
/* Class = "NSTextFieldCell"; title = "Menu title pattern (blank matches the whole string)"; ObjectID = "nnO-qN-dYF"; */
"nnO-qN-dYF.title" = "Muster des Menütitles (Leer passt die ganze Zeichenkette)";

View File

@ -1,13 +1,27 @@
/*
SyntaxOutlineEditView.strings
SyntaxOutlineEditView.strings (Japanese)
CotEditor
http://coteditor.com
Created on 2014-12-14 by 1024jp
encoding="UTF-8"
Created by 1024jp on 2014-12-14.
------------------------------------------------------------------------------
© 2014-2015 CotEditor Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
@ -16,10 +30,14 @@
/* Class = "NSTableColumn"; headerCell.title = "Regular Expression String"; ObjectID = "vRg-cd-Ib2"; */
"vRg-cd-Ib2.headerCell.title" = "正規表現";
/* Class = "NSTableColumn"; headerCell.title = "IC"; ObjectID = "1tC-mo-cEL"; */
"1tC-mo-cEL.headerCell.title" = "IC"; /* IC */
"1tC-mo-cEL.headerToolTip" = "大文字小文字を無視"; /* Ignore Case (case-insensitive) */
/* Class = "NSTableColumn"; headerCell.title = "Description"; ObjectID = "6hB-wJ-niI"; */
"6hB-wJ-niI.headerCell.title" = "説明";
/* Class = "NSTextFieldCell"; title = "Menu title pattern (blank matches the whole string)"; ObjectID = "nnO-qN-dYF"; */
"nnO-qN-dYF.title" = "メニュータイトルパターン(空白はマッチした全文字列)";

View File

@ -1,26 +1,44 @@
/*
SyntaxOutlineEditView.strings
SyntaxOutlineEditView.strings (Simplified Chinese)
CotEditor
http://coteditor.com
Created on 2014-12-14 by 1024jp
Localized by onevcat
encoding="UTF-8"
Created by 1024jp on 2014-12-14.
Localized by onevcat.
------------------------------------------------------------------------------
© 2014-2015 CotEditor Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
/* Class = "NSTextFieldCell"; title = "Regular expressions to extract outline menu items"; ObjectID = "cBA-MO-VzQ"; */
"cBA-MO-VzQ.title" = "用于提取大纲菜单项的正则表达式";
/* Class = "NSTableColumn"; headerCell.title = "Regular Expression String"; ObjectID = "vRg-cd-Ib2"; */
"vRg-cd-Ib2.headerCell.title" = "正则表达式";
/* Class = "NSTableColumn"; headerCell.title = "IC"; ObjectID = "1tC-mo-cEL"; */
"1tC-mo-cEL.headerCell.title" = "IC"; /* IC */
"1tC-mo-cEL.headerToolTip" = "忽略大小写"; /* Ignore Case (case-insensitive) */
/* Class = "NSTableColumn"; headerCell.title = "Description"; ObjectID = "6hB-wJ-niI"; */
"6hB-wJ-niI.headerCell.title" = "描述";
/* Class = "NSTextFieldCell"; title = "Menu title pattern (blank matches the whole string)"; ObjectID = "nnO-qN-dYF"; */
"nnO-qN-dYF.title" = "菜单标题样式(留空匹配整个字符串)";