fix(editor): hide UTF-8 BOM and lighten replace buttons
This commit is contained in:
@@ -708,6 +708,9 @@
|
||||
indentUnit: 2,
|
||||
tabSize: 2,
|
||||
indentWithTabs: false,
|
||||
// Keep the file's UTF-8 BOM invisible: CM otherwise draws it as a
|
||||
// red special-character dot. The value still round-trips on save.
|
||||
specialChars: /[\u0000-\u001f\u007f-\u009f\u00ad\u061c\u200b\u200e\u200f\u2028\u2029\u202d\u202e\u2066\u2067\u2069\ufff9-\ufffc]/g,
|
||||
viewportMargin: 10,
|
||||
extraKeys: {
|
||||
'Tab': function(instance) {
|
||||
|
||||
Reference in New Issue
Block a user