Re: [Gambas-user] Fwd: [Gambas Bug Tracker] Bug #1161: Class Editor is Locked

2017-09-07 Thread Fernando Cabral
tem (where the bug does not occur)? > I am attaching two files with the variables used in the virtual and real environments. To me they look the same except for minor details that do not seem related to the issue. Best regards - fernando -- Fernando Cabral Blogue: http://fernandocab

Re: [Gambas-user] Fwd: [Gambas Bug Tracker] Bug #1161: Class Editor is Locked

2017-09-07 Thread Fernando Cabral
ance problem. Otherwise, it would not be running on the virtual machine either... Perhaps I have lost track of your reasoning. - fernando Blogue: http://fernandocabral.org Twitter: http://twitter.com/fjcabral e-mail: fernandojosecab...@gmail.com Facebook: f...@fcabral.com.br Teleg

Re: [Gambas-user] Fwd: [Gambas Bug Tracker] Bug #1161: Class Editor is Locked

2017-09-06 Thread Fernando Cabral
and gambas3-gb-webkit - fernando > > I am sure we have the different issue :) > > On 9/6/17, Fernando Cabral <fernandojosecab...@gmail.com> wrote: > > 2017-09-06 3:28 GMT-03:00 Benoît Minisini via Gambas-user < > > gambas-user@lists.sourceforge.net>: > > &

Re: [Gambas-user] Fwd: [Gambas Bug Tracker] Bug #1161: Class Editor is Locked

2017-09-06 Thread Fernando Cabral
other) > 2) run gambas IDE and open/create any project > 3) try write someting in code editor > . > it's work ??? I've tried your suggestion. No, it did not work. - fernando > > > > . > > > > -

Re: [Gambas-user] Fwd: [Gambas Bug Tracker] Bug #1161: Class Editor is Locked

2017-09-06 Thread Fernando Cabral
avail. This week (for other reasons, not because of Gambas), a did a fresh install in a brand new machine. Did no work. Same problem. So, I guess you will just waist your time. But who knows? When black magic sets

Re: [Gambas-user] Fwd: [Gambas Bug Tracker] Bug #1161: Class Editor is Locked

2017-09-06 Thread Fernando Cabral
> ___ > Gambas-user mailing list > Gambas-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- Fernando Cabral Blogue: http://fernandocabral.org Twitter: http://twitter.com/fjcabral e-mail: fernandoj

Re: [Gambas-user] Fwd: [Gambas Bug Tracker] Bug #1161: Class Editor is Locked

2017-09-05 Thread Fernando Cabral
k. How come? Every single directory and file is rwxrwxrwd. They all belong to me (owner and group). This issue has mystified me for several months now. I had settled down and accepted the idea of keeping using the virtual machine to do the editing. Until this morning, when someone else refered to the sam

Re: [Gambas-user] Fwd: [Gambas Bug Tracker] Bug #1161: Class Editor is Locked

