[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: TextHighligter... Error


Yes. confirmed
I removed the depreciated gb.eval.highlight from your project and it now
works.

Whatever you want to use gb.eval.highlight for you should be able to use
gb.highlight methods instead.

Using depreciated components is not recommended.
For starters any bugs won't get fixed because they are depreciated/replaced
components.
and as you have found they may clash with their replacements.

Respects
BruceS


On Sun, 17 Nov 2024 at 10:39, Bruce Steers <bsteers4@xxxxxxxxx> wrote:

> I think this happens if you also have the old gb.eval.highlight component
> loaded
>
> You cannot use gb.eval.highlight and TextEditor as TextEditor now uses
> gb.highlight and they clash
>
> Respects
> BruceS
>
>
> On Sun, 17 Nov 2024 at 10:32, System64 Development <64xcode@xxxxxxxxx>
> wrote:
>
>> Hi,
>>
>> The control text editor stop the program with the message:
>>
>> 'TextHighligter_[somelanguage].CanRewrite' is Static.
>>
>> Here are an screenshoot and the source code of the sample project.
>>
>> Best regards.
>>
>> Martin.
>>
>

Follow-Ups:
Re: TextHighligter... ErrorBruce Steers <bsteers4@xxxxxxxxx>
References:
TextHighligter... ErrorSystem64 Development <64xcode@xxxxxxxxx>
Re: TextHighligter... ErrorBruce Steers <bsteers4@xxxxxxxxx>