SYMBOL INDEX (129 symbols across 27 files) FILE: pathfinder/client/autorun.py function choose_action (line 6) | def choose_action(start_state, current_state, update_time): FILE: pathfinder/client/client.py class Client (line 11) | class Client: method __init__ (line 23) | def __init__(self): method open (line 26) | def open(self): method _build_server_cmd (line 40) | def _build_server_cmd(self): method close (line 69) | def close(self): method poll_responses (line 78) | def poll_responses(self): method connect (line 93) | def connect(self): method handle_response (line 123) | def handle_response(self, response_type, data): method pathfind (line 141) | def pathfind(self, buffer_contents, start_view, target_view, callback): FILE: pathfinder/client/explore_lines.py function get_explore_lines (line 4) | def get_explore_lines(search_area_lines): function get_line_limits (line 30) | def get_line_limits(start_view, target_view): FILE: pathfinder/client/output.py function strtrans (line 10) | def strtrans(string): function get_count (line 16) | def get_count(motion, count): function compact_motions (line 30) | def compact_motions(motions): function get_description (line 44) | def get_description(motion, repetitions): function explained_motions (line 52) | def explained_motions(motions): FILE: pathfinder/client/plugin.py class Plugin (line 13) | class Plugin: method __init__ (line 14) | def __init__(self): method _run (line 19) | def _run(self): method popup (line 28) | def popup(self, motions): method autorun (line 32) | def autorun(self): method command_begin (line 42) | def command_begin(self): method command_run (line 46) | def command_run(self): method command_explain (line 58) | def command_explain(self): method stop (line 67) | def stop(self): FILE: pathfinder/client/popup.py function _neovim_popup (line 6) | def _neovim_popup(text, line_offset): function _vim_popup (line 34) | def _vim_popup(text, line_offset): function open_popup (line 50) | def open_popup(text): FILE: pathfinder/client/state_tracker.py class StateTracker (line 11) | class StateTracker: method __init__ (line 12) | def __init__(self): method _set_update_time (line 15) | def _set_update_time(self): method _record_state (line 18) | def _record_state(self): method reset (line 27) | def reset(self): method _reset (line 31) | def _reset(self, new_state): method set_target (line 36) | def set_target(self): method _set_target (line 40) | def _set_target(self, new_state): method choose_action_using (line 45) | def choose_action_using(self, function): FILE: pathfinder/debytes.py function debytes (line 1) | def debytes(string): FILE: pathfinder/server/dijkstra.py class Dijkstra (line 9) | class Dijkstra: method __init__ (line 19) | def __init__(self, from_view, target_view, min_line, max_line): method find_path (line 39) | def find_path(self, client_connection): FILE: pathfinder/server/motions/__init__.py class MotionGenerator (line 11) | class MotionGenerator(abc.ABC): method __init__ (line 12) | def __init__(self, dijkstra): method generate (line 16) | def generate(self, view): method _create_node (line 20) | def _create_node(self, *args, **kwargs): FILE: pathfinder/server/motions/find.py class FindMotionGenerator (line 6) | class FindMotionGenerator(MotionGenerator): method generate (line 9) | def generate(self, view): method _find (line 13) | def _find(self, view, motion): FILE: pathfinder/server/motions/search.py class SearchMotionGenerator (line 8) | class SearchMotionGenerator(MotionGenerator): method generate (line 9) | def generate(self, view): method _create_motion (line 24) | def _create_motion(self, search_query, motion="/"): method _escape_magic (line 27) | def _escape_magic(self, search_query): method _search (line 33) | def _search(self, text, start, target): method _search_lines (line 64) | def _search_lines(self, lines, start_line, start_col, target_line, tar... FILE: pathfinder/server/motions/simple.py class SimpleMotionGenerator (line 7) | class SimpleMotionGenerator(MotionGenerator): method generate (line 67) | def generate(self, view): method _try_motion (line 73) | def _try_motion(self, view, motion): FILE: pathfinder/server/node.py class Node (line 4) | class Node: method __init__ (line 7) | def __init__(self, dijkstra, view, came_by_motion): method get_neighbours (line 17) | def get_neighbours(self): method motion_weight (line 27) | def motion_weight(self, motion): method set_came_from (line 45) | def set_came_from(self, node): method is_target (line 54) | def is_target(self): method reconstruct_path (line 57) | def reconstruct_path(self): FILE: pathfinder/server/server.py class Server (line 10) | class Server: method __init__ (line 24) | def __init__(self, file_path): method run (line 27) | def run(self): method message_loop (line 41) | def message_loop(self): method do_action (line 63) | def do_action(self, data): method pathfind (line 83) | def pathfind(self): FILE: pathfinder/window.py function winsaveview (line 8) | def winsaveview(): function winrestview (line 14) | def winrestview(view): function cursor_in_same_position (line 19) | def cursor_in_same_position(a, b): FILE: tests/test_autorun.py function default_state (line 12) | def default_state(): function test_choose_action_new_window (line 16) | def test_choose_action_new_window(default_state): function test_choose_action_non_motion_mode (line 28) | def test_choose_action_non_motion_mode(default_state): function test_choose_action_changed_mode (line 40) | def test_choose_action_changed_mode(default_state): function test_choose_action_changed_lines (line 52) | def test_choose_action_changed_lines(default_state): function test_choose_action_cursor_idle (line 64) | def test_choose_action_cursor_idle(default_state): function test_choose_action_set_target (line 76) | def test_choose_action_set_target(default_state): function test_choose_action_do_nothing (line 88) | def test_choose_action_do_nothing(default_state): FILE: tests/test_debytes.py function test_debytes_bytes (line 4) | def test_debytes_bytes(): function test_debytes_str (line 8) | def test_debytes_str(): FILE: tests/test_explore_lines.py function test_get_explore_lines (line 7) | def test_get_explore_lines(): function test_get_explore_lines_max_0 (line 15) | def test_get_explore_lines_max_0(): function test_get_explore_lines_scale_0 (line 23) | def test_get_explore_lines_scale_0(): function test_get_line_limits (line 32) | def test_get_line_limits(mock_get_explore_lines): function test_get_line_limits_with_explore (line 42) | def test_get_line_limits_with_explore(mock_get_explore_lines): FILE: tests/test_motions_find.py function test_find_f (line 12) | def test_find_f(): function test_find_f_final_column (line 24) | def test_find_f_final_column(): function test_find_t (line 32) | def test_find_t(): function test_find_t_penultimate_column (line 43) | def test_find_t_penultimate_column(): function test_find_F (line 51) | def test_find_F(): function test_find_F_first_column (line 63) | def test_find_F_first_column(): function test_find_T (line 71) | def test_find_T(): function test_find_T_second_column (line 82) | def test_find_T_second_column(): FILE: tests/test_motions_search.py function test_escape_magic (line 7) | def test_escape_magic(): function test_search_finds_shortest_possible_query (line 14) | def test_search_finds_shortest_possible_query(): function test_search_when_target_is_before_start (line 20) | def test_search_when_target_is_before_start(): function test_search_lines_calls_search_correctly (line 27) | def test_search_lines_calls_search_correctly(mock_search): FILE: tests/test_motions_simple.py function test_try_motion (line 13) | def test_try_motion(winrestview, winsaveview, command): function test_try_motion_when_motion_raises_exception (line 24) | def test_try_motion_when_motion_raises_exception(winrestview, winsavevie... function test_generate (line 34) | def test_generate(try_motion, create_node): function test_generate_when_try_motion_returns_none (line 45) | def test_generate_when_try_motion_returns_none(try_motion, create_node): function test_generate_when_try_motion_returns_same_as_input (line 56) | def test_generate_when_try_motion_returns_same_as_input(try_motion, crea... FILE: tests/test_node.py function test_reconstruct_path (line 9) | def test_reconstruct_path(): function test_set_came_from_same_motion (line 26) | def test_set_came_from_same_motion(): function test_set_came_from_different_motion (line 34) | def test_set_came_from_different_motion(): function test_motion_weight_same_motion (line 47) | def test_motion_weight_same_motion(repetitions, expected): function test_motion_weight_different_motion (line 58) | def test_motion_weight_different_motion(motion, expected): FILE: tests/test_output.py function test_get_count (line 19) | def test_get_count(motion, count, expected): function test_compact_motions (line 25) | def test_compact_motions(): function test_explained_motions (line 32) | def test_explained_motions(): FILE: tests/test_popup.py function test_open_popup_neovim (line 16) | def test_open_popup_neovim(vim_eval, neovim_popup, vim_popup): function test_open_popup_vim (line 33) | def test_open_popup_vim(vim_eval, neovim_popup, vim_popup): function test_open_popup_echo (line 50) | def test_open_popup_echo(vim_eval, neovim_popup, vim_popup): function test_vim_popup (line 57) | def test_vim_popup(): function test_neovim_popup (line 87) | def test_neovim_popup(create_buf, buf_set_lines, open_win, win_set_optio... FILE: tests/test_state_tracker.py function tracker (line 9) | def tracker(): function test_reset (line 18) | def test_reset(tracker): function test_set_new_target (line 33) | def test_set_new_target(tracker): function test_set_same_target (line 48) | def test_set_same_target(tracker): function test_choose_action_reset (line 63) | def test_choose_action_reset(tracker): function test_choose_action_set_target (line 83) | def test_choose_action_set_target(tracker): function test_choose_action_other (line 103) | def test_choose_action_other(tracker): FILE: tests/test_window.py function test_winsaveview (line 22) | def test_winsaveview(vim_eval): function test_winrestview (line 28) | def test_winrestview(vim_eval): function test_cursor_in_same_position (line 43) | def test_cursor_in_same_position(view_a, view_b, expected):