KTextEditor::Mark

Search for usage in LXR

KTextEditor::Mark Class Reference

#include <KTextEditor/MarkInterface>

Public Attributes

int line
 
uint type
 

Detailed Description

Mark class containing line and mark types.

Introduction

The class Mark represents a mark in a Document. It contains the line and type. A line can have multiple marks, like a bookmark and a breakpoint, i.e. the type contains all marks combined with a logical OR (|). There are several predefined mark types, look into the MarkInterface for further details.

See also
KTextEditor::MarkInterface, KTextEditor::Document

Definition at line 42 of file markinterface.h.

Member Data Documentation

◆ line

int KTextEditor::Mark::line

The line that contains the mark.

Definition at line 46 of file markinterface.h.

◆ type

uint KTextEditor::Mark::type

The mark types in the line, combined with logical OR.

Definition at line 49 of file markinterface.h.


The documentation for this class was generated from the following file:
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Tue Dec 5 2023 03:51:13 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.