This commit is contained in:
2025-11-07 15:45:57 +09:00
parent bd047a6a46
commit c59ef4b14e
3 changed files with 46 additions and 184 deletions
+4 -1
View File
@@ -1,6 +1,6 @@
-module(gd_sophia_editor).
-vsn("0.8.0").
-export([new/1, update/2,
-export([new/1, update/1, update/2,
get_text/1, set_text/2]).
-include("$zx_include/zx_logger.hrl").
@@ -124,6 +124,9 @@ set_colors(STC) ->
update(_Event, STC) ->
update(STC).
update(STC) ->
Text = wxStyledTextCtrl:getText(STC),
case so_scan:scan(Text) of
{ok, Tokens} ->