incremental search and filter reintegrated!

This commit is contained in:
Hisham Muhammad
2015-03-23 17:04:53 -03:00
parent d0c72c3fb2
commit ade7993fcb
10 changed files with 63 additions and 43 deletions

View File

@ -198,7 +198,7 @@ void OpenFilesScreen_run(OpenFilesScreen* this) {
Panel_setSelected(panel, mevent.y - panel->y + panel->scrollV);
ch = 0;
} if (mevent.y == LINES - 1)
ch = FunctionBar_synthesizeEvent(inc->bar, mevent.x);
ch = IncSet_synthesizeEvent(inc, mevent.x);
}
if (inc->active) {
@ -211,11 +211,11 @@ void OpenFilesScreen_run(OpenFilesScreen* this) {
continue;
case KEY_F(3):
case '/':
IncSet_activate(inc, INC_SEARCH);
IncSet_activate(inc, INC_SEARCH, panel);
break;
case KEY_F(4):
case '\\':
IncSet_activate(inc, INC_FILTER);
IncSet_activate(inc, INC_FILTER, panel);
break;
case KEY_F(5):
clear();