This repository has been archived on 2023-03-25. You can view files and clone it, but cannot push or open issues or pull requests.
mightyscape-1.1-deprecated/extensions/fablabchemnitz/papercraft/openjscad/node_modules/brace/test/fixtures/xml-editor.js

17 lines
417 B
JavaScript

var ace = require('../..');
require('../../mode/xml');
require('../../theme/tomorrow_night_bright');
var editor = ace.edit('xml-editor');
editor.getSession().setMode('ace/mode/xml');
editor.setTheme('ace/theme/tomorrow_night_bright');
editor.setValue([
'<root>'
, ' <some>content</some>'
, ' <with an="attribute"></with>'
, ' <invalid>tagname<>'
, '</root>'
].join('\n')
);
editor.clearSelection();