[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

4.8.7 Search and Replace

2F2F3 GET.W-> ( → # )
Returns the position of the next word-start to the right of the current cursor position. Note the asymmetry of this command and GET.W<-.
2F2F4 GET.W<- ( # → #' )
Takes a position from the stack and return the position if the nearest word-start to the left of that position. Note the asymmetry of this command and GET.W->.
2576D (CaseSensitive?) ( → flag )
Is the flag for case-sensitive search currently set?
25772 (SetCaseSensitive) ( → )
Set case-sensitive seatch.
25777 (ClrCaseSensitive) ( → )
Set case-insensitive search.
2F2F2 FindStrInCmd ( $find → $find $start $end T )
( $find → $find F )
Finds a string in the EditLine, starting from the current cursor position. The search string remains on the stack, presumably in order to do repeated searches. Returns the start and end positions of the match and a flag. This function respects the setting of the internal flag for case-sensitive search.
2A0C5 (FindPattern!) ( $ → )
Sets the find pattern.
2A0D5 (FindPattern@) ( → $ )
Recalls the current find pattern. If there is not current pattern, this returns PTR 0 - so always check first with FindPattern?.
2A0E5 (FindPattern0) ( → )
Deletes the current find pattern.
2A0F5 (FindPattern?) ( → flag )
Checks if a find pattern has been defined.
2A105 (ReplacePattern!) ( $ → )
Sets the replace pattern.
2A115 (ReplacePattern@) ( → $ )
Recalls the current replace pattern. If there is not current pattern, this returns PTR 0 - so always check first with ReplacePattern?.
2A125 (ReplacePattern0) ( → )
Deletes the current replace pattern.
2A135 (ReplacePattern?) ( → flag )
Checks if a replace pattern has been defined.
2F2E8 DOFIND ( → )
Same as the FIND menu button in the editor TOOL/SEARCH menu. Pops up the FIND input form.
2F2EA DONEXT ( → )
Finds next. Same as the NEXT button in the editor TOOL/SEARCH menu. Uses the pattern set with FindPattern!.
2F2E9 DOREPL ( → )
Same as the REP button in the editor TOOL/SEARCH menu. Pops up the REPLACE input form.
2F2EB DOREPLACE ( → )
Replaces current match. Same as the R button in the editor TOOL/SEARCH menu. Uses the pattern set with ReplacePattern!.
2F2EC DOREPLACE/NEXT ( → )
Replaces current match and move to next match. Same as the R/N button in the editor TOOL/SEARCH menu.
2F2ED REPLACEALL ( → )
Replaces all matches in buffer. Same as the ALL button in the editor TOOL/SEARCH menu.
2F2FC REPLACEALLNOSCREEN ( → )
Like <REF>REPLACEALL, but does not update the screen. Much faster this way.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

This document was generated by Carsten Dominik on May, 30 2005 using texi2html