[package]
title = "Text Editor"
category = "Internal"
description = "Bindings to ImGuiColorTextEdit"
version = "1.0.2"
changelog = "docs/CHANGELOG.md"
icon = "data/icon.png"
preview_image = "data/preview.png"

[dependencies]
"omni.ui" = {}

[[native.library]]
path = "bin/${lib_prefix}omni.kit.widget.text_editor${lib_ext}"

[[python.module]]
name = "omni.kit.widget.text_editor"

[[test]]
dependencies = [
    "omni.kit.renderer.capture",
    "omni.kit.ui_test",
]

args = [
    "--/app/window/dpiScaleOverride=1.0",
    "--/app/window/scaleToMonitor=false",
    "--no-window"
]

stdoutFailPatterns.exclude = [
    "*omniclient: Initialization failed*",
]
