musredit 1.0.0
Loading...
Searching...
No Matches
PFindReplaceData Struct Reference

Configuration structure for find and replace operations. More...

#include <musredit.h>

Public Attributes

QString findText
 Text pattern to search for in the document.
 
QString replaceText
 Replacement string to substitute for found matches.
 
bool caseSensitive
 If true, search is case-sensitive (e.g., "Run" != "run").
 
bool wholeWordsOnly
 If true, match only complete words (not substrings).
 
bool fromCursor
 If true, search starts from cursor position; otherwise from document start.
 
bool findBackwards
 If true, search proceeds backward through the document.
 
bool selectedText
 If true, limit search/replace to the currently selected text only.
 
bool promptOnReplace
 If true, prompt user for confirmation before each replacement.
 

Detailed Description

Configuration structure for find and replace operations.

This structure stores all parameters needed to perform find and replace operations within the musredit text editor. It captures the search/replace strings as well as various options that control how the search is performed.

The structure is typically populated from the Find/Replace dialog and used by the editor's search functionality.

Definition at line 109 of file musredit.h.

Member Data Documentation

◆ caseSensitive

bool PFindReplaceData::caseSensitive

If true, search is case-sensitive (e.g., "Run" != "run").

Definition at line 112 of file musredit.h.

◆ findBackwards

bool PFindReplaceData::findBackwards

If true, search proceeds backward through the document.

Definition at line 115 of file musredit.h.

◆ findText

QString PFindReplaceData::findText

Text pattern to search for in the document.

Definition at line 110 of file musredit.h.

◆ fromCursor

bool PFindReplaceData::fromCursor

If true, search starts from cursor position; otherwise from document start.

Definition at line 114 of file musredit.h.

◆ promptOnReplace

bool PFindReplaceData::promptOnReplace

If true, prompt user for confirmation before each replacement.

Definition at line 117 of file musredit.h.

◆ replaceText

QString PFindReplaceData::replaceText

Replacement string to substitute for found matches.

Definition at line 111 of file musredit.h.

◆ selectedText

bool PFindReplaceData::selectedText

If true, limit search/replace to the currently selected text only.

Definition at line 116 of file musredit.h.

◆ wholeWordsOnly

bool PFindReplaceData::wholeWordsOnly

If true, match only complete words (not substrings).

Definition at line 113 of file musredit.h.


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