SMILX  1.01
Classes | Public Member Functions | List of all members
milxQtPythonSyntaxHighlighter Class Reference

Syntax highlighting for Python to be applied to the console (such as milxQtPythonConsole). More...

#include <milxQtPythonPlugin.h>

Inheritance diagram for milxQtPythonSyntaxHighlighter:

Public Member Functions

 milxQtPythonSyntaxHighlighter (QTextEdit *textEdit)
 
void highlightBlock (const QString &text)
 

Detailed Description

Syntax highlighting for Python to be applied to the console (such as milxQtPythonConsole).

Escape block is defined as '@' '\'.

Work in progress.

Definition at line 120 of file milxQtPythonPlugin.h.

Constructor & Destructor Documentation

◆ milxQtPythonSyntaxHighlighter()

milxQtPythonSyntaxHighlighter::milxQtPythonSyntaxHighlighter ( QTextEdit *  textEdit)

Add keywords to highlight

Quotation highlighting

Single Quotation highlighting

Single Line comment highlighting

Definition at line 194 of file milxQtPythonPlugin.cpp.

Member Function Documentation

◆ highlightBlock()

void milxQtPythonSyntaxHighlighter::highlightBlock ( const QString &  text)

Comment Block

Escape Block

Definition at line 245 of file milxQtPythonPlugin.cpp.


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