KDAB / knut

Knut is an automation tool for code transformation using scripts.
Other
5 stars 8 forks source link

Handle `QTextEdit` in the `ScriptDialogItem` #27

Open narnaud opened 2 weeks ago

narnaud commented 2 weeks ago

ScriptDialogItem supports a log of different base widgets, but QTextEdit and QPlainTextEdit are missing. Would be nice to have them working, shouldn't be too difficult as we want to focus only on the text property.

Also allow syntax highlighting: add a property objectNameSyntax to set the syntax used ("cpp", "js"...), and add syntaxHighlighting if it's set (don't if not).