Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
FBIde 0.3.1 -> 0.3.3
#11
Quote:Nek, we aren't using that on our IDE. No chance. Write it from scratch, we shall.

To tell you the truth, I really don't see the point in using any more than the standard controls apart from getting a nice save dialog. And imageindexing.

What the heck are you going to use then? :o The default textbox has a 64Kb limit and the richtextbox isn't really meant for code. :o (Not to mention the syntax highlighting stuff using selstart/select stuff is slow and ugly.)

That would be ironic. *Finally* having a freebasic compiler with no limits and then being stuck with an IDE with a 64kb limit. Big Grin Big Grin
Reply
#12
Well the textbox itself isn't limited to 64Kb, VB itself limits it that way....using the API the text box can be quickly changed to really unlimited ;-).

Like marcade, I recommend not using the RTB, you can try if you want to, but my own personal experience proved to be quite a contract to do and the RTB is bloated and slow at best for this kind of formatting.

CodeMax is the fastest control I've ever seen for this kind of job...and shouldn't be overlooked because it's a user control.

On the other hand, I agree to at least try to use VB only intrisic controls. But there will be consequences and repercussions if you try to use the RTB. :-). A friendly advice from one who's been there done that and decided to use CodeMax instead ;-).
hen they say it can't be done, THAT's when they call me ;-).

[Image: kaffee.gif]
[Image: mystikshadows.png]

need hosting: http://www.jc-hosting.net
All about ASCII: http://www.ascii-world.com
Reply
#13
Hello,

It is not either standard textbox nor richtextcontrol, it's a costom widget from wxWindows. anyway I can load files as big as there is memory so it isn't a problem. And it's not CV, but c++(mingw)

If anyone thinks he wants to help then please, I'd more then happy.

Tnx for the ideas though.
url]http://fbide.sourceforge.net/[/url]
Reply
#14
I probably can't help much... Most of my free time (being time that isn't committed to social or academic responsibilities) is spent making these inane posts, but I'd love to check out the source code. PM me or something, or send to spam at betterwebber dot com.
Reply
#15
I'll put the source with next release online.
url]http://fbide.sourceforge.net/[/url]
Reply
#16
Quote:Hello,

It is not either standard textbox nor richtextcontrol, it's a costom widget from wxWindows. anyway I can load files as big as there is memory so it isn't a problem. And it's not CV, but c++(mingw)

If anyone thinks he wants to help then please, I'd more then happy.

Tnx for the ideas though.

We were talking about a possible IDE in VB, not your IDE. Smile Your textbox is quite nice. Smile Wish I could something like that in VB.
Reply
#17
IMO, the good:
I like the grey marker on the left side for the line numbers.
The syntax highlighting is good.
The whitespace is a nice feature that i like. But maybe make the arrows white as well, just for consitency.
It looks like you got lots of features in like saving, undo, indenting, etc. etc.

the bad:
get rid of the grey bar when it's not being used for line numbers.
showing line endings is kinda useless.
it doesn't search specifically .bas files when it opens and doesn't save specifically as .bas.
get rid of blue screen, or allow it to be customized.
Jumping Jahoolipers!
Reply
#18
The default VB textbox seems to be limited to the limits of the OS. In Windows 98, it has a limit of around 32KB. In XP, I've found no practical limit, as I've loaded 9MB files into it. Notepad seems to use the same exact control, which explains why Windows 98 Notepad can only load files of around 32KB and XP Notepad can load anything.

aetherFox: CodeMax was the "even easier" method I was referring to. The RTB can also be used, of course, it's just a lot more work to accomplish the very basics, such as scope indentation and syntax coloring. There are no other freely available controls or classes of any real worth, so one would have to be developed from scratch. It would also require digging very deep into the API, and I'm not sure either you or I have the kind of time to do such research. I've worked a lot with CodeMax, and it's a really stable control and is pretty powerful. Big Grin Besides, it doesn't do ALL the work anyways...it's really nothing more than a syntax coloring textbox with unlimited data size but why it's so powerful is the methods you use to do the syntax coloring. You'll still have to handle some basics, but the coloring is handled and lets you work on more important aspects of your application...in this case, like line parsing. Big Grin
I'd knock on wood, but my desk is particle board.
Reply
#19
Notepad can load files up to 64kb, VB textbox in 98 can hold 64kb, exactly... 65535bytes


The problem with notepad and large files, is that it can nly handle 65536b

A file at 50kb, with LONG lines, get a lot of line breaks added, each adding 2 bytes... you get the idea...

Longer lines, smaller files...



EDIT: Not 65535KB, but b.. changed
Reply
#20
Well that explains why I could sometimes load 37KB files. Didn't make a lot of sense at the time but now it does. Also makes sense why 20KB files with only a few characters per line would cause it to run out of memory quickly. Thanks for the clearing up, Z!re. Smile
I'd knock on wood, but my desk is particle board.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)