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

Re: TextHighligter... Error


Hmm I guess it is an old project that already had gb.eval.highlight in it?

So that would be an issue/bug.

Perhaps Benoit we could get a warning if loading an old project that has
gb.form.editor and gb.eval.highlight components.
Something to inform the coder that the old project needs the
gb.eval.highlight removed and gb.highlight added (or do it automatically
for them)

Respects
BruceS


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

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

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