Start with the whole buffer selected in filter mode

This commit is contained in:
Maxime Coste 2014-09-28 23:58:34 +01:00
parent 092ac8e9ab
commit 507cdd7272

View File

@ -405,7 +405,7 @@ int run_filter(StringView keystr, memoryview<StringView> files)
{
try
{
InputHandler input_handler{{ buffer, Selection{} }};
InputHandler input_handler{{ buffer, Selection{{0,0}, buffer.back_coord()} }};
for (auto& key : keys)
input_handler.handle_key(key);