Search found 109 matches

by Steve Elliott
Fri Mar 01, 2013 10:58 pm
Forum: Coding Questions
Topic: Writing a text editor
Replies: 5
Views: 1239

Re: Writing a text editor

Thanks! Looks interesting.
by Steve Elliott
Fri Mar 01, 2013 9:46 pm
Forum: Coding Questions
Topic: Writing a text editor
Replies: 5
Views: 1239

Re: Writing a text editor

Hmm SetGadgetItemColor seems to be the most versatile, but for a text editor that's not gonna cut it. I guess some sneakiness is required. Any ideas are welcome...
by Steve Elliott
Fri Mar 01, 2013 6:58 pm
Forum: Coding Questions
Topic: Writing a text editor
Replies: 5
Views: 1239

Re: Writing a text editor

Thanks for the advice, so far so good. Using CreateFile and closing the file after loading into the editor GadgetText seems to have solved the problem.

I'll take a look at the docs to see if I can alter text colour of individual words, but if anybody knows the commands for this it would be ...
by Steve Elliott
Fri Mar 01, 2013 2:40 pm
Forum: Coding Questions
Topic: Writing a text editor
Replies: 5
Views: 1239

Writing a text editor

I'm writing a text editor and I'd like some advice and or code on programming one.

I have it working ok, but notice corruption of the text - repeated text and gibberish after saving sometimes.
It would be nice to have certain words within the editor change color, is that easy to accomplish? And ...
by Steve Elliott
Wed Oct 10, 2007 5:34 pm
Forum: General Discussion
Topic: An interesting story related to Purebasic...
Replies: 40
Views: 12918

One of PureBASIC's best features is the size of exe's - amazing!

Sometimes I'm tempted to use it for more than application software - but that's another story.
by Steve Elliott
Fri Jan 19, 2007 8:44 pm
Forum: Off Topic
Topic: PureBASIC and Cobra
Replies: 12
Views: 3282

Thanks Trond. That's one thing I don't like is the fanatical support of PureBASIC by some people - it's only a computer language! Albeit a very good one.

I think you use the best language for the job - PureBASIC for applications and Cobra for it's built-in game facilities - I've bought both and ...
by Steve Elliott
Fri Jan 19, 2007 7:51 pm
Forum: Off Topic
Topic: PureBASIC and Cobra
Replies: 12
Views: 3282

Hmm, I disagree - PureBASIC and Cobra are two languages that compliment each other nicely - that's my point.
by Steve Elliott
Fri Jan 19, 2007 7:21 pm
Forum: Off Topic
Topic: PureBASIC and Cobra
Replies: 12
Views: 3282

PureBASIC and Cobra

Hi, a while back I complained about the gaming side of PureBASIC (although I love PureBASIC).

I think the solution has come about with the arrival of a new computer language called Cobra. Cobra has some similarities with PureBASIC because it's not an OOP based language.

http://www.squeakyduck.co ...
by Steve Elliott
Sat Oct 07, 2006 11:03 pm
Forum: General Discussion
Topic: PureBASIC Direction?
Replies: 15
Views: 3975

PureBASIC Direction?

Perhaps I'm going over old ground here - but I'll just say it one more time.

PureBASIC has cornered the market in application production. It has thread support for multi-tasking - very useful for many functions including time consuming loading of levels as Grand Theft Auto does - without waiting ...
by Steve Elliott
Wed Oct 04, 2006 7:39 pm
Forum: General Discussion
Topic: PB and 3D
Replies: 102
Views: 25393

Perhaps the Ion Engine 3d will help when released.

http://www.squeakyduck.co.uk/
by Steve Elliott
Sun Sep 24, 2006 7:13 pm
Forum: Feature Requests and Wishlists
Topic: Sprite3d Functions
Replies: 13
Views: 2939

There's no code to tweak - just a static chessboard and pieces being drawn using sprite3d commands.

PureBASIC has threads and can produce DLLs - BlitzMax can't. It is also better for writing application software than BlitzMax - but the simple fact is it's not quite as good for game related programs ...
by Steve Elliott
Sun Sep 24, 2006 3:08 pm
Forum: Feature Requests and Wishlists
Topic: Sprite3d Functions
Replies: 13
Views: 2939

Lethal Judgement III uses very little Sprite3d function calls - all my sprites are alpha blended 3d sprites running at 1280 X 1024 32bit colour.

It's a chess game so I can get such high FPS - 347 FPS for PureBASIC is quite high, but obviously there is room for improvement.
by Steve Elliott
Sun Sep 24, 2006 1:02 pm
Forum: Feature Requests and Wishlists
Topic: Sprite3d Functions
Replies: 13
Views: 2939

347 FPS - PureBASIC
1105 FPS - BlitzMax
by Steve Elliott
Sun Sep 24, 2006 12:35 pm
Forum: Feature Requests and Wishlists
Topic: Sprite3d Functions
Replies: 13
Views: 2939

Yes.
by Steve Elliott
Sun Sep 24, 2006 12:07 pm
Forum: Feature Requests and Wishlists
Topic: Sprite3d Functions
Replies: 13
Views: 2939

Because I compared them to the equivalent BlitzMax command - over 3 times the speed.