Statusbar: Parameters listed with Highlightning-Error

Working on new editor enhancements?
AND51
Addict
Addict
Posts: 1040
Joined: Sun Oct 15, 2006 8:56 pm
Location: Germany
Contact:

Statusbar: Parameters listed with Highlightning-Error

Post by AND51 »

Hello!

Let's have a Macro with a default value containing commas:

Code: Select all

Macro Comma(text="In fact, this macro is useless, isnt it?", number=410)
   ; any code
EndMacro
Now, type this:

Code: Select all

Comma("my own text", 42
(Do not close the bracket to see the effect)

1.) Only the first part of the parameter is being highlighted.
2.) When typing the number, the text this macro is useless is highlighted instead of number=410.


I assume, the author works with StringField() to extract the parts... IMHO it'd be better to parse the text with a selfmade algorithm.
PB 4.30

Code: Select all

onErrorGoto(?Fred)
AND51
Addict
Addict
Posts: 1040
Joined: Sun Oct 15, 2006 8:56 pm
Location: Germany
Contact:

Post by AND51 »

Nobody else interested in fixing this error? Or is a screenshot requested?
PB 4.30

Code: Select all

onErrorGoto(?Fred)
freak
PureBasic Team
PureBasic Team
Posts: 5941
Joined: Fri Apr 25, 2003 5:21 pm
Location: Germany

Post by freak »

I did not get a chance to look at this yet, so please be a bit more patient. I will fix it...
quidquid Latine dictum sit altum videtur
AND51
Addict
Addict
Posts: 1040
Joined: Sun Oct 15, 2006 8:56 pm
Location: Germany
Contact:

Post by AND51 »

Okay... Thanks for reply. :)

IMHO a short reply should be given, so that I (and others) know, that their report will be processed. Then I wouldn't have been impatient.
PB 4.30

Code: Select all

onErrorGoto(?Fred)
Post Reply