summaryrefslogtreecommitdiff
path: root/helix-view/src/macros.rs
Commit message (Collapse)AuthorAge
* Document macros (#693)oberblastmeister2021-09-05
| | | | | | | | | | | | | | | * add docs * clean up * remove * more * Update helix-view/src/macros.rs Co-authored-by: Ivan Tham <pickfire@riseup.net> Co-authored-by: Ivan Tham <pickfire@riseup.net>
* 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.