4 ms·
Stratus Editor: a Node.js-powered web-based programmer's editor
- sentientwaffle 15y agoThis is my first open source project; I would appreciate any feedback.
- prophetjohn 15y agoThis looks really cool, but I've yet to figure out how to create a new file and start using it.
- sentientwaffle 15y agoThanks for checking it out! The embedded demo is only the editor component, to use files you need to install it (for security reasons). Installation instructions are at http://stratuseditor.com/manual/#Server+Installation http://stratuseditor.com/manual/#Server+Installation.
- prophetjohn 15y agoThis is what I get when I try to build it $ stratus-bundle setup /usr/local/lib/node_modules/stratus-bundle/index.js:43 for (_i = 0, _len = bundleNames.length; _i < _len; _i++) { ^ TypeError: Cannot read property 'length' of undefined at Object.oncomplete (/usr/local/lib/node_modules/stratus-bundle/index.js:43:36)
- sentientwaffle 15y agoI'm taking a look at it now; I'll reply when I push a fix.
- sentientwaffle 15y agoAlright; I just pushed a fix. Try reinstalling stratus-bundle and then try again. (The latest version is 0.0.2).
- benologist 15y agoLooks interesting. There's a bug on the editor though, if I delete or backspace some content it orphans some lines at the bottom of the file. You can see it very visibly if you scroll right down the bottom and start backspacing, it erases 2 lines above the line you're on. (Chrome 17 / OS X). Backspace is also one of the handful of reasons why I stopped using Cloud9 after playing with it a bit, if you lose connectivity right as you're pressing backspace it triggers the browser's back. Make sure the various ways you can leave that tab are protected - notification if you close it, disable back/forward.
- sentientwaffle 15y agoThanks for the feedback! I think that the backspace bug you are seeing has to do with the font load delay, because it doesn't surface when I run the server locally; I'll try and get that working. As for redirecting, this is handled in the main editor with the `redirect` option (see http://stratuseditor.com/config/#redirect http://stratuseditor.com/config/#redirect).