public class CustomStyleCodeHighlighter extends Object implements NCodeHighlighter
| Constructor and Description |
|---|
CustomStyleCodeHighlighter(NTextStyle style) |
| Modifier and Type | Method and Description |
|---|---|
String |
getId() |
int |
getSupportLevel(NSupportLevelContext context) |
NText |
stringToText(String text,
NTexts txt) |
NText |
tokenToText(String text,
String nodeType,
NTexts txt) |
public CustomStyleCodeHighlighter(NTextStyle style)
public String getId()
getId in interface NCodeHighlighterpublic NText stringToText(String text, NTexts txt)
stringToText in interface NCodeHighlighterpublic NText tokenToText(String text, String nodeType, NTexts txt)
tokenToText in interface NCodeHighlighterpublic int getSupportLevel(NSupportLevelContext context)
getSupportLevel in interface NCodeHighlightergetSupportLevel in interface NComponentCopyright © 2025 vpc open source initiative. All rights reserved.