@@ -265,6 +265,81 @@ public override void Reinitialize()
265265 }
266266
267267
268+ [ Export ( typeof ( EditorFormatDefinition ) ) ]
269+ [ ClassificationType ( ClassificationTypeNames = ClassificationIDs . ID_strikethroughEmphasisMinor ) ]
270+ [ Name ( ClassificationIDs . ID_strikethroughEmphasisMinor ) ]
271+ [ UserVisible ( true ) ]
272+ [ Order ( After = ClassificationDefinitionBase . cPriority ) ]
273+ internal sealed class StrikethroughEmphasisMinorFormat : ClassificationDefinitionBase
274+ {
275+ [ ImportingConstructor ]
276+ public StrikethroughEmphasisMinorFormat ( DefaultColors defaultColors )
277+ : base ( defaultColors , ClassificationIDs . ID_strikethroughEmphasisMinor , "VSDoxyHighlighter - Strikethrough + emphasis (minor)" )
278+ {
279+ }
280+
281+ public override void Reinitialize ( )
282+ {
283+ base . Reinitialize ( ) ;
284+
285+ TextDecorations = new TextDecorationCollection {
286+ new TextDecoration (
287+ TextDecorationLocation . Strikethrough , null , 0.0 , TextDecorationUnit . FontRecommended , TextDecorationUnit . FontRecommended )
288+ } ;
289+ }
290+ }
291+
292+
293+ [ Export ( typeof ( EditorFormatDefinition ) ) ]
294+ [ ClassificationType ( ClassificationTypeNames = ClassificationIDs . ID_strikethroughEmphasisMajor ) ]
295+ [ Name ( ClassificationIDs . ID_strikethroughEmphasisMajor ) ]
296+ [ UserVisible ( true ) ]
297+ [ Order ( After = ClassificationDefinitionBase . cPriority ) ]
298+ internal sealed class StrikethroughEmphasisMajorFormat : ClassificationDefinitionBase
299+ {
300+ [ ImportingConstructor ]
301+ public StrikethroughEmphasisMajorFormat ( DefaultColors defaultColors )
302+ : base ( defaultColors , ClassificationIDs . ID_strikethroughEmphasisMajor , "VSDoxyHighlighter - Strikethrough + emphasis (major)" )
303+ {
304+ }
305+
306+ public override void Reinitialize ( )
307+ {
308+ base . Reinitialize ( ) ;
309+
310+ TextDecorations = new TextDecorationCollection {
311+ new TextDecoration (
312+ TextDecorationLocation . Strikethrough , null , 0.0 , TextDecorationUnit . FontRecommended , TextDecorationUnit . FontRecommended )
313+ } ;
314+ }
315+ }
316+
317+
318+ [ Export ( typeof ( EditorFormatDefinition ) ) ]
319+ [ ClassificationType ( ClassificationTypeNames = ClassificationIDs . ID_strikethroughEmphasisHuge ) ]
320+ [ Name ( ClassificationIDs . ID_strikethroughEmphasisHuge ) ]
321+ [ UserVisible ( true ) ]
322+ [ Order ( After = ClassificationDefinitionBase . cPriority ) ]
323+ internal sealed class StrikethroughEmphasisHugeFormat : ClassificationDefinitionBase
324+ {
325+ [ ImportingConstructor ]
326+ public StrikethroughEmphasisHugeFormat ( DefaultColors defaultColors )
327+ : base ( defaultColors , ClassificationIDs . ID_strikethroughEmphasisHuge , "VSDoxyHighlighter - Strikethrough + emphasis (huge)" )
328+ {
329+ }
330+
331+ public override void Reinitialize ( )
332+ {
333+ base . Reinitialize ( ) ;
334+
335+ TextDecorations = new TextDecorationCollection {
336+ new TextDecoration (
337+ TextDecorationLocation . Strikethrough , null , 0.0 , TextDecorationUnit . FontRecommended , TextDecorationUnit . FontRecommended )
338+ } ;
339+ }
340+ }
341+
342+
268343 [ Export ( typeof ( EditorFormatDefinition ) ) ]
269344 [ ClassificationType ( ClassificationTypeNames = ClassificationIDs . ID_generic1 ) ]
270345 [ Name ( ClassificationIDs . ID_generic1 ) ]
@@ -394,6 +469,18 @@ internal static class CommentClassificationDefinitions
394469 [ Name ( ClassificationIDs . ID_strikethrough ) ]
395470 private static ClassificationTypeDefinition typeDefinitionForStrikethrough ;
396471
472+ [ Export ( typeof ( ClassificationTypeDefinition ) ) ]
473+ [ Name ( ClassificationIDs . ID_strikethroughEmphasisMinor ) ]
474+ private static ClassificationTypeDefinition typeDefinitionForStrikethroughEmphasisMinor ;
475+
476+ [ Export ( typeof ( ClassificationTypeDefinition ) ) ]
477+ [ Name ( ClassificationIDs . ID_strikethroughEmphasisMajor ) ]
478+ private static ClassificationTypeDefinition typeDefinitionForStrikethroughEmphasisMajor ;
479+
480+ [ Export ( typeof ( ClassificationTypeDefinition ) ) ]
481+ [ Name ( ClassificationIDs . ID_strikethroughEmphasisHuge ) ]
482+ private static ClassificationTypeDefinition typeDefinitionForStrikethroughEmphasisHuge ;
483+
397484 [ Export ( typeof ( ClassificationTypeDefinition ) ) ]
398485 [ Name ( ClassificationIDs . ID_inlineCode ) ]
399486 private static ClassificationTypeDefinition typeDefinitionForInlineCode ;
0 commit comments