edbee - Qt Editor Library v0.11.1
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
rangesetlineiterator.h
Go to the documentation of this file.
1// edbee - Copyright (c) 2012-2025 by Rick Blommers and contributors
2// SPDX-License-Identifier: MIT
3
4#pragma once
5
6#include "edbee/exports.h"
7
8namespace edbee {
9
10class TextRangeSet;
11
25public:
27
28 bool hasNext() const;
29 int next();
30
31private:
32 void findNextLine();
33
34private:
35 TextRangeSet* rangeSetRef_;
36 int rangeIndex_;
37 int rangeEndLine_;
38 int curLine_;
39
40
41};
42
43} // edbee
bool hasNext() const
Checks if there's a next line number available.
Definition rangesetlineiterator.cpp:25
RangeSetLineIterator(TextRangeSet *rangeSet)
Constructs the rangeset line iterator.
Definition rangesetlineiterator.cpp:14
int next()
returns the next line number
Definition rangesetlineiterator.cpp:32
The basic textrange class. A simple class of textrange with a simple vector implementation.
Definition textrange.h:202
#define EDBEE_EXPORT
Definition exports.h:15
QT Acessibility has an issue with reporting blank lines between elements lines. defining 'WINDOWS_EMP...
Definition commentcommand.cpp:20