Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle QTextEdit in the ScriptDialogItem #27

Closed
narnaud opened this issue Jun 19, 2024 · 0 comments · Fixed by #141
Closed

Handle QTextEdit in the ScriptDialogItem #27

narnaud opened this issue Jun 19, 2024 · 0 comments · Fixed by #141
Assignees
Labels
⬆️ feature New feature or request 🙋 good first issue Good for newcomers
Milestone

Comments

@narnaud
Copy link
Member

narnaud commented Jun 19, 2024

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).

Add an example in the ex_script_dialog.qml

@narnaud narnaud added ⬆️ feature New feature or request 🙋 good first issue Good for newcomers labels Jun 19, 2024
@narnaud narnaud added this to the Release 1.0.0 milestone Jun 19, 2024
smnppKDAB added a commit to smnppKDAB/knut that referenced this issue Aug 6, 2024
Fixes KDAB#27
to use the syntax highlighting of the "data.foo" widget, just use the name of the extension like "cpp", "js" or "py" in the "data.fooSyntax" property
smnppKDAB added a commit to smnppKDAB/knut that referenced this issue Aug 6, 2024
to use the syntax highlighting of the "data.foo" widget, just use the name of the extension like "cpp", "js" or "py" in the "data.fooSyntax" property
Fixes KDAB#27
smnppKDAB added a commit to smnppKDAB/knut that referenced this issue Aug 6, 2024
to use the syntax highlighting of the "data.foo" widget, just use the name of the extension like "cpp", "js" or "py" in the "data.fooSyntax" property
Fixes KDAB#27
smnppKDAB added a commit to smnppKDAB/knut that referenced this issue Aug 6, 2024
Fixes KDAB#27
to use the syntax highlighting of the "data.foo" widget, just use the name of the extension like "cpp", "js" or "py" in the "data.fooSyntax" property
smnppKDAB added a commit to smnppKDAB/knut that referenced this issue Aug 6, 2024
Fixes KDAB#27
to use the syntax highlighting of the "data.foo" widget, just use the name of the extension like "cpp", "js" or "py" in the "data.fooSyntax" property
smnppKDAB added a commit to smnppKDAB/knut that referenced this issue Aug 6, 2024
Fixes KDAB#27
to use the syntax highlighting of the "data.foo" widget, just use the name of the extension like "cpp", "js" or "py" in the "data.fooSyntax" property
smnppKDAB added a commit to smnppKDAB/knut that referenced this issue Aug 7, 2024
Fixes KDAB#27
to use the syntax highlighting of the "data.foo" widget, just use the name of the extension like "cpp", "js" or "py" in the "data.fooSyntax" property
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
⬆️ feature New feature or request 🙋 good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants