1. Win32Lib IDE Extra Lines
- Posted by Matthew Lewis <MatthewL at KAPCOUSA.COM> Nov 08, 1999
- 502 views
I've been using David Cuny's IDE (a great help!), and have been troubled by the same extra lines that Irv has been stripping out. It seems that the problem comes from an extra '\n' being added to the puts() used in the writeControlToPrj/Exw in lines 121 and 233 of IDE_PROJ.EW. Keep up the good work, Dave! I like the multiple window support in the bleeding edge version. Having read (and peeked at the code) for the code editors, this may not be very easy, but a nice feature would be to have the code edit control resize with the window, to make writing code easier in there. Currently, I've been using the IDE to create the interface, and writing most of the program using EE, since I can have more code on the screen. Matthew W Lewis
2. Re: Win32Lib IDE Extra Lines
- Posted by Irv Mullins <irv at ELLIJAY.COM> Nov 08, 1999
- 494 views
Matthew Lewis <MatthewL at KAPCOUSA.COM> wrote: > I've been using David Cuny's IDE (a great help!), and have been troubled by > the same extra lines that Irv has been stripping out. It seems that the > problem comes from an extra '\n' being added to the puts() used in the > writeControlToPrj/Exw in lines 121 and 233 of IDE_PROJ.EW. Many thanks! I will patch my copy of the IDE, until Dave gets around to the next update. > Keep up the good work, Dave! I like the multiple window support in the > bleeding edge version. Having read (and peeked at the code) for the code > editors, this may not be very easy, but a nice feature would be to have the > code edit control resize with the window, to make writing code easier in > there. Good suggestion. Also, there are problems when deleting characters in the last line of the edit window. Cursor jumps a couple of lines up, but this causes no loss of data, if you're prepared for it, and don't keep hitting the bksp key blindly. Regards, Irv
3. Re: Win32Lib IDE Extra Lines
- Posted by David Cuny <dcuny at LANSET.COM> Nov 08, 1999
- 502 views
Matthew Lewis wrote: > It seems that the problem comes from an extra '\n' > being added to the puts() used in the writeControlToPrj/Exw > in lines 121 and 233 of IDE_PROJ.EW. Thanks, I'll try to get the fix into the latest bleeding edge - probably late tonight or tomorrow. I've got a number of other minor fixes (like getItem) that are in the release as well. I've been busy with other stuff, so Euphoria's taken the back seat for a while. > but a nice feature would be to have the code edit control resize with > the window That should not be too not that difficult; the GENERIC demo pretty much does the same thing. Thanks again! -- David Cuny
4. Re: Win32Lib IDE Extra Lines
- Posted by Matthew Lewis <MatthewL at KAPCOUSA.COM> Nov 09, 1999
- 491 views
Whoops! The solution was a little more involved than I thought. You actually need to check the sequence that's being puts()'d to see if it has a '\n' at the end. If not, you need to add it, or any new code you write becomes one very long line. Here's what I changed in writeControlToPrj in IDE_PROJ.EW for k = 1 to length( ctrl[Code][j] ) do if ctrl[Code][j][k][length( ctrl[Code][j][k] )] = '\n' then -- Need to check for '\n' to avoid adding blank lines puts( outFile, ctrl[Code][j][k] ) else puts( outFile, ctrl[Code][j][k] & '\n' ) end if end for The same thing goes for writeControlToEXW. Prolly figured it out already, Irv, but I thought I should mention it... Matthew W Lewis
5. Re: Win32Lib IDE Extra Lines
- Posted by David Cuny <dcuny at LANSET.COM> Nov 09, 1999
- 507 views
Matthew Lewis wrote: > Whoops! The solution was a little more involved than I thought. That looks more like it, and explains why I wasn't able to duplicate the errors. Thanks again! -- David Cuny