From 8012e9a8bc2426f0bee99e703364d56707ded8bc Mon Sep 17 00:00:00 2001 From: blasty Date: Fri, 7 Aug 2026 20:04:12 +0200 Subject: Syntax-highlight the struct editor's C definitions --- idatui/app.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'idatui/app.py') diff --git a/idatui/app.py b/idatui/app.py index a4b03a1..c331904 100644 --- a/idatui/app.py +++ b/idatui/app.py @@ -50,7 +50,7 @@ from . import kittygfx from .edit_ctl import EditController from .prompt import PromptBar from .trace_ctl import TraceController -from .highlight import highlight_c +from .highlight import CTextArea, highlight_c from .errors import IDAToolError, IDAConnectionError from .codemode_client import CodeModeClient, registered_database @@ -4314,7 +4314,7 @@ class StructEditor(ModalScreen): yield OptionList(id="se-list") with Vertical(id="se-right"): yield Static(" C definition", id="se-hint") - yield TextArea("", id="se-edit") + yield CTextArea("", id="se-edit") yield Static( "Enter edit · Ctrl+S save · Ctrl+Y copy · Ctrl+N new · d/Del delete · Esc close", id="se-status") -- cgit v1.3.1-sl0p