2017-09-05 Thread Fernando Cabral
ocated? Have you tried copying the project > to your home directory? > > It is on my home directory (everything is under /home/fernando/Dropbox/Gambas/*"). Directory Dropbox is a local directory that is replicated by Dropbox so I have a copy available in other machines that respec

Re: [Gambas-user] Fwd: [Gambas Bug Tracker] Bug #1161: Class Editor is Locked

2017-09-05 Thread Fernando Cabral
. Basically, either they are empty or say "default". Regards - fernando 2017-09-05 8:24 GMT-03:00 Benoît Minisini via Gambas-user < gambas-user@lists.sourceforge.net>: > > > Message transféré > Sujet : [Gambas Bug Tracker] Bug #1161: Class Editor is Locked

Re: [Gambas-user] Fwd: [Gambas Bug Tracker] Bug #1161: Class Editor is Locked

2017-09-05 Thread Fernando Cabral
rom scratch. To my surprise, I had the same problem. I can't use the IDE. Now I know the locking has nothing to do with some left over files. Or some protection scheme I could have knowingly or unknowingly tinkered with. But, then, how can it work with a virtual machine with the same software

Re: [Gambas-user] OH NO - not this ? again...

2017-09-02 Thread Fernando Cabral
directory. It would be great to know what is the right thing to do. - fernando 2017-09-01 17:18 GMT-03:00 mikeB <mi...@my-audiosharing.com>: > eGreetings - The World of Gambas, > > Most likely most of you will be thinking "OH NO - not this subject again" > but I'm sure

Re: [Gambas-user] Why is this code running twice?

2017-08-02 Thread Fernando Cabral
2017-08-02 6:40 GMT-03:00 Fabien Bodard <gambas...@gmail.com>: > Ok Fernando ... your code is no so bad :-) > > > ==> the code revised > > Still being executed twice. I have not been able to understand why. Thanks. - fernando > ' Gambas class file > &g

Re: [Gambas-user] Why is this code running twice?

2017-08-02 Thread Fernando Cabral
2017-08-02 6:40 GMT-03:00 Fabien Bodard <gambas...@gmail.com>: > Ok Fernando ... your code is no so bad :-) > > I know. Some explanations bellow. > > First never call the resizing of the caneva in the drawing event as it > call itself the drawing event ... (norma

Re: [Gambas-user] Why is this code running twice?

2017-08-02 Thread Fernando Cabral
2017-08-02 7:05 GMT-03:00 Adrien Prokopowicz <adrien.prokopow...@gmail.com>: Le Wed, 02 Aug 2017 03:38:33 +0200, Fernando Cabral < > fernandojosecab...@gmail.com> a écrit: > > Besides, I have a question: when a drawing area is created, it (0,0) >> suppo

[Gambas-user] Why is this code running twice?

2017-08-01 Thread Fernando Cabral
dwgArea.H / 2) Paint.Brush = Paint.Color(Color.SetAlpha(Color.Red, 128)) Paint.LineWidth = 1For i = -15 To 195 Step 15 angle = Rad(CFloat(i)) Paint.MoveTo(0, 0) Paint.LineTo(Cos(angle) * W / 2, Sin(angle) * H / 2) Paint.Stroke Paint.Fill NextEnd* -- Fernando Cabral Blogue: http://fern

Re: [Gambas-user] I need help to start drawing with Gambas

2017-07-30 Thread Fernando Cabral
2017-07-30 17:51 GMT-03:00 Tobias Boege <tabo...@gmail.com>: > On Sun, 30 Jul 2017, Fernando Cabral wrote: > To get you started, you can find the ancient AnalogWatch example on the > software farm, which draws an analog wall clock. If you're proficient > with trigonometry y

[Gambas-user] I need help to start drawing with Gambas

2017-07-30 Thread Fernando Cabral
easy. I have line lengths and angles. I can use either or both to delineate the sundial face. I would guess I will have to resort to cairo or chart, but I don't know where to start from. I'd appreciate a few hints. Thanks. - fernando -- Fernando Cabral Blogue: http://fernandocabral.org Twitter

Re: [Gambas-user] why this could not be? error in runtime?

2017-07-28 Thread Fernando Cabral
sitionlen) Print strincharstrinchar = "test )after)r" strinchar = Mid(strinchar, 1, (InStr(strinchar, ")", -1) - 1))Print strinchar * Both print "test )after" - fernando 2017-07-28 22:02 GMT-03:00 Adrien Prokopowicz <adrien.prokopow...@gmail.com> :

Re: [Gambas-user] why this could not be? error in runtime?

2017-07-28 Thread Fernando Cabral
2017-07-28 20:46 GMT-03:00 PICCORO McKAY Lenz <mckaygerh...@gmail.com>: > 2017-07-28 17:17 GMT-04:00 Fernando Cabral <fernandojosecab...@gmail.com>: > >> > in the following code: >> > strinchar = Mid(strinchar, 1, InStr(strinchar, ")", -1)

Re: [Gambas-user] why this could not be? error in runtime?

2017-07-28 Thread Fernando Cabral
t to Mid(). Please, check it up. - fernando > IDE said error invalid argument, but if i do: > > psotionlen = InStr(strinchar, ")", -1) - 1 > strinchar = Mid(strinchar, 1, psotionlen) > > works, why? > > i wnat to remove the last occurence of a char but bybass some po

Re: [Gambas-user] traslate grep expresion to detect COMMENT in line sql

2017-07-28 Thread Fernando Cabral
used with pcre componte. I only gave you the search and replace regular expression. Something like NewLine = RegExp.Replace(OldLIne, "^(.*?) COMMENT +?(".*?")(,.*?)", "&1 \*&2*/&3", RegExp.UTF8) But, since I presume you'll be using it several times, t

Re: [Gambas-user] replace beetween two strings

2017-07-28 Thread Fernando Cabral
nd the next after that ocurrence.. > ".*?data (.*?) data2" saves the substring between "data" and "data2" to the first buffer. You can recover it with &1 (\1 in more traditional regex replace). - fernando > > i try to do but in the for each alw

Re: [Gambas-user] textarea won't accept text

2017-07-28 Thread Fernando Cabral
Perhaps Bill has met the same problem I have here. I can't use IDE in my regular machines because it will not take anything from the keyboard. I only can edit my source code using a virtual machine. Nevertheless - I must add - the textarea in my program is working fine. - fernando 2017-07-28 12

Re: [Gambas-user] traslate grep expresion to detect COMMENT in line sql

2017-07-28 Thread Fernando Cabral
from buffer 1, add "\*", put back the contents of buffer 2, add "*/" and then put back the contents of buffer number 3. You may have to tinker around a little, but I think this contains the basic ideia. - fernando Lenz McKAY Gerardo (PICCORO) > http://qgqlochekone.blog

Re: [Gambas-user] Pre-release of Gambas 3.10.0

2017-07-18 Thread Fernando Cabral
erent. I think saying Gambas has not "enough support and vision" is not a good way to obtain what you want. Those are my two cents. After that, I'll shut my mouth up as far as this issue is concerned. Best regards - fernando 2017-07-18 19:27 GMT-03:00 PICCORO McKAY Lenz &

Re: [Gambas-user] My quest for efficiency

2017-07-16 Thread Fernando Cabral
Gambas-user wrote: > >> Le 15/07/2017 à 20:49, Tony Morehen a écrit : >> >>> Did you try Benoit's suggestion: >>> >>> Public Sub Main() >>> >>>Dim sIn as String >>>Dim sOut as String >>> >>>sIn = F

Re: [Gambas-user] My quest for efficiency

2017-07-15 Thread Fernando Cabral
;fp = fopen("/home/fernando/temp/deah001.dhn", "r");while((c = fgetc(fp)) != EOF) {putchar(c + 11);}fclose(fp);return 0;}* I am sure there is a way to do this efficiently in Gambas.Certainly not in 1 second, as it happened here, but perhaps in 5 o

