diff options
| author | Maxime Coste <frrrwww@gmail.com> | 2014-03-29 08:55:45 +0000 |
|---|---|---|
| committer | Maxime Coste <frrrwww@gmail.com> | 2014-03-29 08:55:45 +0000 |
| commit | da9d099f3bdf1806b647fd8deabac60552bb04b2 (patch) | |
| tree | 1986b1e48ab3617e420b7936649d4bdbc5d907ab /src/main.cc | |
| parent | c38e14958fd53df2b697319920cd4d3c285ad372 (diff) | |
Remove Range struct, merge it back in Selection
Diffstat (limited to 'src/main.cc')
| -rw-r--r-- | src/main.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cc b/src/main.cc index 681ffb0b..1be2212b 100644 --- a/src/main.cc +++ b/src/main.cc @@ -75,7 +75,7 @@ void register_env_vars() }, { "selection", [](const String& name, const Context& context) - { const Range& sel = context.selections().main(); + { const Selection& sel = context.selections().main(); return content(context.buffer(), sel); } }, { "selections", |
