lexgui 0.7.6 → 0.7.7

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,34 @@
2
2
 
3
3
  ## dev
4
4
 
5
- ## 0.7.6 (master)
5
+ ## 0.7.7 (master)
6
+
7
+ Fixed RangeInput double-slider issue where the min slider could go past the max slider.
8
+ Fixed legacy ContextMenu reposition bug.
9
+ Fixed contents not being displayed correctly in AssetView.
10
+
11
+ CodeEditor:
12
+ - Passing `indexOffset` in onCreateFile callback is now supported.
13
+ - Added support for:
14
+ - `options.allowClosingTabs` and `options.allowLoadingFiles`.
15
+ - `options.onCtrlSpace` and `options.onCreateStatusPanel`.
16
+ - `options.customSuggestions` list for autocomplete.
17
+ - `options.defaultTab` to decide wheter add default tab at initialization.
18
+ - `options.newTabOptions` array to use a custom Dropdown on click "New tab +" button.
19
+ - `options.onNewTab` function to skip default action on click "New tab +" button.
20
+ - `options.onContextMenu` function to add custom actions on opening CM at any content.
21
+ - Set new args for: `options.onFilesLoaded( editorInstance, loadedTabs, numFilesLoaded )`.
22
+ - Delete word until cursor position is now Ctrl+Backspace instead of Shift+Backspace.
23
+ - `CodeEditor.addTab` now supports passing `options.codeLines` to start with some content.
24
+ - Fixed some comment lines issues. Added Comment block using Ctrl+K+B.
25
+ - Fixed horizontal scrolling in mobile devices.
26
+ - Fixed "End" action on Apple devices.
27
+ - Docs updated.
28
+
29
+ Timeline:
30
+ - Added setScroll function.
31
+
32
+ ## 0.7.6
6
33
 
7
34
  The last color scheme applied (dark|light) is now stored.
8
35
  Added `LX.setSystemTheme()` to revert back auto color scheme mode.
@@ -77,7 +77,7 @@
77
77
  "../changelog.md",
78
78
  "../index.html",
79
79
  ],
80
- onFilesLoaded: ( instance, numFilesLoaded ) => {
80
+ onFilesLoaded: ( instance, loadedTabs, numFilesLoaded ) => {
81
81
  console.log( `CodeEditor: ${ numFilesLoaded } files loaded!` );
82
82
  instance.loadTab("js_sample.js");
83
83
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lexgui",
3
- "version": "0.7.6",
3
+ "version": "0.7.7",
4
4
  "description": "JS library to create web graphical user interfaces",
5
5
  "type": "module",
6
6
  "main": "./build/lexgui.js",