KSyntaxHighlighting

KSyntaxHighlighting Namespace Reference

Classes

class  AbstractHighlighter
 
class  Definition
 
class  DefinitionDownloader
 
class  FoldingRegion
 
class  Format
 
class  HighlightingContextData
 
class  Repository
 
class  State
 
class  SyntaxHighlighter
 
class  Theme
 

Enumerations

enum class  CommentPosition { StartOfLine = 0 , AfterWhitespace }
 

Functions

KSYNTAXHIGHLIGHTING_EXPORT std::size_t qHash (const State &state, std::size_t seed=0)
 

Detailed Description

Syntax highlighting engine for Kate syntax definitions.

In order to access the syntax highlighting Definition files, use the class Repository.

See also
Repository

Enumeration Type Documentation

◆ CommentPosition

Defines the insert position when commenting code.

Since
5.50
See also
Definition::singleLineCommentPosition()
Enumerator
StartOfLine 

The comment marker is inserted at the beginning of a line at column 0.

AfterWhitespace 

The comment marker is inserted after leading whitespaces right befire the first non-whitespace character.

Definition at line 32 of file definition.h.

Function Documentation

◆ qHash()

std::size_t KSyntaxHighlighting::qHash ( const State & state,
std::size_t seed = 0 )

Definition at line 81 of file state.cpp.

This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 29 2024 11:57:07 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.