/dports/sysutils/fselect/fselect-0.7.7/cargo-crates/rustyline-9.0.0/src/ |
H A D | history.rs | 34 pub pos: usize, field 705 assert_eq!(None, history.search("", 0, SearchDirection::Forward)); 706 assert_eq!(None, history.search("none", 0, SearchDirection::Forward)); 707 assert_eq!(None, history.search("line", 3, SearchDirection::Forward)); 715 history.search("line", 0, SearchDirection::Forward) 723 history.search("line", 1, SearchDirection::Forward) 731 history.search("line3", 1, SearchDirection::Forward) 738 assert_eq!(None, history.search("", 2, SearchDirection::Reverse)); 748 history.search("line", 2, SearchDirection::Reverse) 756 history.search("line", 1, SearchDirection::Reverse) [all …]
|
/dports/lang/mono/mono-5.10.1.57/mcs/tools/csharp/ |
H A D | getline.cs | 102 string search; field in Mono.Terminal.LineEditor 859 string k = text.ToString (pos, cursor-pos); in CmdDeleteBackword() 866 text.Remove (pos, cursor-pos); in CmdDeleteBackword() 981 string s = history.SearchBackward (search); in ReverseSearch() 993 last_search = search; in CmdReverseSearch() 995 search = ""; in CmdReverseSearch() 998 if (search == ""){ in CmdReverseSearch() 1000 search = last_search; in CmdReverseSearch() 1013 search = search + c; in SearchAppend() 1014 SetSearchPrompt (search); in SearchAppend() [all …]
|
/dports/games/flightgear-data/fgdata/Nasal/ |
H A D | prop_key_handler.nas | 7 # complete property path elements if possible), or a search string ... 139 search(props.globals, text); 250 if ((var pos = find("=", expr)) >= 0) { 251 path = substr(expr, 0, pos); 252 value = substr(expr, pos + 1); 257 while ((var pos = find("/", path, last + 1)) > 0) 258 last = pos; 262 if ((var pos = find("[", name)) >= 0) 263 name = substr(name, 0, pos); 345 var search = func(n, s) { [all …]
|
/dports/misc/tudu/tudu-0.10.3/src/ |
H A D | editor.cc | 296 wstring pos; in tab() local 298 pos = text.substr(j); in tab() 308 search++; in tab() 312 text = pre + *search + pos; in tab() 317 text = pre + cat.substr(0, length) + pos; in tab() 333 text = pre + *search + pos; in tab() 346 shown = history.begin(); in initialize() 352 if (shown != history.end()) in up() 362 if (shown != history.begin()) in down() 373 history.push_front(text); in enter() [all …]
|
/dports/devel/websvn/websvn-2.6.1/ |
H A D | log.php | 44 $search = trim(@$_REQUEST['search']); variable 45 $dosearch = strlen($search) > 0; 47 $words = preg_split('#\s+#', $search); 56 if ($search == '') 107 if (!$history) 118 $youngest = ($history && isset($history->entries[0])) ? $history->entries[0]->rev : 0; 162 if ($history && isset($history->entries[0])) 259 if ($history) 375 $pos = strrpos($rpath, '/'); variable 376 $parent = substr($rpath, 0, $pos + 1); [all …]
|
/dports/lang/gforth/gforth-0.7.3/ |
H A D | history.fs | 93 : hist-pos ( -- ud ) history file-position drop ( throw ) ; 103 hist-pos forward^ 2! 123 hist-pos 2dup backward^ 2! end^ 2! 155 : search-voc ( addr len nfa1 nfa2 -- addr len nfa3 ) 190 : search-prefix ( addr1 len1 -- addr2 len2 ) 193 IF I cell+ @ wordlist-id @ swap search-voc THEN 197 : tib-full? ( max span addr pos addr' len' -- max span addr pos addr1 u flag ) 290 hist-pos 2dup backward^ 2! end^ 2! 305 search-prefix tib-full? 320 ['] xfirst-pos ctrl A bindkey [all …]
|
/dports/finance/sql-ledger/sql-ledger/locale/caen/ |
H A D | ct | 33 'history' => 'history', 46 'pos' => 'pos', 61 'search' => 'search',
|
/dports/devel/zpu-binutils/zpu-toolchain-1.0/toolchain/gdb/readline/doc/ |
H A D | hstech.texinfo | 131 * Searching the History List:: Functions to search the history list 242 @deftypefun int history_set_pos (int pos) 243 Set the current history offset to @var{pos}, an absolute index 245 Returns 1 on success, 0 if @var{pos} is less than zero or greater 267 from the current history position. The search may be @dfn{anchored}, 269 @cindex anchored search 292 @deftypefun int history_search_pos (const char *string, int direction, int pos) 293 Search for @var{string} in the history list, starting at @var{pos}, an 295 proceeds backward from @var{pos}, otherwise forward. Returns the absolute 437 The list of additional characters which can delimit a history search [all …]
|
/dports/cad/magic/magic-8.3.245/readline/readline-4.3/doc/ |
H A D | hstech.texinfo | 131 * Searching the History List:: Functions to search the history list 242 @deftypefun int history_set_pos (int pos) 243 Set the current history offset to @var{pos}, an absolute index 245 Returns 1 on success, 0 if @var{pos} is less than zero or greater 267 from the current history position. The search may be @dfn{anchored}, 269 @cindex anchored search 292 @deftypefun int history_search_pos (const char *string, int direction, int pos) 293 Search for @var{string} in the history list, starting at @var{pos}, an 295 proceeds backward from @var{pos}, otherwise forward. Returns the absolute 437 The list of additional characters which can delimit a history search [all …]
|
/dports/devel/zpu-gcc/zpu-toolchain-1.0/toolchain/gdb/readline/doc/ |
H A D | hstech.texinfo | 131 * Searching the History List:: Functions to search the history list 242 @deftypefun int history_set_pos (int pos) 243 Set the current history offset to @var{pos}, an absolute index 245 Returns 1 on success, 0 if @var{pos} is less than zero or greater 267 from the current history position. The search may be @dfn{anchored}, 269 @cindex anchored search 292 @deftypefun int history_search_pos (const char *string, int direction, int pos) 293 Search for @var{string} in the history list, starting at @var{pos}, an 295 proceeds backward from @var{pos}, otherwise forward. Returns the absolute 437 The list of additional characters which can delimit a history search [all …]
|
/dports/databases/gqlplus/gqlplus-1.16/readline/doc/ |
H A D | hstech.texinfo | 131 * Searching the History List:: Functions to search the history list 242 @deftypefun int history_set_pos (int pos) 243 Set the current history offset to @var{pos}, an absolute index 245 Returns 1 on success, 0 if @var{pos} is less than zero or greater 267 from the current history position. The search may be @dfn{anchored}, 269 @cindex anchored search 292 @deftypefun int history_search_pos (const char *string, int direction, int pos) 293 Search for @var{string} in the history list, starting at @var{pos}, an 295 proceeds backward from @var{pos}, otherwise forward. Returns the absolute 437 The list of additional characters which can delimit a history search [all …]
|
/dports/databases/gqlplus/gqlplus-1.16/gqlplus-1.15/readline/doc/ |
H A D | hstech.texinfo | 131 * Searching the History List:: Functions to search the history list 242 @deftypefun int history_set_pos (int pos) 243 Set the current history offset to @var{pos}, an absolute index 245 Returns 1 on success, 0 if @var{pos} is less than zero or greater 267 from the current history position. The search may be @dfn{anchored}, 269 @cindex anchored search 292 @deftypefun int history_search_pos (const char *string, int direction, int pos) 293 Search for @var{string} in the history list, starting at @var{pos}, an 295 proceeds backward from @var{pos}, otherwise forward. Returns the absolute 437 The list of additional characters which can delimit a history search [all …]
|
/dports/multimedia/gaupol/gaupol-1.4-3-g6116d42b/gaupol/dialogs/ |
H A D | search.py | 176 pos = self._get_cursor_offset(page, row, doc, next) 177 return row, doc, pos 275 row, doc, pos = self._get_position(next=True) 284 row, doc, span = page.project.find_next(row, doc, pos) 292 row = doc = pos = None 407 row, doc, pos = self._get_position(next=False) 424 row = doc = pos = None 433 history = aeidon.util.readlines(path) 434 setattr(self, name, history) 582 history = getattr(self, name) [all …]
|
/dports/shells/zsh/zsh-5.8.1/Functions/Zle/ |
H A D | predict-on | 1 # This set of functions implements a sort of magic history searching. 3 # in the history for the first line beginning with what you have typed so 6 # line doesn't match something in the history, adding a key performs 61 if ! zle .history-beginning-search-backward 67 integer curs=$CURSOR pos nchar=${#LBUFFER//[^${KEYS[-1]}]} 86 pos=${BUFFER[(in:nchar:)${KEYS[-1]}]} 87 if [[ pos -gt curs ]] 89 CURSOR=$pos 112 # to actually edit the line, not change the search prefix. 120 zle .history-beginning-search-forward || RBUFFER=""
|
/dports/lang/racket/racket-8.3/src/ChezScheme/s/ |
H A D | expeditor.ss | 2002 (module (history-search-bwd history-search-fwd 2020 (define history-search-bwd 2025 (define history-search-fwd 2373 (define history-search-bwd-key 2380 [(history-search-bwd ee 2389 [(history-search-bwd ee 2396 (define history-search-fwd-key 2404 [(history-search-fwd ee 2413 [(history-search-fwd ee 2423 (history-search-fwd-key ee entry prefix?))) [all …]
|
/dports/lang/racket-minimal/racket-8.3/src/ChezScheme/s/ |
H A D | expeditor.ss | 2002 (module (history-search-bwd history-search-fwd 2020 (define history-search-bwd 2025 (define history-search-fwd 2373 (define history-search-bwd-key 2380 [(history-search-bwd ee 2389 [(history-search-bwd ee 2396 (define history-search-fwd-key 2404 [(history-search-fwd ee 2413 [(history-search-fwd ee 2423 (history-search-fwd-key ee entry prefix?))) [all …]
|
/dports/lang/chez-scheme/ChezScheme-9.5.4/s/ |
H A D | expeditor.ss | 2002 (module (history-search-bwd history-search-fwd 2020 (define history-search-bwd 2025 (define history-search-fwd 2373 (define history-search-bwd-key 2380 [(history-search-bwd ee 2389 [(history-search-bwd ee 2396 (define history-search-fwd-key 2404 [(history-search-fwd ee 2413 [(history-search-fwd ee 2423 (history-search-fwd-key ee entry prefix?))) [all …]
|
/dports/games/powder-toy/The-Powder-Toy-95.0/src/gui/game/ |
H A D | GameController.cpp | 85 search(NULL), in GameController() 120 if(search) in ~GameController() 122 delete search; in ~GameController() 905 ui::Point pos = gameView->GetMousePosition(); in Update() local 907 if (pos.X < XRES && pos.Y < YRES) in Update() 908 …ew->SetSample(gameModel->GetSimulation()->GetSample(PointTranslate(pos).X, PointTranslate(pos).Y)); in Update() 910 gameView->SetSample(gameModel->GetSimulation()->GetSample(pos.X, pos.Y)); in Update() 945 if(search && search->HasExited) in Update() 947 delete search; in Update() 948 search = NULL; in Update() [all …]
|
/dports/devel/gdb761/gdb-7.6.1/readline/doc/ |
H A D | hstech.texi | 132 * Searching the History List:: Functions to search the history list 259 @deftypefun int history_set_pos (int pos) 260 Set the current history offset to @var{pos}, an absolute index 262 Returns 1 on success, 0 if @var{pos} is less than zero or greater 284 from the current history position. The search may be @dfn{anchored}, 286 @cindex anchored search 309 @deftypefun int history_search_pos (const char *string, int direction, int pos) 310 Search for @var{string} in the history list, starting at @var{pos}, an 312 proceeds backward from @var{pos}, otherwise forward. Returns the absolute 458 The list of additional characters which can delimit a history search [all …]
|
/dports/finance/ledgersmb12/ledgersmb/locale/legacy/ua/ |
H A D | ct | 94 'history' => 'history', 102 'pos' => 'pos', 114 'search' => 'search',
|
/dports/devel/avr-gdb/gdb-7.3.1/readline/doc/ |
H A D | hstech.texi | 132 * Searching the History List:: Functions to search the history list 259 @deftypefun int history_set_pos (int pos) 260 Set the current history offset to @var{pos}, an absolute index 262 Returns 1 on success, 0 if @var{pos} is less than zero or greater 284 from the current history position. The search may be @dfn{anchored}, 286 @cindex anchored search 309 @deftypefun int history_search_pos (const char *string, int direction, int pos) 310 Search for @var{string} in the history list, starting at @var{pos}, an 312 proceeds backward from @var{pos}, otherwise forward. Returns the absolute 454 The list of additional characters which can delimit a history search [all …]
|
/dports/devel/tinygo/tinygo-0.14.1/llvm-project/llgo/third_party/liner/ |
H A D | line.go | 401 search := string(line) 403 return []rune(fmt.Sprintf(prompt, search)), []rune(foundLine), foundPos 407 historyPos := len(history) - 1 421 foundLine = history[historyPos] 429 foundLine = history[historyPos] 444 historyPos = len(history) - 1 445 if len(history) > 0 { 446 foundLine = history[historyPos] 467 historyPos = len(history) - 1 468 if len(history) > 0 { [all …]
|
/dports/finance/sql-ledger/sql-ledger/locale/enGB/ |
H A D | ct | 56 'history' => 'history', 69 'pos' => 'pos', 84 'search' => 'search',
|
/dports/news/inn-current/inn-2.7-20211226/lib/ |
H A D | dbz.c | 294 static of_t search(searcher *sp); 297 static bool search(searcher *sp); 676 tab->pos = -1; in openhashtable() 914 return search(&srch); 1017 if (search(&srch) == true) { 1026 idxtab.pos = -1; 1100 if (search(&srch) == true) 1407 search(searcher *sp) function 1444 pagtab.pos = -1; 1478 search(searcher *sp) function [all …]
|
/dports/news/inn/inn-2.6.4/lib/ |
H A D | dbz.c | 675 tab->pos = -1; in openhashtable() 911 return search(&srch); 1021 idxtab.pos = -1; 1095 if (search(&srch) == true) 1399 search(searcher *sp) function 1430 pagtab.pos = -1; 1469 search(searcher *sp) function 1501 etab.pos = -1; 1510 etab.pos += sizeof(erec); 1716 history = argv[i]; [all …]
|