@@ -6,7 +6,6 @@ sha1 of source lint.ts facbdc305d2b5a318dbcb9bcd41f992073ecfff5 NEEDS UPDATING!!
6
6
To aid comparison to the original, this file is not auto-formatted
7
7
and we've disabled our eslint rules.
8
8
9
- // REVIEW THESE
10
9
Changes:
11
10
- The gutter markers track whether they're on a line that's currently
12
11
being edited.
@@ -72,7 +71,7 @@ export interface Diagnostic {
72
71
/// An optional array of actions that can be taken on this
73
72
/// diagnostic.
74
73
actions ?: readonly Action [ ]
75
- /// Tags control alternative presentations for diagnostics.
74
+ /// Tags control alternative presentations for diagnostics.
76
75
/// Currently supported tags are `"unnecessary"` and `"deprecated"`
77
76
/// which are formatted with opacity and strikethrough respectively.
78
77
tags ?: string [ ]
@@ -647,9 +646,9 @@ const baseTheme = EditorView.baseTheme({
647
646
".cm-lintRange-error" : { backgroundImage : underline ( "#d11" ) } ,
648
647
".cm-lintRange-warning" : { backgroundImage : underline ( "orange" ) } ,
649
648
".cm-lintRange-info" : { backgroundImage : underline ( "#999" ) } ,
650
- // Nothing for .cm-lintRange-hint, they're styled based on tags only.
651
- ".cm-lintRange-unnecessary" : { opacity : 0.5 } ,
652
- ".cm-lintRange-deprecated" : { textDecoration : "line-through" } ,
649
+ // Nothing for .cm-lintRange-hint, they're styled based on tags only.
650
+ ".cm-lintRange-unnecessary" : { opacity : 0.5 } ,
651
+ ".cm-lintRange-deprecated" : { textDecoration : "line-through" } ,
653
652
".cm-lintRange-active" : { backgroundColor : "#ffdd9980" } ,
654
653
655
654
".cm-tooltip-lint" : {
@@ -919,5 +918,5 @@ const lintGutterConfig = Facet.define<LintGutterConfig, Required<LintGutterConfi
919
918
/// each line that has diagnostics, which can be hovered over to see
920
919
/// the diagnostics.
921
920
export function lintGutter ( config : LintGutterConfig = { } ) : Extension {
922
- return [ lintGutterConfig . of ( config ) , lintGutterMarkers , lintGutterExtension , lintGutterTheme , lintGutterTooltip , editingLineState , editingLinePlugin , ]
921
+ return [ lintGutterConfig . of ( config ) , lintGutterMarkers , lintGutterExtension , lintGutterTheme , lintGutterTooltip , editingLineState , editingLinePlugin ]
923
922
}
0 commit comments