nukescripts.InputHighlighter

class nukescripts.InputHighlighter(doc, parent=None)[source]

Bases: PySide2.QtGui.QSyntaxHighlighter

Methods

blockSignals

childEvent

children

connect

connect(arg__1: str, arg__2: typing.Callable, type: PySide2.QtCore.Qt.ConnectionType = PySide2.QtCore.Qt.ConnectionType.AutoConnection) -> bool connect(arg__1: str, arg__2: PySide2.QtCore.QObject, arg__3: str, type: PySide2.QtCore.Qt.ConnectionType = PySide2.QtCore.Qt.ConnectionType.AutoConnection) -> bool connect(sender: PySide2.QtCore.QObject, signal: PySide2.QtCore.QMetaMethod, receiver: PySide2.QtCore.QObject, method: PySide2.QtCore.QMetaMethod, type: PySide2.QtCore.Qt.ConnectionType = PySide2.QtCore.Qt.ConnectionType.AutoConnection) -> PySide2.QtCore.QMetaObject.Connection connect(sender: PySide2.QtCore.QObject, signal: str, member: str, type: PySide2.QtCore.Qt.ConnectionType = PySide2.QtCore.Qt.ConnectionType.AutoConnection) -> PySide2.QtCore.QMetaObject.Connection connect(sender: PySide2.QtCore.QObject, signal: str, receiver: PySide2.QtCore.QObject, member: str, type: PySide2.QtCore.Qt.ConnectionType = PySide2.QtCore.Qt.ConnectionType.AutoConnection) -> PySide2.QtCore.QMetaObject.Connection

connectNotify

currentBlock

currentBlockState

currentBlockUserData

customEvent

deleteLater

disconnect

disconnect(arg__1: PySide2.QtCore.QObject, arg__2: str, arg__3: typing.Callable) -> bool disconnect(arg__1: str, arg__2: typing.Callable) -> bool disconnect(receiver: PySide2.QtCore.QObject, member: str = None) -> bool disconnect(sender: PySide2.QtCore.QObject, signal: PySide2.QtCore.QMetaMethod, receiver: PySide2.QtCore.QObject, member: PySide2.QtCore.QMetaMethod) -> bool disconnect(sender: PySide2.QtCore.QObject, signal: str, receiver: PySide2.QtCore.QObject, member: str) -> bool disconnect(signal: str, receiver: PySide2.QtCore.QObject, member: str) -> bool

disconnectNotify

document

dumpObjectInfo

dumpObjectTree

dynamicPropertyNames

emit

event

eventFilter

findChild

findChildren

findChildren(self, arg__1: type, arg__2: str = ‘’) -> typing.Iterable

format

highlightBlock

inherits

installEventFilter

isSignalConnected

isWidgetType

isWindowType

killTimer

metaObject

moveToThread

objectName

parent

previousBlockState

property

receivers

registerUserData

rehighlight

rehighlightBlock

removeEventFilter

sender

senderSignalIndex

setCurrentBlockState

setCurrentBlockUserData

setDocument

setFormat

setFormat(self, start: int, count: int, font: PySide2.QtGui.QFont) setFormat(self, start: int, count: int, format: PySide2.QtGui.QTextCharFormat)

setObjectName

setParent

setProperty

signalsBlocked

startTimer

thread

timerEvent

tr

Attributes

destroyed

objectNameChanged

staticMetaObject

blockSignals(self, b: bool) → bool
childEvent(self, event: PySide2.QtCore.QChildEvent)
children(self) → typing.List[PySide2.QtCore.QObject]
static connect(arg__1: PySide2.QtCore.QObject, arg__2: str, arg__3: typing.Callable, type: PySide2.QtCore.Qt.ConnectionType = PySide2.QtCore.Qt.ConnectionType.AutoConnection) → bool

connect(arg__1: str, arg__2: typing.Callable, type: PySide2.QtCore.Qt.ConnectionType = PySide2.QtCore.Qt.ConnectionType.AutoConnection) -> bool connect(arg__1: str, arg__2: PySide2.QtCore.QObject, arg__3: str, type: PySide2.QtCore.Qt.ConnectionType = PySide2.QtCore.Qt.ConnectionType.AutoConnection) -> bool connect(sender: PySide2.QtCore.QObject, signal: PySide2.QtCore.QMetaMethod, receiver: PySide2.QtCore.QObject, method: PySide2.QtCore.QMetaMethod, type: PySide2.QtCore.Qt.ConnectionType = PySide2.QtCore.Qt.ConnectionType.AutoConnection) -> PySide2.QtCore.QMetaObject.Connection connect(sender: PySide2.QtCore.QObject, signal: str, member: str, type: PySide2.QtCore.Qt.ConnectionType = PySide2.QtCore.Qt.ConnectionType.AutoConnection) -> PySide2.QtCore.QMetaObject.Connection connect(sender: PySide2.QtCore.QObject, signal: str, receiver: PySide2.QtCore.QObject, member: str, type: PySide2.QtCore.Qt.ConnectionType = PySide2.QtCore.Qt.ConnectionType.AutoConnection) -> PySide2.QtCore.QMetaObject.Connection

