Page 5 of 10

Posted: Wed May 14, 2008 11:14 pm
by SofT MANiAC
WOW! Now it works! 8) 8) 8)
Thanks, thanks, thanks!

Posted: Wed May 14, 2008 11:15 pm
by eddy
eddy wrote:[version v3.2b]
FIXED : saving parameters (v3.2) :oops:
It was my fault I broke my previous version because of only one line. :shock:
I can continue to add features now :lol:

btw, what kind of OOP precompiler did you test ?

Posted: Wed May 14, 2008 11:22 pm
by SofT MANiAC
eddy wrote:btw, what kind of OOP precompiler did you test ?
it's not a precompiler. it's a my class generator based on the macroses

Posted: Sat May 17, 2008 9:18 am
by SofT MANiAC
Bug:

Code: Select all

ProcedureC Test()
ProcedureReturn 1
EndProcedure
No indentation

Posted: Sat May 17, 2008 10:14 am
by SofT MANiAC
Another bug:

Code: Select all

Macro MyMacro1(a1, a2)
    Procedure test()
      Protected c
EndMacro

Macro EndMyMacro1
EndProcedure
EndMacro
MyMacro1 and EndMyMacro1 - Custom keywords

Posted: Sun May 18, 2008 1:37 pm
by eddy
sorry the next release will take more time.
Im fighting with scintilla regex for word-spacing. :evil:

Posted: Sun May 18, 2008 6:21 pm
by eddy
[version v3.3]
ADDED : format word-spacing
FIXED : ProcedureC indent

Code: Select all

If TEST( 1,2,3 ) = 4
	x =x+ 1/2:START ()		  ;// result		
EndIf
:arrow: formatted code

Code: Select all

If TEST(1, 2, 3)=4
	x=x+1/2 : START()		  ;// result		
EndIf
[/code]

Posted: Mon May 19, 2008 5:52 am
by SofT MANiAC
eddy wrote:[version v3.3]
ADDED : format word-spacing
good idea! 10x!

To wishlist:
I want to use '( 1,2 ,3) -> (1, 2, 3)' and I don't want to format 'x = x' to 'x=x' . But all variants -> single option... New tab? :)

Posted: Mon May 19, 2008 8:25 am
by Foz
This is great! :)

One thing: the CompilerIf, etc doesn't indent.
Also, I prefer x = y over x=y, could this be an option please?

Posted: Mon May 19, 2008 8:25 am
by inc.
SofT MANiAC wrote:
eddy wrote:[version v3.3]
ADDED : format word-spacing
good idea! 10x!
http://www.purebasic.fr/english/viewtop ... highlight= ;-)


Anyhow, great work eddy. BTW: Do you take use of a lexer like remi meiers one or do you get the token via stringfield()-like commands?

Posted: Mon May 19, 2008 2:24 pm
by eddy
I used the scintilla regex function

Posted: Mon May 19, 2008 5:33 pm
by Michael Vogel
Fatal Error seen :(

Press "Enter" at the end of a source code line and then Alt-Backspace !

Michael

Posted: Mon May 19, 2008 7:32 pm
by SofT MANiAC
Michael Vogel wrote:Fatal Error seen :(

Press "Enter" at the end of a source code line and then Alt-Backspace !

Michael
I dont confirm this error

Posted: Mon May 19, 2008 11:10 pm
by eddy
I can't reproduce this bug ???

Posted: Tue May 20, 2008 7:44 am
by Michael Vogel
eddy wrote:I can't reproduce this bug ???
I pressed the following keys (no spaces) after creating a new source:

a <enter> a <anter> a <enter> <up> <up> <end> <enter> <alt-backspace>

That's it!

But it has only problems, if you have all options but Format word-spacing on !

Michael