add regex highlight
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
from typing import Optional
|
||||
from typing import Optional, List
|
||||
|
||||
from line import Line
|
||||
from highlighted_range import HighlightedRange
|
||||
@@ -8,5 +8,5 @@ class Highlight:
|
||||
def __init__(self):
|
||||
pass
|
||||
|
||||
def compute_highlight(self, line: Line) -> Optional[HighlightedRange]:
|
||||
def compute_highlight(self, line: Line) -> Optional[List[HighlightedRange]]:
|
||||
return None
|
||||
|
||||
Reference in New Issue
Block a user