aboutsummaryrefslogtreecommitdiff
path: root/helix-view/src/macros.rs
Commit message (Collapse)AuthorAge
* Replace `Editor::current` by a macroBenoƮt CORTIER2021-06-18
This is necessary to workaround ownership issues across function calls. The issue notably arised when implementing the registers into `Editor` and I was getting annoyed again when implementing copy/pasting into system clipboard. The problem is addressed by using macro calls instead of function calls. There is no notable side effect.