You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
417 B
16 lines
417 B
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();
|