[Gambas-user] My quest for efficiency

2017-07-15 Thread Fernando Cabral
ower and slower as the string grows, is still way faster than the second option. To me it does not make sense. Does it for you? Also, is there a faster way to do this? -- Fernando Cabral Blogue: http://fernandocabral.org Twitter: http://twitter.com/fjcabral e-mail: fernandojosecab...@gmail.com Faceboo

Re: [Gambas-user] how to log to stdout/stderr

2017-07-13 Thread Fernando Cabral
per) you can either open a pipe to the printer daemon or else create a file and then use a shell () instruction to print and delete that file. Both should work well. - fernando > Lenz McKAY Gerardo (PICCORO) > http://qgqlochekone.blogspot.com > > 2017-07-13 19:54 GMT-04:00 Fernando Cabral &l

Re: [Gambas-user] how to log to stdout/stderr

2017-07-13 Thread Fernando Cabral
direct stderr and stdout to /dev/null. I would guess that a daemon started at startup or by cron would give the same result. Am I wrong? Regards - fernando > [1] https://sourceforge.net/p/gambas/mailman/gambas-user/ > thread/1498036647346-59450.post%40n7.nabble.com/#msg35904830

[Gambas-user] About gambas, the word

2017-07-13 Thread Fernando Cabral
gamberetto". Nevertheless, at the first sight, it is hard to see that "gamba" and "camarão" come from the same Greek word. -- Fernando Cabral Blogue: http://fernandocabral.org Twitter: http://twitter.com/fjcabral e-mail: fernandojosecab...@gmail.com Facebook: f...@fca

Re: [Gambas-user] Best ways to format float values

2017-07-13 Thread Fernando Cabral
the decimal separator. This means in the example above, result will be 100.56. If the number was 100.5 it would be rounded to 100.6. Again, I dont know if those are the best way to do it, but it works. Regards -fernando 2017-07-13 2:39 GMT-03:00 alexchernoff <alexchern...@hotmail.

Re: [Gambas-user] How to make installation package

2017-07-07 Thread Fernando Cabral
le >>> repo. >>> >>> Hope this explains all. >> >> Willy, it does explain. Just to be on the safe side: a) It means Gambas iteself is not installed when we run the package installer, right? b) What do the *.deb files do? Just copy the sorce code and the bytecod

Re: [Gambas-user] What is the simplest way to display text properties in Gambas?

2017-07-06 Thread Fernando Cabral
Based on the image you've sent a link to, I have not been able to understand how to do it. Thank you. - fernando 2017-07-06 11:08 GMT-03:00 Charlie <char...@cogier.com>: > Fernando Cabral wrote > > I'd like to display text highlights like bold and italics. Can I do it >

[Gambas-user] How to make installation package

2017-07-05 Thread Fernando Cabral
*.deb files. Now, here are the issues: 1) They are all small files, so, for sure, they do not contain the interpreter 2) trying to install the deb files results in nothing (no error message, but nothing happens) Is there a wiki page where I can get better information on how to do this? -- Fe

[Gambas-user] What is the simplest way to display text properties in Gambas?

2017-07-05 Thread Fernando Cabral
I'd like to display text highlights like bold and italics. Can I do it using TextArea? If yes, how? If I can't which resource should I use? Regards - fernando -- Fernando Cabral Blogue: http://fernandocabral.org Twitter: http://twitter.com/fjcabral e-mail: fernandojosecab...@gmail.com

Re: [Gambas-user] Isn't bracket regular expression compatible with UTF8?

