aboutsummaryrefslogtreecommitdiff
path: root/helix-term
diff options
context:
space:
mode:
Diffstat (limited to 'helix-term')
-rw-r--r--helix-term/src/editor.rs28
1 files changed, 0 insertions, 28 deletions
diff --git a/helix-term/src/editor.rs b/helix-term/src/editor.rs
index 0028521e..b7a385a1 100644
--- a/helix-term/src/editor.rs
+++ b/helix-term/src/editor.rs
@@ -426,31 +426,3 @@ impl Editor {
// TODO: scope matching: biggest union match? [string] & [html, string], [string, html] & [ string, html]
// can do this by sorting our theme matches based on array len (longest first) then stopping at the
// first rule that matches (rule.all(|scope| scopes.contains(scope)))
-//
-// let visual_x = 0;
-// let line = ?;
-// for span in spans {
-// start(scope) => scopes.push(scope)
-// span =>
-// let text = rope.slice(span.start..span.end);
-// let style = calculate_style(scopes);
-// for each grapheme in text.graphemes() {
-// // if newline += lines, continue
-//
-// if state.selection.ranges().any(|range| range.contains(char_index)) {
-// if exactly on cursor {
-// }
-// if on primary cursor? {
-// }
-// modify style temporarily
-// }
-//
-// // if in bounds
-//
-// // if tab, draw tab width
-// // draw(visual_x, line, grapheme, style)
-// // increment visual_x by grapheme_width(grapheme)
-// // increment char_index by grapheme.len_chars()
-// }
-// end => scopes.pop()
-// }