diff options
author | Blaž Hrastnik | 2022-03-03 08:18:26 +0000 |
---|---|---|
committer | Blaž Hrastnik | 2022-03-03 08:18:26 +0000 |
commit | 0062af6a19d96e0a4c3f94e3e44c179230e005b9 (patch) | |
tree | a2cbea9a8bec1d0aed96c4d20e831e587e2310b8 /helix-view/src | |
parent | 737282d0e9d33923dad682994a521ac46be3c0d0 (diff) |
minor: Remove some outdated comments
Diffstat (limited to 'helix-view/src')
-rw-r--r-- | helix-view/src/tree.rs | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/helix-view/src/tree.rs b/helix-view/src/tree.rs index de5046ac..99cbe0f9 100644 --- a/helix-view/src/tree.rs +++ b/helix-view/src/tree.rs @@ -45,8 +45,6 @@ impl Node { } } -// TODO: screen coord to container + container coordinate helpers - #[derive(Debug, Clone, Copy, PartialEq, Eq)] pub enum Layout { Horizontal, @@ -515,27 +513,6 @@ impl Tree { // For now that's okay though, since it's unlikely you'll be able to open a large enough // number of splits to notice. - // current = focus - // let found = loop do { - // node = focus.parent; - // let found = node.next_sibling_of(current) - // if some { - // break found; - // } - // // else - // if node == root { - // return first child of root; - // }; - // current = parent; - // } - // } - // - // use found next sibling - // loop do { - // if found = view -> focus = found, return - // if found = container -> found = first child - // } - let mut views = self .traverse() .skip_while(|&(id, _view)| id != self.focus) |