ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
PythonRepl.cpp File Reference
#include "PythonRepl.h"
#include "PythonHighlighter.h"
#include "PythonInterpreter.h"
#include <ui_PythonREPL.h>
#include "PythonStdErrOutRedirect.h"
#include <QtCompat.h>
Include dependency graph for PythonRepl.cpp:

Go to the source code of this file.

Functions

static const QString replArrows (QStringLiteral(">>> "))
 
static const QString continuationDots (QStringLiteral("... "))
 

Function Documentation

◆ continuationDots()

static const QString continuationDots ( QStringLiteral("... ")  )
static

◆ replArrows()

static const QString replArrows ( QStringLiteral(">>> ")  )
static

REPL special starting characters The first line of the REPL codeEdit shall start with the arrows subsequent lines shall start with the dots

Referenced by KeyPressEater::eventFilter(), PythonRepl::executeCode(), PythonRepl::importNeededPackages(), and History::newer().