Use NumberTextField for line numbers in find result table

This commit is contained in:
1024jp 2019-03-22 14:40:49 +09:00
parent 2a105405ef
commit cd2f20c09c
2 changed files with 6 additions and 1 deletions

View File

@ -5,6 +5,11 @@ Change Log
3.7.2 (unreleased)
--------------------------
### Improvements
- Use monospace numbers for line numbers in Find All result table.
### Fixes
- Fix an issue where the Go to Line command did not jump to the input number of line when performed by clicking “Go” button.

View File

@ -407,7 +407,7 @@
<rect key="frame" x="1" y="1" width="42" height="14"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<textField verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" translatesAutoresizingMaskIntoConstraints="NO" id="rO3-nU-MWf">
<textField verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" translatesAutoresizingMaskIntoConstraints="NO" id="rO3-nU-MWf" customClass="NumberTextField" customModule="CotEditor" customModuleProvider="target">
<rect key="frame" x="0.0" y="0.0" width="42" height="14"/>
<textFieldCell key="cell" controlSize="small" lineBreakMode="truncatingTail" selectable="YES" sendsActionOnEndEditing="YES" alignment="right" title="16" usesSingleLineMode="YES" id="8w9-f5-haz">
<font key="font" metaFont="smallSystem"/>