Search found 156 matches

by BruceSteers
Tuesday 27th October 2020 11:39pm
Forum: Component
Topic: I added "shell" to the TextEditor highlight modes :)
Replies: 2
Views: 60

Re: I added "shell" to the TextEditor highlight modes :)

And now my friends , you have it too :) My merge got accepted so TextEditor control now also supports sh/bash shell scripting style/mode :) So if you're on the master commit you can pull the update now. Mode wise there was not much i could do, like how gambas auto-capitalises keywords and stuff, tha...
by BruceSteers
Monday 26th October 2020 10:11pm
Forum: Component
Topic: I added "shell" to the TextEditor highlight modes :)
Replies: 2
Views: 60

Re: I added "shell" to the TextEditor highlight modes :)

Talk about catch-22 though I'm a great believer that Gambas is not a single user programming environment and gambas apps should be everywhere and work on all systems. But now i'm making apps that will currently only work on my gambas as my gambas has been modified :-\ And if my merge requests don't ...
by BruceSteers
Saturday 24th October 2020 12:13pm
Forum: General
Topic: TextArea, managing buffer size, scrolling
Replies: 5
Views: 117

Re: TextArea, managing buffer size, scrolling

Bruce and Cogier, thank you both for your replies. On closer examination, I discovered that the flicker/flash was the TextArea being completely erased, then completely refilled in rapid succession. This happened every time a new line of text was added to the TextArea. The lines being added are noth...
by BruceSteers
Saturday 24th October 2020 11:37am
Forum: Component
Topic: I added "shell" to the TextEditor highlight modes :)
Replies: 2
Views: 60

I added "shell" to the TextEditor highlight modes :)

Hi all. I've added shell to the highlighting modes of the TextEditor control. Got it handling most things okay, even comment lines and as sh has no datatype defining i used the datatype colour for commands like echo/read/exit, etc. I've sent the merge request to github (hopefully i did it right) htt...
by BruceSteers
Friday 23rd October 2020 8:57am
Forum: Component
Topic: Compiling on ALL supported distros
Replies: 30
Views: 711

Re: Compiling on ALL supported distros

Working sweetly now is this. I just launch it and hit return. if git updates it runs ./configure to make install and finishes if no updates it just quits. my preferences are saved so no questions asked. Gotta work a bit on ways to re-enable setting choices. Currently best way is to edit the /$HOME/....
by BruceSteers
Friday 23rd October 2020 8:12am
Forum: General
Topic: TextArea, managing buffer size, scrolling
Replies: 5
Views: 117

Re: TextArea, managing buffer size, scrolling

funny ole TextArea. I was having a layout problem the other day. Look at this snippet.. TextArea1.Line = IIf(EntryRow > lastselected, prfitemendLN + 5, prfitemstartLN - 5) TextArea1.EnsureVisible Wait 0.2 TextArea1.Line = prfitemstartLN TextArea1.Select(TextArea1.ToPos(TextArea1.Line, 0), TextArea1....
by BruceSteers
Thursday 22nd October 2020 9:52pm
Forum: Component
Topic: Warning using TextEditor as a text editor. (gambas highlight)
Replies: 1
Views: 53

Re: Warning using TextEditor as a text editor. (gambas highlight)

Benot (bless him) has just fixed this :)

So only relevant on previous Gambas versions to the latest commit now.
by BruceSteers
Thursday 22nd October 2020 1:06pm
Forum: Component
Topic: Warning using TextEditor as a text editor. (gambas highlight)
Replies: 1
Views: 53

Warning using TextEditor as a text editor. (gambas highlight)

I have a Text Editor i've made using the TextEditor control an di was using it yesterday on a bash script of mine. A 700+ line bash script. I was looking at the different "Highlighting" options it has as it does not have a shell one so i had to find the best one. Before i saved my script i had not n...
by BruceSteers
Thursday 22nd October 2020 12:35pm
Forum: General
Topic: Gambas book for beginners that covers GUI
Replies: 3
Views: 84

Re: Gambas book for beginners that covers GUI

As a previous VB user myself i can tell you there is little you need to know. The online wiki that also integrates into the IDE has oodles of information. http://gambaswiki.org/wiki/ Just go to the wiki and browse the gui components section. Or in the IDE just start typing control names and pop up l...
by BruceSteers
Thursday 22nd October 2020 12:09pm
Forum: Component
Topic: Compiling on ALL supported distros
Replies: 30
Views: 711

Re: Compiling on ALL supported distros

Okay then ... updated.... Now there are 2 scripts. One is for first time setting the directory up, doing any git cloning or curl downloading/unpacking zips and installing all the dependencies according to the .gitlab-cl.yml file.. (unless you've already done that bit) The other one assumes you now h...