• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • tdeui
 

tdeui

Public Types | Public Member Functions | List of all members
KSyntaxHighlighter Class Reference

#include <ksyntaxhighlighter.h>

Inherits TQSyntaxHighlighter.

Inherited by KSpellingHighlighter.

Public Types

enum  SyntaxMode { PlainTextMode , RichTextMode }
 

Public Member Functions

 KSyntaxHighlighter (TQTextEdit *textEdit, bool colorQuoting=false, const TQColor &QuoteColor0=black, const TQColor &QuoteColor1=TQColor(0x00, 0x80, 0x00), const TQColor &QuoteColor2=TQColor(0x00, 0x80, 0x00), const TQColor &QuoteColor3=TQColor(0x00, 0x80, 0x00), SyntaxMode mode=PlainTextMode)
 
int highlightParagraph (const TQString &text, int endStateOfLastPara)
 

Detailed Description

Syntax sensitive text highlighter.

Definition at line 42 of file ksyntaxhighlighter.h.

Member Enumeration Documentation

◆ SyntaxMode

enum KSyntaxHighlighter::SyntaxMode

Definition at line 45 of file ksyntaxhighlighter.h.

Constructor & Destructor Documentation

◆ KSyntaxHighlighter()

KSyntaxHighlighter::KSyntaxHighlighter ( TQTextEdit *  textEdit,
bool  colorQuoting = false,
const TQColor &  QuoteColor0 = black,
const TQColor &  QuoteColor1 = TQColor( 0x00, 0x80, 0x00 ),
const TQColor &  QuoteColor2 = TQColor( 0x00, 0x80, 0x00 ),
const TQColor &  QuoteColor3 = TQColor( 0x00, 0x80, 0x00 ),
SyntaxMode  mode = PlainTextMode 
)

Definition at line 117 of file ksyntaxhighlighter.cpp.

◆ ~KSyntaxHighlighter()

KSyntaxHighlighter::~KSyntaxHighlighter ( )

Definition at line 138 of file ksyntaxhighlighter.cpp.

Member Function Documentation

◆ highlightParagraph()

int KSyntaxHighlighter::highlightParagraph ( const TQString &  text,
int  endStateOfLastPara 
)

Definition at line 143 of file ksyntaxhighlighter.cpp.


The documentation for this class was generated from the following files:
  • ksyntaxhighlighter.h
  • ksyntaxhighlighter.cpp

tdeui

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

tdeui

Skip menu "tdeui"
  • arts
  • dcop
  • dnssd
  • interfaces
  •   kspeech
  •     interface
  •     library
  •   tdetexteditor
  • kate
  • kded
  • kdoctools
  • kimgio
  • kjs
  • libtdemid
  • libtdescreensaver
  • tdeabc
  • tdecmshell
  • tdecore
  • tdefx
  • tdehtml
  • tdeinit
  • tdeio
  •   bookmarks
  •   httpfilter
  •   kpasswdserver
  •   kssl
  •   tdefile
  •   tdeio
  •   tdeioexec
  • tdeioslave
  •   http
  • tdemdi
  •   tdemdi
  • tdenewstuff
  • tdeparts
  • tdeprint
  • tderandr
  • tderesources
  • tdespell2
  • tdesu
  • tdeui
  • tdeunittest
  • tdeutils
  • tdewallet
Generated for tdeui by doxygen 1.9.4
This website is maintained by Timothy Pearson.