\hypertarget{a09984}{}\section{Python\+Syntax\+Highlighter Class Reference}
\label{a09984}\index{Python\+Syntax\+Highlighter@{Python\+Syntax\+Highlighter}}


Implementation of highlighting for Python code.  




{\ttfamily \#include $<$Open\+Flipper/widgets/python\+Widget/\+Python\+Syntax\+Highlighter.\+hh$>$}

Inheritance diagram for Python\+Syntax\+Highlighter\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{a09984}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{a09984_ad65adabf488e24882c1c408ac3955fc1}\label{a09984_ad65adabf488e24882c1c408ac3955fc1}} 
{\bfseries Python\+Syntax\+Highlighter} (Q\+Text\+Document $\ast$parent=0)
\end{DoxyCompactItemize}
\subsection*{Protected Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{a09984_a0b87c52ed20c1b83b73702409215e64c}\label{a09984_a0b87c52ed20c1b83b73702409215e64c}} 
void {\bfseries highlight\+Block} (const Q\+String \&text)
\end{DoxyCompactItemize}
\subsection*{Private Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{a09984_aff109baacf0efa38947d8cf9723912e3}\label{a09984_aff109baacf0efa38947d8cf9723912e3}} 
void {\bfseries initialize\+Rules} ()
\item 
\mbox{\Hypertarget{a09984_aa5507d198313870caf56b146c1c24ebd}\label{a09984_aa5507d198313870caf56b146c1c24ebd}} 
bool \hyperlink{a09984_aa5507d198313870caf56b146c1c24ebd}{match\+Multiline} (const Q\+String \&text, const Q\+Reg\+Exp \&delimiter, const int in\+State, const Q\+Text\+Char\+Format \&style)
\begin{DoxyCompactList}\small\item\em Highlighst multi-\/line strings, returns true if after processing we are still within the multi-\/line section. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a09984_a333cd2a98ef41f1780965f3bae95992d}\label{a09984_a333cd2a98ef41f1780965f3bae95992d}} 
const Q\+Text\+Char\+Format {\bfseries get\+Text\+Char\+Format} (const Q\+String \&color\+Name, const Q\+String \&style=Q\+String())
\end{DoxyCompactItemize}
\subsection*{Private Attributes}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{a09984_a30c8ae0f80738b46f1724fc9faeae28c}\label{a09984_a30c8ae0f80738b46f1724fc9faeae28c}} 
Q\+String\+List {\bfseries keywords}
\item 
\mbox{\Hypertarget{a09984_a4bdc8b5a1f9857218b60daff42c9d7fd}\label{a09984_a4bdc8b5a1f9857218b60daff42c9d7fd}} 
Q\+String\+List {\bfseries operators}
\item 
\mbox{\Hypertarget{a09984_acd1a3e3cdd781f6f6763ecabd24d3451}\label{a09984_acd1a3e3cdd781f6f6763ecabd24d3451}} 
Q\+String\+List {\bfseries braces}
\item 
\mbox{\Hypertarget{a09984_a9b1f5710cb3fad81b5675ee1f022f78a}\label{a09984_a9b1f5710cb3fad81b5675ee1f022f78a}} 
Q\+Hash$<$ Q\+String, Q\+Text\+Char\+Format $>$ {\bfseries basic\+Styles}
\item 
\mbox{\Hypertarget{a09984_aef2b540e704cb2af3ca1f7fd4950d098}\label{a09984_aef2b540e704cb2af3ca1f7fd4950d098}} 
Q\+List$<$ \hyperlink{a09980}{Highlighting\+Rule} $>$ {\bfseries rules}
\item 
\mbox{\Hypertarget{a09984_a7f0c58b170b32cd0614271664e8c0af0}\label{a09984_a7f0c58b170b32cd0614271664e8c0af0}} 
Q\+Reg\+Exp {\bfseries tri\+Single\+Quote}
\item 
\mbox{\Hypertarget{a09984_a970941666a109a314dcd70fd6b3cb2c2}\label{a09984_a970941666a109a314dcd70fd6b3cb2c2}} 
Q\+Reg\+Exp {\bfseries tri\+Double\+Quote}
\end{DoxyCompactItemize}


\subsection{Detailed Description}
Implementation of highlighting for Python code. 

Definition at line 50 of file Python\+Syntax\+Highlighter.\+hh.



The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize}
\item 
Open\+Flipper/widgets/python\+Widget/Python\+Syntax\+Highlighter.\+hh\item 
Open\+Flipper/widgets/python\+Widget/Python\+Syntax\+Highlighter.\+cc\end{DoxyCompactItemize}
