Class: TextEdit

silkedit. TextEdit

QPlainTextEditに対応するクラス。


new TextEdit(parent)

Parameters:
Name Type Description
parent object

QWidgetに対応するオブジェクト

Members


showLineNumber :boolean

Type:
  • boolean

text :string

Type:
  • string

Methods


copy()


cursorRect( [cursor])

Parameters:
Name Type Argument Description
cursor module:silkedit.TextCursor <optional>

cut()


deleteChar( [repeat])

Parameters:
Name Type Argument Default Description
repeat number <optional>
1

document()

Returns:
Type
module:silkedit.Document

indent()


insertNewLine()


isThinCursor()


outdent()


paste()


path()

Returns:
Type
string

redo()


save()


saveAs()


scopeName()

Returns:
Type
string

scopeTree()

Returns:
Type
string

selectAll()


setTextCursor(cursor)

Parameters:
Name Type Description
cursor module:silkedit.TextCursor

setThinCursor(on)

Parameters:
Name Type Description
on boolean

textCursor()

Returns:
Type
module:silkedit.TextCursor

undo()