lexgui 0.7.1 → 0.7.2
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/extensions/codeeditor.js +483 -330
- package/build/extensions/videoeditor.js +4 -1
- package/build/lexgui.css +16 -21
- package/build/lexgui.js +10 -12
- package/build/lexgui.min.css +2 -2
- package/build/lexgui.min.js +1 -1
- package/build/lexgui.module.js +10 -12
- package/build/lexgui.module.min.js +1 -1
- package/changelog.md +17 -1
- package/examples/code-editor.html +7 -2
- package/package.json +1 -1
package/changelog.md
CHANGED
|
@@ -2,7 +2,23 @@
|
|
|
2
2
|
|
|
3
3
|
## dev
|
|
4
4
|
|
|
5
|
-
## 0.7.
|
|
5
|
+
## 0.7.2 (master)
|
|
6
|
+
|
|
7
|
+
Fixed AssetView Filter select.
|
|
8
|
+
Fixed tooltips on Dialog without modal.
|
|
9
|
+
Exposed LX.Timebar in VideoEditor extension.
|
|
10
|
+
|
|
11
|
+
CodeEditor:
|
|
12
|
+
- Fixed Ctrl+Wheel to modify font size.
|
|
13
|
+
- Added ZoomIn/ZoomOut buttons to Info Panel to modify font size.
|
|
14
|
+
- Selected Font size now persists locally using `localStorage`.
|
|
15
|
+
- Support for showing/hiding status bar elements.
|
|
16
|
+
- Improved syntax highlighting consistency using new HightlightRules.
|
|
17
|
+
- Added support for PHP and TypeScript highlighting.
|
|
18
|
+
- Started work on scope detection (enums, structs, methods, classes, etc.) for syntax highlighting.
|
|
19
|
+
- Added support for adding new custom language.
|
|
20
|
+
|
|
21
|
+
## 0.7.1
|
|
6
22
|
|
|
7
23
|
Added support for selecting custom Min, Max range in RangeInput component.
|
|
8
24
|
Added value labels to RangeInput component.
|
|
@@ -27,8 +27,9 @@
|
|
|
27
27
|
|
|
28
28
|
const fileExplorer = true;
|
|
29
29
|
|
|
30
|
-
if
|
|
31
|
-
|
|
30
|
+
if( !fileExplorer )
|
|
31
|
+
{
|
|
32
|
+
var [ leftArea, rightArea ] = area.split({ sizes: ["55%", "45%"] });
|
|
32
33
|
|
|
33
34
|
var canvas = document.createElement('canvas');
|
|
34
35
|
canvas.id = "mycanvas";
|
|
@@ -50,10 +51,12 @@
|
|
|
50
51
|
// allowAddScripts: false,
|
|
51
52
|
// autocomplete: false,
|
|
52
53
|
// disableEdition: true,
|
|
54
|
+
// skipInfo: true,
|
|
53
55
|
fileExplorer: fileExplorer
|
|
54
56
|
});
|
|
55
57
|
|
|
56
58
|
editor.loadFile("../data/js_sample.js");
|
|
59
|
+
editor.loadFile("../data/ts_sample.ts");
|
|
57
60
|
editor.loadFile("../data/json_sample.json");
|
|
58
61
|
editor.loadFile("../data/css_sample.css");
|
|
59
62
|
editor.loadFile("../data/cpp_sample.cpp");
|
|
@@ -64,7 +67,9 @@
|
|
|
64
67
|
editor.loadFile("../data/rust_sample.rs");
|
|
65
68
|
editor.loadFile("../data/animation.bml", { language: "JSON" });
|
|
66
69
|
editor.loadFile("../data/CMakeLists.txt", { language: "CMake" });
|
|
70
|
+
editor.loadFile("../data/php_sample.php");
|
|
67
71
|
editor.loadFile("../data/localhost.bat");
|
|
72
|
+
editor.loadFile("../changelog.md");
|
|
68
73
|
editor.loadFile("../index.html");
|
|
69
74
|
|
|
70
75
|
if (!fileExplorer) {
|