KTextEditor
kateregexpsearch.h
26 * I measured that, if you create it 20k times to replace for example " " in a document, that takes seconds on a modern machine!
52 * \param options QRegularExpression pattern options, we will internally add QRegularExpression::UseUnicodePropertiesOption
82 static QString buildReplacement(const QString &text, const QStringList &capturedTexts, int replacementCounter);
90 * \param replacementCounter value for replacement counter (only used when replacementGoodies == true)
95 static QString buildReplacement(const QString &text, const QStringList &capturedTexts, int replacementCounter, bool replacementGoodies);
An object representing a section of text, from one Cursor to another.
Definition include/ktexteditor/range.h:49
The KTextEditor namespace contains all the public API that is required to use the KTextEditor compone...
Definition katetextblock.h:18
PatternOptions
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:01:56 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:01:56 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.