[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: Brian G <brian@xxxxxxxxxxxxxxxx>
- Date: Sat, 10 Oct 2026 09:13:52 -0700
- To: user@xxxxxxxxxxxxxxxxxxxxxx
- Cc: Linus <olivier.cruilles@xxxxxxxx>
On 10/10/26 08:01, olivier.cruilles wrote:
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"Olivier CruillesLe 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 TextEditor 2. 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 help Olivier Olivier CruillesHighlighting and reformatting should not create syntax errors in the code.Please provide the file before the formatting and after. -- Benoît Minisini.
form FMain #Gambas Form File 3.0 in the broken version i just add the space after the # form FMain # Gambas Form File 3.0 and it worked..ummm -- ~~~~ Brian
Attachment:
OpenPGP_signature.asc
Description: OpenPGP digital signature
| Re: Gambas script capabilities | Benoît Minisini <benoit.minisini@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> |
| Re: Gambas script capabilities | "olivier.cruilles" <olivier.cruilles@xxxxxxxx> |