WIP
This commit is contained in:
@@ -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} ->
|
||||
|
||||
Reference in New Issue
Block a user