Page 2 of 3

Posted: Wed Aug 19, 2009 8:34 pm
by pcfreak
very nice, thanks :)

PS: can you please make it so that in the "Compiler Options" window, if
you are managing a project and switch between the targets, keeps the
panel index? makes it easier to adjust one option for every target

Posted: Wed Aug 19, 2009 9:01 pm
by oreopa
Great addition of the structure item autocomplete!

Really helpful with nested structures, and just general forgetfulness ;)

Thanx.

Posted: Thu Aug 20, 2009 8:04 pm
by RE-A
Is there a limit of code lines the beta 2 Linux version 4.40 can compile :shock:

My program is about 12500 lines and compiles fine under 4.31 but when I try it with the new beta version it only compiles 6000 lines and then the I get a ide freeze and have to kill the process :(

Posted: Fri Aug 21, 2009 2:13 pm
by Mistrel
Is this accurate?

Code: Select all

Structure ICONIMAGE
  icHeader.BITMAPINFOHEADER
  StructureUnion
  icColors.RGBQUAD[0]
  icXOR.b[0]
  icAND.b[0]
  EndStructureUnion
EndStructure
According to an article on MSDN, I don't believe this is a union:

http://msdn.microsoft.com/en-us/library/ms997538.aspx

Code: Select all

typdef struct
{
   BITMAPINFOHEADER   icHeader;   // DIB header
   RGBQUAD         icColors[1];   // Color table
   BYTE            icXOR[1];      // DIB bits for XOR mask
   BYTE            icAND[1];      // DIB bits for AND mask
} ICONIMAGE, *LPICONIMAGE;
Thanks for the great update. :)

Posted: Fri Aug 21, 2009 10:06 pm
by Mistrel
With the ability to new copy structures are there any plans to support passing structure by value to procedures?

Code: Select all

Structure That
  x.f
  y.f
  z.f
EndStructure

This.That\x=1
This.That\y=2
This.That\z=3

That.That=This
Debug That\x
Debug That\y
Debug That\z

;/ Cannot pass structure by value
Procedure Gnat(Grue.l, This.That)
EndProcedure

Posted: Fri Aug 21, 2009 10:45 pm
by blueznl
Hush, you just uncovered all 4.50 improvements!

:-)

Posted: Fri Aug 21, 2009 10:47 pm
by Mistrel
With the IDE for 4.40 crashing on me it's been very unpleasant to test. I keep losing my workspace! And because it crashes every time I close it the workspace never gets saved at all.

Please consider implementing this feature into the IDE:

http://purebasic.fr/english/viewtopic.php?t=35793

Posted: Fri Aug 21, 2009 11:19 pm
by blueznl
Crashes don't bother me too much anymore since I use numbered saves :-)

Posted: Sat Aug 22, 2009 12:34 am
by Mistrel
blueznl wrote:Crashes don't bother me too much anymore since I use numbered saves :-)
It's not the state of my files, blueznl. It's the state of the IDE (tabs, undo/redo stack). The most important thing is just the tabs. It's ridiculously annoying to have to run around and reopen my workspace every single time.

Backspace Unindent

Posted: Sun Aug 23, 2009 3:26 am
by nase09
Backspace Unindent (in the Editor) is still not implemented :(
I hope some day it is..
(I'm not talking about 'Tab-Unindent'-Stuff, it should work like it works in e.g. the Delphi 7 Ide.. If you use it once you'll love it..

Re: Backspace Unindent

Posted: Sun Aug 23, 2009 4:49 am
by Mistrel
nase09 wrote:Backspace Unindent (in the Editor) is still not implemented :(
I hope some day it is..
(I'm not talking about 'Tab-Unindent'-Stuff, it should work like it works in e.g. the Delphi 7 Ide.. If you use it once you'll love it..
You'll have to be more specific. I haven't used Delphi and have no idea what you're talking about.

Posted: Sun Aug 23, 2009 12:41 pm
by mback2k
I have used the Delphi IDE before and don't know what he is talking about, too.

The only difference is:
Indent: TAB = STRG+SHIFT+I
Unindent: SHIFT+TAB = STRG+SHIFT+U

Re: Backspace Unindent

Posted: Sun Aug 23, 2009 3:14 pm
by nase09
Mistrel wrote: You'll have to be more specific. I haven't used Delphi and have no idea what you're talking about.
Backspace Unindent 'aligns' the cursor with the previous line (if you press backspace it skips empty spaces..) - difficult to explain, but very natural if you know what I mean..
I tried to explain it here : http://www.purebasic.fr/english/viewtop ... highlight=
The Purebasic Editor already supports this 'input style' : if you press Return (the cursor position in the new line is aligned with the previeous line then - and Backspace Unindent does kind of the same for the backspace-key).

Posted: Tue Aug 25, 2009 8:56 pm
by Karbon
Impressive work guys! I'll try to compile kBilling with it soon.

Posted: Tue Aug 25, 2009 9:07 pm
by Psychophanta
Thanks!
to me, now, while Dreamotion3D 5 works on it, you ar going on the right way 8)