@neo4j-cypher/react-codemirror 1.0.0-next.4 → 1.0.0-next.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -87,6 +87,7 @@ class CypherEditor extends Component {
87
87
  autocompleteTriggerStrings,
88
88
  autofocus,
89
89
  history,
90
+ indentWithTab,
90
91
  lineNumberFormatter,
91
92
  lineNumbers,
92
93
  lineWrapping,
@@ -111,6 +112,7 @@ class CypherEditor extends Component {
111
112
  autocompleteTriggerStrings,
112
113
  autofocus,
113
114
  history,
115
+ indentWithTab,
114
116
  lineNumberFormatter,
115
117
  lineNumbers,
116
118
  lineWrapping,
@@ -96,6 +96,7 @@ class CypherEditor extends _react.Component {
96
96
  autocompleteTriggerStrings,
97
97
  autofocus,
98
98
  history,
99
+ indentWithTab,
99
100
  lineNumberFormatter,
100
101
  lineNumbers,
101
102
  lineWrapping,
@@ -120,6 +121,7 @@ class CypherEditor extends _react.Component {
120
121
  autocompleteTriggerStrings,
121
122
  autofocus,
122
123
  history,
124
+ indentWithTab,
123
125
  lineNumberFormatter,
124
126
  lineNumbers,
125
127
  lineWrapping,
package/package.json CHANGED
@@ -7,7 +7,7 @@
7
7
  "codemirror",
8
8
  "codemirror 6"
9
9
  ],
10
- "version": "1.0.0-next.4",
10
+ "version": "1.0.0-next.6",
11
11
  "author": "Neo4j Inc.",
12
12
  "license": "GPL-3.0",
13
13
  "main": "./lib/react-codemirror.js",
@@ -38,7 +38,7 @@
38
38
  },
39
39
  "dependencies": {
40
40
  "@babel/runtime": "^7.20.6",
41
- "@neo4j-cypher/codemirror": "1.0.0-next.3",
41
+ "@neo4j-cypher/codemirror": "1.0.0-next.5",
42
42
  "codemirror": "^6.0.1"
43
43
  },
44
44
  "peerDependencies": {
@@ -66,6 +66,12 @@ export interface CypherEditorProps {
66
66
  * @defaultValue true
67
67
  */
68
68
  history?: boolean;
69
+ /**
70
+ * Whether pressing the tab key affects editor indentation
71
+ *
72
+ * @defaultValue true
73
+ */
74
+ indentWithTab?: boolean;
69
75
  /**
70
76
  * The formatter for the line numbers of the editor
71
77
  *