2017-07-05 Thread Fernando Cabral
issed this. Thank you. - fernando 2017-07-05 6:37 GMT-03:00 Tobias Boege <tabo...@gmail.com>: > On Tue, 04 Jul 2017, Fernando Cabral wrote: > > I have been trying something like *poder[^[:alpha:]* so I could find > the > > word "poder " ("poder"

Re: [Gambas-user] Mystery with file.load and regexp

2017-07-05 Thread Fernando Cabral
then after that what I have is an empty string. So, I can't blame Split() for bringing it in. Unless I explicitly tell Split() to drop it. Yes, in this case, the bug was in my brain. It is called lack of knowledge or faulty reasoning. Thank you bb and Tony for showing me the light. - fernando

Re: [Gambas-user] Mystery with file.load and regexp

2017-07-04 Thread Fernando Cabral
I have found and worked around the problem. When you do the following: *Dim Expressions as string[] = Split(File.Load("/home/fernando/.config/libreoffice/4/user/basic/indesejaveis.txt"), "\n") * The last item pushed into *Expressions* is an empty string ("")

[Gambas-user] Mystery with file.load and regexp

2017-07-04 Thread Fernando Cabral
quot;@" & Searchfor[n] &"@\n"* in both cases I will see precisely the same output. I can't distinguish one from the other. So, why it compiles in the first case, but does not in the second? This is the mystery I must solve with a little help from a good soul out there. - f

[Gambas-user] Isn't bracket regular expression compatible with UTF8?

2017-07-04 Thread Fernando Cabral
werless". Problem is that it seems [^[alpha]] includes accented characters like "á", "é", "ã". That is, accented characters are not understood as alpha, but not alpha. Please, note that I have compiled it with the UTF8 flag: * re.Compile(poder[^[:alpha]], Reg

Re: [Gambas-user] Is it possible to read a file directly into an array?

2017-07-04 Thread Fernando Cabral
Well, I found a very easy way to do it: *Dim Wordlist as string []* *Wordlist = Split(File.Load("strings.txt"), "\n")* It seems it can't be easier, can it? 2017-07-04 12:06 GMT-03:00 Fernando Cabral <fernandojosecab...@gmail.com>: > Is there a straightforwar

[Gambas-user] Is it possible to read a file directly into an array?

2017-07-04 Thread Fernando Cabral
] = "a" word[1] = "b" word[2] = "c" Yes, I know I can LINE INPUT each line and copy it into the array. But I have seen that Gambas has so many shortcuts that perhaps there is one for this operation too. Any hints? Regards - fernando -- Fernando Cabral Blogue: htt

Re: [Gambas-user] Any (easy) way to render RTF or HTML with gambas?

2017-07-04 Thread Fernando Cabral
them. *Private $hPdf As New PdfDocumentPublic Sub Form_Open() Me.Center Try $hPdf.Open("/home/fernando/.config/libreoffice/4/user/basic/EmpregoDoHífen.pdf") If Error Then Message.Error("Unable to open the file : " & "/home/fernando/.co

Re: [Gambas-user] Any (easy) way to render RTF or HTML with gambas?

2017-07-02 Thread Fernando Cabral
eleted the part that allows the user to select a PDF file. Instead I put a path/filename as a constant. Only problem is that I have not found how to change font size. Even so, it delivers what I needed. Thank you. - fernando > > So this tool is good for display Documents such as pdf or rep

Re: [Gambas-user] Any (easy) way to render RTF or HTML with gambas?

2017-07-02 Thread Fernando Cabral
Thank you Gianluigi. It seems there more than one way to skin this cat. I believe the problem has to do with my ignorance concerning Gambas. I have just found a DocumentView that will probably work too. Since I have a full example of this usage, I'll probably try it first. Thank you. - fernando

Re: [Gambas-user] Any (easy) way to render RTF or HTML with gambas?

2017-07-02 Thread Fernando Cabral
ould guess textedit1.text is in a form that, when displayed, will render the file correctly. But then again, I can't find the rest of the code. Thank you. - fernando 2017-07-02 10:07 GMT-03:00 PICCORO McKAY Lenz <mckaygerh...@gmail.com>: > hi fernando,, u must read as stream.. see it:

[Gambas-user] Any (easy) way to render RTF or HTML with gambas?

2017-07-02 Thread Fernando Cabral
Read Line Input #TextFile, RtfText FMain.LoadText(RtfFile) *' Here is the rub! * FMain.ShowmodalEnd* Regards - fernando -- Fernando Cabral Blogue: http://fernandocabral.org Twitter: http://twitter.com/fjcabral e-mail: fernandojosecab...@gmail.com Facebook: f...@fcabral.com.br Telegram: +55

[Gambas-user] Fwd: Problem to be examined by those who must use UTF8 with Gambas

2017-07-01 Thread Fernando Cabral
-- Forwarded message -- From: Fernando Cabral <fernandojosecab...@gmail.com> Date: 2017-07-01 17:34 GMT-03:00 Subject: Re: [Gambas-user] Problem to be examined by those who must use UTF8 with Gambas To: Jussi Lahtinen <jussi.lahti...@gmail.com> 2017-07-01 16:15 GMT

[Gambas-user] Problem to be examined by those who must use UTF8 with Gambas

2017-07-01 Thread Fernando Cabral
th * RawText = RegExp.Replace(RawText, "à", "À")* It does not work anymore. But if I do *RawText = RawText & "À"* And RawText did not contain "À" before, then it will be displayed. Amazing. Any ideas about why this happens? Regards - ferna

[Gambas-user] Eliminating duplicates real fast... but adding text do textarea works in a snail pace

2017-07-01 Thread Fernando Cabral
not be. And a innocent-looking function might be the killer. Thank you guys for your help. I've learned a lot about Gambas as well as about algorithms. Regards - fernando -- Fernando Cabral Blogue: http://fernandocabral.org Twitter: http://twitter.com/fjcabral e-mail: fernandojosecab...@gmail.com

Re: [Gambas-user] any way to convert Result to Collection more faster than copy?

2017-07-01 Thread Fernando Cabral
gambas and try something different. If gambas can not do what you have to do, then I see no point in insisting. But, if you want to get some help in clarifying this issue, then you' be better be more specific. Regards - fernando > > > > > rgrds > > b &g

Re: [Gambas-user] I need a hint on how to deleted duplicate items in a array

2017-06-30 Thread Fernando Cabral
gt;> result > >>> of one of the jobs. The output you get is only worth half the time you > >>> spent. > >>> > >>> > >> I did two functions in one, just to save space, this is a simple > example. > >> :-) > >> > >>

Re: [Gambas-user] I need a hint on how to deleted duplicate items in a array

2017-06-30 Thread Fernando Cabral
2017-06-30 7:44 GMT-03:00 Fabien Bodard <gambas...@gmail.com>: > The best way is the nando one ... at least for gambas. > > As you have not to matter about what is the index value or the order, > the walk ahead option is the better. > > > Then Fernando ... for big, big

Re: [Gambas-user] I need a hint on how to deleted duplicate items in a array

2017-06-27 Thread Fernando Cabral
Jussi said: > As Fernando stated your code is good only for small arrays. But if someone >is going to use it, here is correct implementation: No, Jussi, I didn't say it is good only for small arrays. I said some suggestions apply only to small arrays because if I have to traverse the array

Re: [Gambas-user] I need a hint on how to deleted duplicate items in a array

2017-06-27 Thread Fernando Cabral
= 49,995,000 My program has to face a few thousand items, so not sorting does not seem a good option. Regards - fernando 2017-06-27 12:59 GMT-03:00 <nand...@nothingsimple.com>: > Well, there is complicated, then there is simplicity: > I tested this. Works for sorted, unsorted. > Can't

Re: [Gambas-user] I need a hint on how to deleted duplicate items in a array

2017-06-27 Thread Fernando Cabral
Gambas, so I have found myself coding things that were not needed. For instance, I coded some functions to do quicksort and bubble sort and then I found Array.sort () was available. Therefore, I waisted my time coding those quicksort and bubble sort functions.... :-( Regards - fernando > If you

[Gambas-user] I need a hint on how to deleted duplicate items in a array

2017-06-27 Thread Fernando Cabral
, if I have, say A B B C D D In the first option, I want to have A B C D In the second option, I want to have 1 A 2 B 1 C 2 D Any hints on how to do this using some Gambas buit in method? Note; Presently I have been doing it using external calls to the utilities sort and uniq. Regards - fernando

Re: [Gambas-user] usage of too much GOTO can be bad pracitce or make influence in the code?

2017-06-25 Thread Fernando Cabral
s hard to think and code bottleneck could be solved with GOTOs. If it is inefficient, it will continue to be so even if you spread GOTOs all over. Many of us consider GOTOs to be an unecessary and confusing command. But If you feel that using GOTO is your way to go, by all means, use it. Regards

Re: [Gambas-user] usage of too much GOTO can be bad pracitce or make influence in the code?

2017-06-25 Thread Fernando Cabral
making it unreadable. But then again, "breaks" and "loops" might work better even when you have nested loops. My two cents. Regards - fernando > Christof Thalhofer > > -- > Dies ist keine Signatur > > >

Re: [Gambas-user] usage of too much GOTO can be bad pracitce or make influence in the code?

2017-06-22 Thread Fernando Cabral
e a single block of 4.000 lines of code. It should have been broken down into a few tens or pehaps hundreds functions. It means, even thou I don't know your code, I would guess it has not been well thought out.. Regards - fernando be put into a meaningful class. An object of this class contains a

Re: [Gambas-user] Help needed from regexp gurus

2017-06-19 Thread Fernando Cabral
, but that only consumes another half a second for the same 150-page long document. Now I am happy and I feel stimulated to complete the code and do some polishing. Thank you, Tobi and Jussi. You have helped a lot. 2017-06-17 18:06 GMT-03:00 Tobias Boege <tabo...@gmail.com>: > On Sat, 1

Re: [Gambas-user] Help needed from regexp gurus / String.Mid() and Mid$() implementation

2017-06-18 Thread Fernando Cabral
gain, I am quite willing to go back to Split () and then do soma massaging in those situations where results are less than perfect. Thank you for the many hints you've provided me with. Regards - fernando 2017-06-18 11:08 GMT-03:00 Tobias Boege <tabo...@gmail.com>: > On Sat, 17

Re: [Gambas-user] Help needed from regexp gurus

2017-06-17 Thread Fernando Cabral
retrieved in the following manner: for i = 0 to 2 print mid(s, p[i], l[i]) next I think this would be the most efficient way to do it. But I can't find how to do it in Gambas using Regex. Regards - fernando 2017-06-17 18:06 GMT-03:00 Tobias Boege <tabo...@gmail.com>: > On Sat,

Re: [Gambas-user] Help needed from regexp gurus

2017-06-17 Thread Fernando Cabral
Thank you, Tobi, for taking the time to comment on my issues. I will ponder the following. 2017-06-17 18:06 GMT-03:00 Tobias Boege <tabo...@gmail.com>: > On Sat, 17 Jun 2017, Fernando Cabral wrote: > >> Still beating my head against the wall due to my lack of knowledge a

[Gambas-user] Help needed from regexp gurus

2017-06-17 Thread Fernando Cabral
me (like advancing with string.mid() and resorting to re[1].text and re.text. -- Fernando Cabral Blogue: http://fernandocabral.org Twitter: http://twitter.com/fjcabral e-mail: fernandojosecab...@gmail.com Facebook: f...@fcabral.com.br Telegram: +55 (37) 99988-8868 Wickr ID: fernandocabral WhatsApp: +55

[Gambas-user] I ask for examples of regex functions usage

2017-06-15 Thread Fernando Cabral
so far hints on these possibilities, but there are no full-fledged examples. I wonder if those of you who have been using regex more extensively can send me (or point me to) some code sample where the Regex family of methods and parameters are more intensively used. Best regards - fernando

Re: [Gambas-user] Fwd: ​ Re: Keyboard locked -- insisting one more time

2017-06-11 Thread Fernando Cabral
I've now installed gambas 3.9.90. Unfortunately, the keyboard is still locked. How about you, guys, who had the same problem I have? Still having it, or has it been solved with the last revision? - fernando 2017-05-25 16:15 GMT-03:00 Fabien Bodard <gambas...@gmail.com>: > --

Re: [Gambas-user] How can I force linux mint to upgrade gambas3 to the last update?

2017-06-11 Thread Fernando Cabral
not have the time or knowledge to do what is required (It is not that I am lazy; it is because time has been quite scarce. Maybe I should try the unstable version... Regards - fernando 2017-06-11 17:02 GMT-03:00 Gianluigi <bagone...@gmail.com>: > +1  > I also use the version of Gam

Re: [Gambas-user] How can I force linux mint to upgrade gambas3 to the last update?

2017-06-11 Thread Fernando Cabral
) that they would be incorporated into the stable version. So, I will stay with the stable version and wait until the changes are made available for general use. Meanwhile, I'll keep using the workaround for the keyboard locking issue. Thank you. - fernando 2017-06-11 11:33 GMT-03:00 Tobias Boege <t

[Gambas-user] How can I force linux mint to upgrade gambas3 to the last update?

2017-06-11 Thread Fernando Cabral
is: is there a way for me to get the latest revision without having to go thru the pains of finding out how to overcome the issues with the disabled modules and compiling from source? Regards - fernando -- Fernando Cabral Blogue: http://fernandocabral.org Twitter: http://twitter.com/fjcabral e-mail

Re: [Gambas-user] Gambas-Documentation

2017-06-06 Thread Fernando Cabral
Agreed, Honsek. I am a newcomer, I liked Gambas at first sight, but I have had a hard time finding proper documentation and good examples on how-to. - fernando 2017-06-06 7:53 GMT-03:00 Hans Lehmann <h...@gambas-buch.de>: > A warm Hello to all friends of the Gambas programming

Re: [Gambas-user] Regex - expert opinion requested

2017-06-01 Thread Fernando Cabral
sending you the links so you can get them from Dropbox: https://www.dropbox.com/s/6prpw8l7bir177f/AnalisaSentenca-0.0.665.tar.gz?dl=0 https://www.dropbox.com/s/82adoan7ojbwvbn/Legibilidade-odt-0.0.354.tar.gz?dl=0 https://www.dropbox.com/s/3n637e7g8rwqzfd/PauloCoelho.odt?dl=0 https://www.dropbox.com/s

[Gambas-user] Regex - expert opinion requested

2017-05-31 Thread Fernando Cabral
t does the same thing using loops and searching for the characters I want in or want out. The whole thing runs in about 5 seconds (but this code took me much, much longer do write). I wonder if any of you could suggest potentially faster RegExp that could replace the specimens above. Regard - fe

[Gambas-user] Reg expression still beating me up

2017-05-28 Thread Fernando Cabral
*?\n*?", "" To my eyes, "[.:!?;]*[ ]*?\n*?" is a perfectly valid regular expression. Any hints? -- Fernando Cabral Blogue: http://fernandocabral.org Twitter: http://twitter.com/fjcabral e-mail: fernandojosecab...@gmail.com Facebook: f...@fcabral.com.br Telegram: +55 (37) 99988-

Re: [Gambas-user] ​ Re: Keyboard locked -- insisting one more time

2017-05-24 Thread Fernando Cabral
2017-05-24 20:31 GMT-03:00 Jussi Lahtinen <jussi.lahti...@gmail.com>: > Please post the replies to the list, so that Benoit will see them. I don't > know enough about the topic. > Sorry. I thought I had. > > > Jussi > > On Thu, May 25, 2017 at 1:46 AM, Ferna

Re: [Gambas-user] ​ Re: Keyboard locked -- insisting one more time

2017-05-24 Thread Fernando Cabral
t; Mail : glaucio.de.ara...@gmail.com > TIM : (11) 95900-7801 (WhatsApp / Telegram) > > 2017-05-24 7:25 GMT-03:00 Benoît Minisini <gam...@users.sourceforge.net>: > > > Le 24/05/2017 à 08:44, Fabien Bodard a écrit : > > > We need to wait for Benoit as it's a misstake on t

Re: [Gambas-user] ​ Re: Keyboard locked -- insisting one more time

2017-05-24 Thread Fernando Cabral
Benoît says: > I'm not sure it's a mistake in rev 8132. Fernando must check with an > older revision to see if the problem comes from it. When the problem appeared, I downgraded to the version I had on the Mint repository. I did not work. So, whatever has changed (either on the operating

Re: [Gambas-user] ​ Re: Keyboard locked -- insisting one more time

2017-05-24 Thread Fernando Cabral
e misconfigured on your VM perhaps (I mean > on the Virtualbox settings)? It is the other way around: Gambas 3.9.2 runs flawlessly on the Virtual Box. The keyboard locks in the real machine -- even when the keyboard is the same for both machines. Regards - fernando 2017-05-24 1:23 GMT-03:00 Dimit

Re: [Gambas-user] What is the maximum text we can put on a TextArea?

2017-05-23 Thread Fernando Cabral
e failure. Which makes sense, since different strings have given different limits on the test I've performed. Thank you. - fernando 2017-05-23 13:58 GMT-03:00 Tobias Boege <tabo...@gmail.com>: > On Tue, 23 May 2017, Fernando Cabral wrote: > > How much text can we display on

[Gambas-user] What is the maximum text we can put on a TextArea?

2017-05-23 Thread Fernando Cabral
How much text can we display on TextArea? Even after performing serval tests I couldn' t find out. It seems sometimes I can display 7000 characters, sometimes twice as much. Perhaps someone can point me the proper documentation. Thanks - fernando -- Fernando Cabral Blogue: http

Re: [Gambas-user] Editing still blocked

2017-05-22 Thread Fernando Cabral
it, and then switch back to the real machine, where I test it. b) Running on the real machine, I edit the source code using vi. After saving the edited file I reload it on the gambas IDE, compile it and test it. Cumbersome, perhaps, but workable enough to let me keep learning gambas Regards - fernando 2017

Re: [Gambas-user] Keyboard locked -- insisting one more time

2017-05-15 Thread Fernando Cabral
running Mint 18.1 (and the same on the virtual machine...) It seems Benoît thinks it has to do with keyboard input. He suggested I changed Xinput method, but did not give any hints on what to change. - fernando 2017-05-15 9:53 GMT-03:00 Glaucio Araujo <glaucio.de.ara...@gmail.com>: > L

Re: [Gambas-user] ​ Re: Keyboard locked -- insisting one more time

2017-05-15 Thread Fernando Cabral
, but has worked. I would ask you to try running "sudo gambas3". If you can edit your files as superuser, then it will be very likely that we have exactly the same problem. Saudações - fernando 2017-05-14 18:19 GMT-03:00 Glaucio Araujo <glaucio.de.ara...@gmail.com>: > Hi, &g

Re: [Gambas-user] Keyboard locked -- insisting one more time

2017-05-13 Thread Fernando Cabral
am glad you and others have tried so hard to help me. - fernando 2017-05-13 13:07 GMT-03:00 Tobias Boege <tabo...@gmail.com>: > On Sat, 13 May 2017, Fernando Cabral wrote: > > Using IDE I can't edit my source code. It seems locked up. To no avail, I > > have followed ever

Re: [Gambas-user] Keyboard locked -- insisting one more time

2017-05-13 Thread Fernando Cabral
Benoît, for me, hic sunt dracones. What should I change? Regards Fernando 2017-05-13 12:24 GMT-03:00 Benoît Minisini <gam...@users.sourceforge.net>: > Le 13/05/2017 à 15:56, Fernando Cabral a écrit : > >> Using IDE I can't edit my source code. It seems locked up. To n

[Gambas-user] Keyboard locked -- insisting one more time

2017-05-13 Thread Fernando Cabral
crazy, will be much appreciated. I have already lost a bunch of hours trying to figure this out, but have made no progress so far. Regards - fernando -- Fernando Cabral Blogue: http://fernandocabral.org Twitter: http://twitter.com/fjcabral e-mail: fernandojosecab...@gmail.com Facebook: f

Re: [Gambas-user] Editing still blocked

2017-05-10 Thread Fernando Cabral
the keyboard. Regards - fernando 2017-05-10 3:47 GMT-03:00 Rolf-Werner Eilert <rwe-...@osnanet.de>: > Am 10.05.2017 01:04, schrieb Jussi Lahtinen: > > Maybe some window manager setting steal focus from the editor..? > > > > > > Jussi > > > > > F

Re: [Gambas-user] Editing still blocked

2017-05-09 Thread Fernando Cabral
Here goes the the archive generated as instructed. (Code quality is pretty poor because this was my first try at gambas). - fernando 2017-05-09 18:56 GMT-03:00 Jussi Lahtinen <jussi.lahti...@gmail.com>: > Can you try to re-send the project directory as the file you

Re: [Gambas-user] Editing still blocked

2017-05-09 Thread Fernando Cabral
> 2017-05-09 19:01 GMT-03:00 Jussi Lahtinen <jussi.lahti...@gmail.com> wrote: > Also what happens if you try to edit the project with regular text editor, > instead of Gambas? > They all can be edited. For instance, with vi. No problem. - fernando > > Jussi > > On

Re: [Gambas-user] Editing still blocked

2017-05-09 Thread Fernando Cabral
ned nihil. So, not a trace from gambas. Then I reinstalled anew using the regular apt-get (no PPA). Installed version is now 3.8.4 IDE still locked. This mystifies me. There must be a file somewhere whose name does not contain "gambas" that says I should not be able to edit any source cod

Re: [Gambas-user] Editing still blocked

2017-05-08 Thread Fernando Cabral
>Can you send a tar.gz archive of your project directory? I am sending one. Do you need them all? (tar compressed) Regards - fernando legibilidade Description: Binary data -- Check out the vibrant tech commun

Re: [Gambas-user] Editing still blocked

2017-05-08 Thread Fernando Cabral
appeared after I had downloaded docEditor from the farm. After that, editing has been locked. But I can't affirm there is a cause/effect here.For the time being, I see it as a coincidence. Regards - fernando 2017-05-08 11:11 GMT-03:00 Karl Reinl <karl.re...@fen-net.de>: > Am Montag, den 0

Re: [Gambas-user] Editing still blocked

2017-05-08 Thread Fernando Cabral
P Thu Apr 20 10:55:59 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux That, in fact, is Linux Mint 8.1 Serena. Thank you. - fernando > > Jussi > > On Mon, May 8, 2017 at 3:37 PM, Fernando Cabral < > fernandojosecab...@gmail.com> wrote: > >> > 2017-05-08 8:43 GMT-03:00 C

Re: [Gambas-user] Editing still blocked

2017-05-08 Thread Fernando Cabral
s born locked for editing. Regards - fernando 2017-05-08 8:43 GMT-03:00 Charlie <char...@cogier.com>: > Have you checked the Edit menu, there is a 'Locked' feature there. This is > just a guess as 'Everything is locked' is a little vague. > > > > - > Check out www

[Gambas-user] Editing still blocked

2017-05-08 Thread Fernando Cabral
gambas to keep the whole thing locked. Isn't there? I'd appreciate if someone can give me some more ideas to try. Regards - fernando -- Fernando Cabral Blogue: http://fernandocabral.org Twitter: http://twitter.com/fjcabral e-mail: fernandojosecab...@gmail.com Facebook: f...@fcabral.com.br

Re: [Gambas-user] gambas editor is locked

2017-05-02 Thread Fernando Cabral
Karl wrote: > your rights are ideal. If you lock them, inside /.src you will find > -r--r--r-- 1 fernando fernando. > Did you check inside /.src ? Yes, using "find ... ls -la" I checked one by one. They all have at least the access permission indicated. > If inside /.src f

Re: [Gambas-user] gambas editor is locked

2017-05-02 Thread Fernando Cabral
directories bellow oliviercruilles and they have the permissions set to at least the following: drwxr-xr-x 3 fernando fernando -- if a directory -rw-r--r-- 1 fernando fernando -- if a file Now, to run "chmod -R" what is the ideal permission setting? Regards - fernando 201

Re: [Gambas-user] gambas editor is locked

2017-05-02 Thread Fernando Cabral
Karl wrote: >I suppose You have opened the example projects, is it? > Just save you a local copy by 'save as'.. I did download and open gbDocEditor. Do you mean it can lock all my projects? If so, what else can I do to unlock it? Saving as did not seem to work. - fernando 2017-05-02 3:

[Gambas-user] gambas editor is locked

2017-05-01 Thread Fernando Cabral
o fix this? -- Fernando Cabral Blogue: http://fernandocabral.org Twitter: http://twitter.com/fjcabral e-mail: fernandojosecab...@gmail.com Facebook: f...@fcabral.com.br Telegram: +55 (37) 99988-8868 Wickr ID: fernandocabral WhatsApp: +55 (37) 99988-8868 Skype: fernandojosecabral Telefone fixo: +5

  1   2   >