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

gb.highlight trouble


I have this application installed on my system and all works fine.
I created a package installed on another system and I get trouble.

Both systems run same distro/desktop (Debian 12 Mate) and same gambas from same source (3.19.6). Difference is that the 'another' system has no Gambas IDE installed.

The error I get is:
[gb.highlight].TextHighlighter.Load.111: Cannot load highlighter 'diff': [gb.highlight].TextHighlighter.CreateCustomHighlighter.508: /bin/sh: 1: gbc3: not found
[gb.highlight].TextHighlighter.Load.111 [gb.highlight].TextHighlighter._get.121 [gb.form.editor].CDocument.Highlight_Write.850 [gb.form.editor].TextEditor.Highlight_Write.3303 FrmInstallDetails.SetTypeAndTheme.207 FrmInstallDetails.ReadData.193 FrmInstallDetails._new.30 FrmInstallView.gvwResult_RowClick.316 [gb.gui.base].GridView.ScrollArea_MouseDown.1317 ?

The code loads data from a database and in a field the highlight to be used when loading data into the TextEditor is set.
In this case the field holds "Diff" so TextEditor1.HighLight is set to "Diff". Then above error occurs.
Trying "diff" instead of 'Diff" made no difference.

Could this be caused because IDE is not installed on this system and all pre-defined Gambas highlights are simply unknown to the system, or what is going on here?
The same application using same database table works perfect on my system where the IDE is installed (no matter if I use Diff or diff). There too the application is installed using the same .deb package as on 'another' system without IDE.

gbWilly

[GambOS](https://gambos.gambas.one/)
[Gambas3 for Debian/Ubuntu](https://gitlab.com/gbWilly/gambas3-debian-repository)
[GambOS](https://gambos.gambas.one/)

...there is always a Catch if things go wrong!

Sent with [Proton Mail](https://proton.me/mail/home) secure email.

Follow-Ups:
Re: gb.highlight troublegbWilly <gbWilly@xxxxxxxxxxxxxx>