BOLE - Bruce's Own scriptable mLite Editor (https://github.com/axtens/bole)
Requires B4J and Java 8.
Uses a dynamic menu. Path to menu folder stored in BOLE.INI. JavaScript files are interpreted by Nashorn. Most scripts are placeholders except for those marked "(working)".
MENU
├───1-File
│ 1-New.js
│ 2-Open.js (working)
│ 3-Save.js
│ 4-SaveAs.js
│ 5-Close.js (working)
│ 6-Exit.js
│
├───2-Edit
│ 1-Cut.js
│ 2-Copy.js
│ 3-Paste.js
│ 4-Clear.js
│ 5-SelectAll.js (working)
│
├───3-Script
└───4-Help
1-About.js (working)
The following objects are exposed to the script engine:
MessageBox
MenuItem
MainForm
MainText
gbDirty
gsVersion
gsPath
FileControl
See https://docs.oracle.com/javase/8/javafx/api/javafx/scene/control/TextArea.html for methods and properties that can be exercised against MainText.
Edit BOLE.INI to point to where you have the menu tree stored. BOLE.INI and example tree stored in bole_bits.zip
Execute jar as
javaw -jar BOLE.jar
If anyone runs it in Mac OS X, please let me know how it performs (if it does at all.)
The menus are strangely reordered under Linux (see
)
Requires B4J and Java 8.
Uses a dynamic menu. Path to menu folder stored in BOLE.INI. JavaScript files are interpreted by Nashorn. Most scripts are placeholders except for those marked "(working)".
MENU
├───1-File
│ 1-New.js
│ 2-Open.js (working)
│ 3-Save.js
│ 4-SaveAs.js
│ 5-Close.js (working)
│ 6-Exit.js
│
├───2-Edit
│ 1-Cut.js
│ 2-Copy.js
│ 3-Paste.js
│ 4-Clear.js
│ 5-SelectAll.js (working)
│
├───3-Script
└───4-Help
1-About.js (working)
The following objects are exposed to the script engine:
MessageBox
MenuItem
MainForm
MainText
gbDirty
gsVersion
gsPath
FileControl
See https://docs.oracle.com/javase/8/javafx/api/javafx/scene/control/TextArea.html for methods and properties that can be exercised against MainText.
Edit BOLE.INI to point to where you have the menu tree stored. BOLE.INI and example tree stored in bole_bits.zip
Execute jar as
javaw -jar BOLE.jar
If anyone runs it in Mac OS X, please let me know how it performs (if it does at all.)
The menus are strangely reordered under Linux (see

