http://gambaswiki.org/bugtracker/edit?object=BUG.708=L21haW4-
ADMINISTRATOR changed the state of the bug to: Fixed.
--
___
Gambas-user mailing list
http://gambaswiki.org/bugtracker/edit?object=BUG.708=L21haW4-
Benoît MINISINI changed the state of the bug to: Closed.
--
___
Gambas-user mailing list
http://gambaswiki.org/bugtracker/edit?object=BUG.708=L21haW4-
Comment #31 by Benoît MINISINI:
Thanks. The bug should be fixed in revision #7297.
--
___
Gambas-user mailing
http://gambaswiki.org/bugtracker/edit?object=BUG.708=L21haW4-
Comment #30 by Jussi LAHTINEN:
In fact, this bug applies to any character, not just '. As long as it's single
character.
--
Monitor Your Dynamic
Comment #28 by Moviga TECHNOLOGIES:
No difference
--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user
Comment #27 by Benoît MINISINI:
I have optimized the code formatting routine in revision #7281, but normally
nothing changed relative to your bug. Can you confirm?
--
___
Comment #26 by Jussi LAHTINEN:
I can reproduce it in few try outs. Meaning adding and removing the ' few
times, and every time the * appears I save the file and continue trying.
--
Comment #25 by Moviga TECHNOLOGIES:
Did you try to restart Gambas? For me, the setting did not work right away. I
had to make a change in the file that made the asterix appear, then save... and
then the behaviour changed.
Comment #24 by Benoît MINISINI:
I'm still unable to reproduce the bug, even with this option set... :-/
--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
Comment #23 by Moviga TECHNOLOGIES:
That seems to be it! Good tracking :)
--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
Comment #9 by Benoît MINISINI:
OK, I will fix the message. But you should create another report! Don't put
different problems inside the same bug report.
--
___
Gambas-user
Comment #10 by Jussi LAHTINEN:
Can you try to take screenshot from error message generated of commented line?
--
___
Gambas-user mailing list
Comment #12 by Jussi LAHTINEN:
I understand that, you wrote "one way is that the code is not valid and it
gives me an error inside the comment". So maybe you could intentionally put
some obvious error in the code to re-create this situation (better to make
another copy of your project for
Comment #13 by Moviga TECHNOLOGIES:
I don't see where that would be helpful. To me the problem is that Gambas is
executing code that is commented out, or not executing code that has just been
uncommented. If Gambas believes this line is to be included in the program, and
it has invalid code,
Comment #16 by Benoît MINISINI:
I cannot reproduce the bug with your project...
1) Can you detail how you used the keyboard while running your example?
(if you comment the line by hitting the quote key, by using undo...)
2) Can you try to explicitly recompile the project with F7 before
Comment #17 by Jussi LAHTINEN:
In the video you can see that the modified file is not marked by the IDE as
modified (* is missing) when adding only '.
That's why the compiler is not run...
--
Moviga TECHNOLOGIES added an attachment:
CommentIssue.tar.gz
--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
Comment #15 by Benoît MINISINI:
Thanks. Now I guess the reason: the compiler is not called when you click on
run, whereas it should as you modified a source file...
I will investigate.
--
Benoît MINISINI changed the state of the bug to: Accepted.
--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
Comment #8 by Moviga TECHNOLOGIES:
The post above was messed up with a french message:
--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
Comment #7 by Moviga TECHNOLOGIES:
Well, one of the latest I've been working on is this:
Public Sub FormatPost(Post As String) As String
Dim sNewPost As String
Dim sSplitPost As String[]
Dim iLastPos As Integer = 1
Dim iStart As Integer
Dim iEnd As Integer
If InStr(Post,
Moviga TECHNOLOGIES added an attachment:
french.png
--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user
Comment #14 by Moviga TECHNOLOGIES:
I made a video. Take a look!
--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
Comment #11 by Moviga TECHNOLOGIES:
There is no error as long as the code is valid. It is just that the code is
run/not run regardless of the comment sign...
--
___
Moviga TECHNOLOGIES added an attachment:
comment-issue.avi.tar.gz
--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
Comment #18 by Moviga TECHNOLOGIES:
No, I suspected you would not get the same effect from that project :) Because,
I suppose you would have gotten it with any other project too then.
1) I used the quote key.
2) F7 does not help
3) Ran it at 21:59, and the FMain.class was last changed at 21:56
Comment #6 by Jussi LAHTINEN:
Can you give at least few lines of code where the problem has occurred?
I have tried to reproduce this in several ways without any success.
--
Comment #4 by Benoît MINISINI:
Oops... one 'a' too much.
--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
Comment #2 by Moviga TECHNOLOGIES:
Yes, it is correctly highlighted. It happes to any code anywhere...
The only ways I have found to circumvent it is to add a blank line so that the
code is on e.g. line 12 instead of 11, or to make a double comment ('').
It also works the other way around, when
Comment #3 by Benoît MINISINI:
Please a provide a way to reproduce that.
--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
Comment #5 by Moviga TECHNOLOGIES:
It just happens as I code... I have not seen any clear pattern of how it
happens, so I need to get back on that. Strange that nobody else is reporting
it. It causes a lot of unwanted behaviour.
Comment #19 by Zainudin AHMAD:
do you still get the same thing when using the default configuration ?
maybe you can rename the file ~/.config/gambas3/gambas3.conf for the
temporary. and try it with default configuration.
Moviga TECHNOLOGIES added an attachment:
gambas3.conf
--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
Comment #21 by Moviga TECHNOLOGIES:
Well now it is back... I changed my settings to the way I like them, and
also the colour scheme...
That seem to possibly be the trigger.
I will attach my config file
--
Comment #20 by Moviga TECHNOLOGIES:
Hmm... that seems to work :)
--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
Comment #22 by Jussi LAHTINEN:
Yes, that was it!
When you use "format on load & save" the file changed status is not correctly
set.
--
___
Gambas-user mailing list
Moviga TECHNOLOGIES reported a new bug.
Summary
---
Commented code is being run
Type : Bug
Priority : High
Gambas version : 3.8.90 (TRUNK)
Product : Development Environment
Description
---
The last week or so, I've been experiencing that code I have
Comment #1 by Jussi LAHTINEN:
What kind of commented code is run (please copy some example line of
code)?
Is the commented code correctly highlighted as commented in the IDE?
--
Monitor Your Dynamic Infrastructure at
38 matches
Mail list logo