SingleLineHighlightBlock Class Reference

class providing Single Line Highlight block (Highlighting block couldn't span over multiple lines) More...

#include <HighlightBlock.h>

Inheritance diagram for SingleLineHighlightBlock:

HighlightBlock

List of all members.

Public Member Functions

QRegExp getExp () const
 Creates Regular Expression from pattern used for caching purposes.
void setPattern (QString _pattern)
HighlighType type ()
QString getPattern () const

Private Attributes

QString pattern
 String pattern used for genereting QRegExp.


Detailed Description

class providing Single Line Highlight block (Highlighting block couldn't span over multiple lines)

Definition at line 160 of file HighlightBlock.h.


Member Function Documentation

QRegExp SingleLineHighlightBlock::getExp (  )  const [inline]

Creates Regular Expression from pattern used for caching purposes.

Returns:
newly created RegularExpresion

Definition at line 170 of file HighlightBlock.h.

References pattern.

Referenced by HSyntaxHighlighterSettings::getSingleLineRules().

QString SingleLineHighlightBlock::getPattern (  )  const [inline]

Text pattern getter used for configuration purposes

Returns:
current text pattern

Definition at line 192 of file HighlightBlock.h.

References pattern.

Referenced by HBslPatternsPanel::HBslPatternsPanel(), and HSyntaxHighlighterSettings::saveConfig().

void SingleLineHighlightBlock::setPattern ( QString  _pattern  )  [inline]

Text pattern setter used for configuration purposes

Parameters:
_pattern new pattern to be used

Definition at line 180 of file HighlightBlock.h.

References pattern.

Referenced by HSyntaxHighlighterSettings::loadConfig(), and HBslPatternsPanel::patternEditChanged().

HighlighType SingleLineHighlightBlock::type (  )  [inline, virtual]

Function for indicating a sub-type of HighlighBlock

Returns:
Indicator from enum HighlighType

Implements HighlightBlock.

Definition at line 182 of file HighlightBlock.h.

References singleLine.


Member Data Documentation

String pattern used for genereting QRegExp.

Definition at line 163 of file HighlightBlock.h.

Referenced by getExp(), getPattern(), and setPattern().


The documentation for this class was generated from the following file:

Generated on Fri Jan 9 00:51:00 2009 for HSyntaxHighlighter by  doxygen 1.5.8