Changeset 2ec737f
- Timestamp:
- Sep 18, 2010, 5:07:40 PM (14 years ago)
- Branches:
- master, release-1.10, release-1.7, release-1.8, release-1.9
- Children:
- a728387
- Parents:
- 09ceee3
- git-author:
- David Benjamin <davidben@mit.edu> (08/15/10 19:28:29)
- git-committer:
- David Benjamin <davidben@mit.edu> (09/18/10 17:07:40)
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
commands.c
r09ceee3 r2ec737f 2551 2551 2552 2552 buffstart=skiptokens(buff, 1); 2553 owl_function_se arch_start(*buffstart ? buffstart : NULL, OWL_DIRECTION_NONE);2553 owl_function_set_search(*buffstart ? buffstart : NULL); 2554 2554 2555 2555 return(NULL); -
functions.c
rfc5eef4 r2ec737f 2886 2886 } 2887 2887 2888 void owl_function_search_start(const char *string, int direction) 2889 { 2890 /* direction is OWL_DIRECTION_DOWNWARDS or OWL_DIRECTION_UPWARDS or 2891 * OWL_DIRECTION_NONE */ 2888 void owl_function_set_search(const char *string) 2889 { 2892 2890 owl_regex re; 2893 2891 … … 2898 2896 owl_global_set_search_re(&g, NULL); 2899 2897 } 2900 2901 if (direction == OWL_DIRECTION_NONE) 2902 owl_mainwin_redisplay(owl_global_get_mainwin(&g)); 2903 else 2904 owl_function_search_helper(0, direction); 2898 } 2899 2900 void owl_function_search_start(const char *string, int direction) 2901 { 2902 /* direction is OWL_DIRECTION_DOWNWARDS or OWL_DIRECTION_UPWARDS */ 2903 owl_function_set_search(string); 2904 owl_function_search_helper(0, direction); 2905 2905 } 2906 2906 -
global.c
rfc5eef4 r2ec737f 659 659 if (re != NULL) 660 660 owl_regex_copy(re, &g->search_re); 661 /* TODO: Emit a signal so we don't depend on the viewwin here.*/661 /* TODO: Emit a signal so we don't depend on the viewwin and mainwin */ 662 662 if (owl_global_get_viewwin(g)) 663 663 owl_viewwin_dirty(owl_global_get_viewwin(g)); 664 owl_mainwin_redisplay(owl_global_get_mainwin(g)); 664 665 } 665 666
Note: See TracChangeset
for help on using the changeset viewer.