Python REPL: support functions with blank lines
Preview, Navigator: fix bug with incorrect enabled state
Search: fix ctrl-backspace test on Linux