connectNotify(self, signal: PySide2.QtCore.QMetaMethod)
currentBlock(self) → PySide2.QtGui.QTextBlock
currentBlockState(self) → int
currentBlockUserData(self) → PySide2.QtGui.QTextBlockUserData
customEvent(self, event: PySide2.QtCore.QEvent)
deleteLater(self)
static disconnect(arg__1: PySide2.QtCore.QMetaObject.Connection) → bool

disconnect(arg__1: PySide2.QtCore.QObject, arg__2: str, arg__3: typing.Callable) -> bool disconnect(arg__1: str, arg__2: typing.Callable) -> bool disconnect(receiver: PySide2.QtCore.QObject, member: str = None) -> bool disconnect(sender: PySide2.QtCore.QObject, signal: PySide2.QtCore.QMetaMethod, receiver: PySide2.QtCore.QObject, member: PySide2.QtCore.QMetaMethod) -> bool disconnect(sender: PySide2.QtCore.QObject, signal: str, receiver: PySide2.QtCore.QObject, member: str) -> bool disconnect(signal: str, receiver: PySide2.QtCore.QObject, member: str) -> bool

disconnectNotify(self, signal: PySide2.QtCore.QMetaMethod)
document(self) → PySide2.QtGui.QTextDocument
dumpObjectInfo(self)
dumpObjectTree(self)
dynamicPropertyNames(self) → typing.List[PySide2.QtCore.QByteArray]
emit(self, arg__1: str, *args) → bool
event(self, event: PySide2.QtCore.QEvent) → bool
eventFilter(self, watched: PySide2.QtCore.QObject, event: PySide2.QtCore.QEvent) → bool
findChild(self, arg__1: type, arg__2: str = '') → object
findChildren(self, arg__1: type, arg__2: PySide2.QtCore.QRegExp) → typing.Iterable

findChildren(self, arg__1: type, arg__2: str = ‘’) -> typing.Iterable

format(self, pos: int) → PySide2.QtGui.QTextCharFormat
highlightBlock(self, text: str)[source]
inherits(self, classname: str) → bool
installEventFilter(self, filterObj: PySide2.QtCore.QObject)
isSignalConnected(self, signal: PySide2.QtCore.QMetaMethod) → bool
isWidgetType(self) → bool
isWindowType(self) → bool
killTimer(self, id: int)
metaObject(self) → PySide2.QtCore.QMetaObject
moveToThread(self, thread: PySide2.QtCore.QThread)
objectName(self) → str
parent(self) → PySide2.QtCore.QObject
previousBlockState(self) → int
property(self, name: str) → typing.Any
receivers(self, signal: str) → int
static registerUserData() → int
rehighlight(self)
rehighlightBlock(self, block: PySide2.QtGui.QTextBlock)
removeEventFilter(self, obj: PySide2.QtCore.QObject)
sender(self) → PySide2.QtCore.QObject
senderSignalIndex(self) → int
setCurrentBlockState(self, newState: int)
setCurrentBlockUserData(self, data: PySide2.QtGui.QTextBlockUserData)
setDocument(self, doc: PySide2.QtGui.QTextDocument)
setFormat(self, start: int, count: int, color: PySide2.QtGui.QColor)

setFormat(self, start: int, count: int, font: PySide2.QtGui.QFont) setFormat(self, start: int, count: int, format: PySide2.QtGui.QTextCharFormat)

setObjectName(self, name: str)
setParent(self, parent: PySide2.QtCore.QObject)
setProperty(self, name: str, value: typing.Any) → bool
signalsBlocked(self) → bool
startTimer(self, interval: int, timerType: PySide2.QtCore.Qt.TimerType = PySide2.QtCore.Qt.TimerType.CoarseTimer) → int
thread(self) → PySide2.QtCore.QThread
timerEvent(self, event: PySide2.QtCore.QTimerEvent)
tr(self, arg__1: str, arg__2: str = '', arg__3: int = - 1) → str