1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-12-12 08:54:00 +02:00

Desktop: Ensure tabs act like tabs and spaces act like spaces in editor. (#2508)

This commit is contained in:
mic704b 2020-02-18 10:28:55 +11:00 committed by GitHub
parent 4f8e7b0e2b
commit bdce832fee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2144,7 +2144,9 @@ class NoteTextComponent extends React.Component {
onFocus={this.aceEditor_focus}
readOnly={visiblePanes.indexOf('editor') < 0}
// Enable/Disable the autoclosing braces
setOptions={{ behavioursEnabled: Setting.value('editor.autoMatchingBraces') }}
setOptions={{
behavioursEnabled: Setting.value('editor.autoMatchingBraces'),
useSoftTabs: false }}
// Disable warning: "Automatically scrolling cursor into view after
// selection change this will be disabled in the next version set
// editor.$blockScrolling = Infinity to disable this message"