lexgui 8.4.0 → 8.4.1
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.
- package/build/components/BaseComponent.d.ts +77 -77
- package/build/components/Empty.d.ts +8 -8
- package/build/core/Namespace.js +34 -34
- package/build/core/Namespace.js.map +1 -1
- package/build/core/Panel.d.ts +545 -545
- package/build/extensions/AssetView.d.ts +139 -139
- package/build/extensions/AssetView.js +1451 -1451
- package/build/extensions/CodeEditor.d.ts +530 -528
- package/build/extensions/CodeEditor.js +5069 -5052
- package/build/extensions/CodeEditor.js.map +1 -1
- package/build/lexgui.all.js +29315 -29298
- package/build/lexgui.all.js.map +1 -1
- package/build/lexgui.all.min.js +1 -1
- package/build/lexgui.all.module.js +29240 -29223
- package/build/lexgui.all.module.js.map +1 -1
- package/build/lexgui.all.module.min.js +1 -1
- package/build/lexgui.css +7634 -7631
- package/build/lexgui.js +19396 -19379
- package/build/lexgui.js.map +1 -1
- package/build/lexgui.min.css +1 -1
- package/build/lexgui.min.js +1 -1
- package/build/lexgui.module.js +19335 -19318
- package/build/lexgui.module.js.map +1 -1
- package/build/lexgui.module.min.js +1 -1
- package/changelog.md +8 -1
- package/examples/code-editor.html +8 -0
- package/package.json +1 -1
package/changelog.md
CHANGED
|
@@ -2,7 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
## dev
|
|
4
4
|
|
|
5
|
-
## 8.4.
|
|
5
|
+
## 8.4.1 (master)
|
|
6
|
+
|
|
7
|
+
CodeEditor:
|
|
8
|
+
- Added `cursorOffset` and `selectLength` options for custom suggestion items.
|
|
9
|
+
- Fixed autocomplete suggestions detail field.
|
|
10
|
+
- Function/Constructor call symbols are now removed from suggestions.
|
|
11
|
+
|
|
12
|
+
## 8.4.0
|
|
6
13
|
|
|
7
14
|
Added new Empty Component to display empty states.
|
|
8
15
|
Added `BaseComponent.setDisabled` for all interactive components.
|
|
@@ -93,6 +93,14 @@
|
|
|
93
93
|
{ path: "Custom Action", callback: () => console.log( content ) }
|
|
94
94
|
];
|
|
95
95
|
},
|
|
96
|
+
customSuggestions: [
|
|
97
|
+
{
|
|
98
|
+
label: 'setTimeout',
|
|
99
|
+
insertText: 'setTimeout(callback, delay)',
|
|
100
|
+
cursorOffset: 11, // lands just after '('
|
|
101
|
+
selectLength: 8 // selects 'callback'
|
|
102
|
+
}
|
|
103
|
+
]
|
|
96
104
|
});
|
|
97
105
|
|
|
98
106
|
editor.setText(`// Example TypeScript file for syntax highlighting
|