\hypertarget{classPythonSyntaxHighlighter}{}\section{Python\+Syntax\+Highlighter Class Reference}
\label{classPythonSyntaxHighlighter}\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]{classPythonSyntaxHighlighter}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{classPythonSyntaxHighlighter_ad65adabf488e24882c1c408ac3955fc1}\label{classPythonSyntaxHighlighter_ad65adabf488e24882c1c408ac3955fc1}} 
{\bfseries Python\+Syntax\+Highlighter} (Q\+Text\+Document $\ast$parent=0)
\end{DoxyCompactItemize}
\subsection*{Protected Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{classPythonSyntaxHighlighter_a0b87c52ed20c1b83b73702409215e64c}\label{classPythonSyntaxHighlighter_a0b87c52ed20c1b83b73702409215e64c}} 
void {\bfseries highlight\+Block} (const Q\+String \&text)
\end{DoxyCompactItemize}
\subsection*{Private Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{classPythonSyntaxHighlighter_aff109baacf0efa38947d8cf9723912e3}\label{classPythonSyntaxHighlighter_aff109baacf0efa38947d8cf9723912e3}} 
void {\bfseries initialize\+Rules} ()
\item 
\mbox{\Hypertarget{classPythonSyntaxHighlighter_aa5507d198313870caf56b146c1c24ebd}\label{classPythonSyntaxHighlighter_aa5507d198313870caf56b146c1c24ebd}} 
bool \hyperlink{classPythonSyntaxHighlighter_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{classPythonSyntaxHighlighter_a333cd2a98ef41f1780965f3bae95992d}\label{classPythonSyntaxHighlighter_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{classPythonSyntaxHighlighter_a30c8ae0f80738b46f1724fc9faeae28c}\label{classPythonSyntaxHighlighter_a30c8ae0f80738b46f1724fc9faeae28c}} 
Q\+String\+List {\bfseries keywords}
\item 
\mbox{\Hypertarget{classPythonSyntaxHighlighter_a4bdc8b5a1f9857218b60daff42c9d7fd}\label{classPythonSyntaxHighlighter_a4bdc8b5a1f9857218b60daff42c9d7fd}} 
Q\+String\+List {\bfseries operators}
\item 
\mbox{\Hypertarget{classPythonSyntaxHighlighter_acd1a3e3cdd781f6f6763ecabd24d3451}\label{classPythonSyntaxHighlighter_acd1a3e3cdd781f6f6763ecabd24d3451}} 
Q\+String\+List {\bfseries braces}
\item 
\mbox{\Hypertarget{classPythonSyntaxHighlighter_a9b1f5710cb3fad81b5675ee1f022f78a}\label{classPythonSyntaxHighlighter_a9b1f5710cb3fad81b5675ee1f022f78a}} 
Q\+Hash$<$ Q\+String, Q\+Text\+Char\+Format $>$ {\bfseries basic\+Styles}
\item 
\mbox{\Hypertarget{classPythonSyntaxHighlighter_aef2b540e704cb2af3ca1f7fd4950d098}\label{classPythonSyntaxHighlighter_aef2b540e704cb2af3ca1f7fd4950d098}} 
Q\+List$<$ \hyperlink{classHighlightingRule}{Highlighting\+Rule} $>$ {\bfseries rules}
\item 
\mbox{\Hypertarget{classPythonSyntaxHighlighter_a7f0c58b170b32cd0614271664e8c0af0}\label{classPythonSyntaxHighlighter_a7f0c58b170b32cd0614271664e8c0af0}} 
Q\+Reg\+Exp {\bfseries tri\+Single\+Quote}
\item 
\mbox{\Hypertarget{classPythonSyntaxHighlighter_a970941666a109a314dcd70fd6b3cb2c2}\label{classPythonSyntaxHighlighter_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}
