lexgui 0.7.3 → 0.7.4

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/changelog.md CHANGED
@@ -2,7 +2,18 @@
2
2
 
3
3
  ## dev
4
4
 
5
- ## 0.7.3 (master)
5
+ ## 0.7.4 (master)
6
+
7
+ Added `LX.toKebabCase`.
8
+
9
+ CodeEditor:
10
+ - Added support to togge status bar items by default.
11
+ - Scopes, symbols and block comments refactor to fix instabilities.
12
+ - Improved method-calls, variable symbols detection.
13
+ - New autocomplete item icons based on Symbols.
14
+ - Minor bugs fixed.
15
+
16
+ ## 0.7.3
6
17
 
7
18
  VideoEditor:
8
19
  - Minor Controls sizes refactor.
@@ -24,6 +24,7 @@
24
24
 
25
25
  LX.CodeEditor.debugScopes = false;
26
26
  LX.CodeEditor.debugSymbols = false;
27
+ LX.CodeEditor.debugProcessedLines = false;
27
28
 
28
29
  // init library and get main area
29
30
  let area = await LX.init();
@@ -56,27 +57,36 @@
56
57
  // disableEdition: true,
57
58
  // skipInfo: true,
58
59
  fileExplorer: fileExplorer,
59
- // skipTabs: true
60
+ // statusShowFontSizeZoom: false,
61
+ // skipTabs: true,
62
+ files: [
63
+ "../data/js_sample.js",
64
+ "../data/ts_sample.ts",
65
+ "../data/json_sample.json",
66
+ "../data/css_sample.css",
67
+ "../data/cpp_sample.cpp",
68
+ "../data/cpp_header_sample.hpp",
69
+ "../data/c_sample.c",
70
+ "../data/xml_sample.xml",
71
+ "../data/python_sample.py",
72
+ "../data/rust_sample.rs",
73
+ "../data/php_sample.php",
74
+ "../data/localhost.bat",
75
+ "../data/frag.wgsl",
76
+ "../changelog.md",
77
+ "../index.html",
78
+ ],
79
+ onFilesLoaded: ( instance, numFilesLoaded ) => {
80
+ console.log( `CodeEditor: ${ numFilesLoaded } files loaded!` );
81
+ instance.loadTab("js_sample.js");
82
+ }
60
83
  });
61
84
 
62
- editor.loadFile("../data/js_sample.js");
63
- editor.loadFile("../data/ts_sample.ts");
64
- editor.loadFile("../data/json_sample.json");
65
- editor.loadFile("../data/css_sample.css");
66
- editor.loadFile("../data/cpp_sample.cpp");
67
- editor.loadFile("../data/cpp_header_sample.hpp");
68
- editor.loadFile("../data/c_sample.c");
69
- editor.loadFile("../data/xml_sample.xml");
70
- editor.loadFile("../data/python_sample.py");
71
- editor.loadFile("../data/rust_sample.rs");
72
- editor.loadFile("../data/animation.bml", { language: "JSON" });
73
- editor.loadFile("../data/CMakeLists.txt", { language: "CMake" });
74
- editor.loadFile("../data/php_sample.php");
75
- editor.loadFile("../data/localhost.bat");
76
- editor.loadFile("../changelog.md");
77
- editor.loadFile("../index.html");
78
-
79
- if (!fileExplorer) {
85
+ // editor.loadFile("../data/animation.bml", { language: "JSON" });
86
+ // editor.loadFile("../data/CMakeLists.txt", { language: "CMake" });
87
+
88
+ if( !fileExplorer )
89
+ {
80
90
  var ctx = canvas.getContext("2d");
81
91
  ctx.fillStyle = "#b7a9b1";
82
92
  ctx.font = "48px Monospace";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lexgui",
3
- "version": "0.7.3",
3
+ "version": "0.7.4",
4
4
  "description": "JS library to create web graphical user interfaces",
5
5
  "type": "module",
6
6
  "main": "./build/lexgui.js",