[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Gambas script capabilities
[Thread Prev] | [Thread Next]
- Subject: Re: Gambas script capabilities
- From: "olivier.cruilles" <olivier.cruilles@xxxxxxxx>
- Date: Sat, 10 Oct 2026 15:01:19 +0000
- To: Benoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx>, user@xxxxxxxxxxxxxxxxxxxxxx
Hi Benoit,Here a tar.gz contening both files:822 Bytes -> HelloWorld.gbs <- Original file create by 'gbs3 --convert-projet'849 Bytes -> HelloWorld_test.gbs <- File from the TexEditor + Highlight = "gambas"Le 10 octobre 2026, à 10:09, Benoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx> a écrit:Le 10/10/2026 à 15:34, olivier.cruilles a écrit :Hi,I found the problem.1. I load the orignal script (script .gbs generated by gbs3 --convert- > project <path to gambas projet>) (size 822 Bytes) in a TextEditor2. I enable the TextEditor1.Highlight = "gambas" and that change the > structure of the original text in the TextEditor. It's clearly mentioned > in the documentation of Gambas (https://gambaswiki.org/wiki/comp/ > gb.form.editor/texteditor/highlight)3. I save the Text of the TextEditor using File.Save() or > TextEdit1.Save() but the highlighted text is saved (size 849 Bytes), and > that break the script.If I do the same procedure without enabling the TextEditor.Highlight, > the script saved is the same as the original.The question now is, how get the raw text from the TextEditor and not > the Highlighted text (modified text), and it is possible ?Thank you all with your helpOlivierOlivier CruillesHighlighting and reformatting should not create syntax errors in the code.Please provide the file before the formatting and after.-- Benoît Minisini.
Attachment:
Helloword_scripts.tar.gz
Description: application/gzip
| Re: Gambas script capabilities | Brian G <brian@xxxxxxxxxxxxxxxx> |
| Gambas script capabilities | Olivier Cruilles <olivier.cruilles@xxxxxxxx> |
| Re: Gambas script capabilities | Brian G <brian@xxxxxxxxxxxxxxxx> |
| Re: Gambas script capabilities | "olivier.cruilles" <olivier.cruilles@xxxxxxxx> |
| Re: Gambas script capabilities | Bruce Steers <bsteers4@xxxxxxxxx> |
| Re: Gambas script capabilities | "olivier.cruilles" <olivier.cruilles@xxxxxxxx> |
| Re: Gambas script capabilities | Benoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx> |