1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-13 17:56:25 +00:00

Rename 'lineNumber' to 'displayLineNumbers'

This commit is contained in:
David Pavlík
2017-12-23 22:51:38 +01:00
parent 7a4258bb20
commit 1f5f6c3b0e
5 changed files with 9 additions and 11 deletions

View File

@@ -46,7 +46,7 @@ class UiTab extends React.Component {
fontFamily: this.refs.editorFontFamily.value,
indentType: this.refs.editorIndentType.value,
indentSize: this.refs.editorIndentSize.value,
lineNumber: this.refs.editorLineNumber.checked,
displayLineNumbers: this.refs.editorDisplayLineNumbers.checked,
switchPreview: this.refs.editorSwitchPreview.value,
keyMap: this.refs.editorKeyMap.value
},
@@ -226,8 +226,8 @@ class UiTab extends React.Component {
<div styleName='group-checkBoxSection'>
<label>
<input onChange={(e) => this.handleUIChange(e)}
checked={this.state.config.editor.lineNumber}
ref='editorLineNumber'
checked={this.state.config.editor.displayLineNumbers}
ref='editorDisplayLineNumbers'
type='checkbox'
/>&nbsp;
Show line numbers in the editor