wxMaxima
Loading...
Searching...
No Matches
Public Member Functions
WorksheetSearch::Matcher Class Referenceabstract

Matches a search expression against worksheet text. More...

#include <WorksheetSearch.h>

Inheritance diagram for WorksheetSearch::Matcher:
[legend]

Public Member Functions

virtual bool Matches (wxString text) const =0
 Does this text contain a match?
 
virtual bool FindInEditor (EditorCell *editor, bool down) const =0
 Search inside an editor, continuing that editor's previous search.
 

Detailed Description

Matches a search expression against worksheet text.

One implementation per search flavor. Prompt and output cells are matched against their rendered text; editors are searched through their own incremental search, which continues behind the previous match when the editor already holds it as its selection.

Member Function Documentation

◆ FindInEditor()

virtual bool WorksheetSearch::Matcher::FindInEditor ( EditorCell editor,
bool  down 
) const
pure virtual

Search inside an editor, continuing that editor's previous search.

Implemented in WorksheetSearch::StringMatcher, and WorksheetSearch::RegexMatcher.

◆ Matches()

virtual bool WorksheetSearch::Matcher::Matches ( wxString  text) const
pure virtual

Does this text contain a match?

Implemented in WorksheetSearch::StringMatcher, and WorksheetSearch::RegexMatcher.


The documentation for this class was generated from the following file: