File indexing completed on 2024-05-12 09:56:58

0001 /*
0002     SPDX-FileCopyrightText: 2007-2008 Robert Knight <robertknight@gmail.com>
0003     SPDX-FileCopyrightText: 2020 Tomaz Canabrava <tcanabrava@gmail.com>
0004 
0005     SPDX-License-Identifier: GPL-2.0-or-later
0006 */
0007 
0008 #include "RegExpFilterHotspot.h"
0009 
0010 using namespace Konsole;
0011 
0012 RegExpFilterHotSpot::RegExpFilterHotSpot(int startLine, int startColumn, int endLine, int endColumn, const QStringList &capturedTexts)
0013     : HotSpot(startLine, startColumn, endLine, endColumn)
0014     , _capturedTexts(capturedTexts)
0015 {
0016     setType(Marker);
0017 }
0018 
0019 void RegExpFilterHotSpot::activate(QObject *)
0020 {
0021 }
0022 
0023 QStringList RegExpFilterHotSpot::capturedTexts() const
0024 {
0025     return _capturedTexts;
0026 }