• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • applications API Reference
  • KDE Home
  • Contact Us
 

KTextEditor

  • KTextEditor
  • Search
Enumerations
KTextEditor::Search Namespace Reference

Enumerations

enum  SearchOptionsEnum {
  Default = 0, Regex = 1 << 1, CaseInsensitive = 1 << 4, Backwards = 1 << 5,
  BlockInputRange = 1 << 6, EscapeSequences = 1 << 10, WholeWords = 1 << 11, DotMatchesNewline = 1 << 15
}
 

Detailed Description

Search interface options.

Enumeration Type Documentation

enum KTextEditor::Search::SearchOptionsEnum

Search flags for use with searchText.

Modifies the behavior of searchText. By default it is searched for a case-sensitive plaintext pattern, without processing of escape sequences, with "whole words" off, in forward direction, within a non-block-mode text range.

Author
Sebastian Pipping <webma.nosp@m.ster.nosp@m.@hart.nosp@m.work.nosp@m..org>
Enumerator
Default 

Default settings.

Regex 

Treats the pattern as a regular expression.

CaseInsensitive 

Ignores cases, e.g. "a" matches "A".

Backwards 

Searches in backward direction.

BlockInputRange 

Treats the input range as a recantgle (block-selection mode)

EscapeSequences 

Plaintext mode: Processes escape sequences.

WholeWords 

Plaintext mode: Whole words only, e.g. not "amp" in "example".

DotMatchesNewline 

Regex mode: Makes "." match newlines.

Definition at line 49 of file searchinterface.h.

This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Sat May 9 2020 03:56:48 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

KTextEditor

Skip menu "KTextEditor"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Modules
  • Related Pages

applications API Reference

Skip menu "applications API Reference"
  •   kate
  •       kate
  •   KTextEditor
  •   Kate
  • Konsole

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal