Source code for a text editor?

Just starting out? Need help? Post your questions and find answers here.
mikeschn
User
User
Posts: 11
Joined: Sat Jun 30, 2012 12:22 am

Source code for a text editor?

Post by mikeschn »

Hi Guys,

It's been many years since I've played with Purebasic programming, and it's time to pick it up again.

I'm thinking I'd like to start with a simple text editing program.

Can anyone point me to some sample code that I can look at that would help me develop a text editor?

I don't want to use the editor gadget of Purebasic. I want to develop it like it might have been done in MS-Basic or Quickbasic, but using the Purebasic syntax.

Can anyone help? Thanks,

Mike...
User avatar
Demivec
Addict
Addict
Posts: 4086
Joined: Mon Jul 25, 2005 3:51 pm
Location: Utah, USA

Re: Source code for a text editor?

Post by Demivec »

Have you thought of looking at PureBasic's ScintillaGadget and the syntax for Scintilla? I think it would have a lot of what you may be looking for.
IdeasVacuum
Always Here
Always Here
Posts: 6425
Joined: Fri Oct 23, 2009 2:33 am
Location: Wales, UK
Contact:

Re: Source code for a text editor?

Post by IdeasVacuum »

The Scintilla gadget, which I think I'm right in saying is used for the PB IDE, is very good. PB has a lib for it and the Scintilla documentation (on their website) is excellent.
http://www.purebasic.com/documentation/ ... index.html
http://www.purebasic.fr/english/viewtop ... 13&t=62370
http://www.scintilla.org/
IdeasVacuum
If it sounds simple, you have not grasped the complexity.
said
Enthusiast
Enthusiast
Posts: 342
Joined: Thu Apr 14, 2011 6:07 pm

Re: Source code for a text editor?

Post by said »

Hi,

There was an attempt from my part, it is not complete and still has some issues (personally i am not interested in this right now and dont have the time for :wink: ) ... it can give you some ideas at least, look here :D

I know idle also had also done some experiments on the same, i cant seem to find it, search the forums :mrgreen:

Said
mikeschn
User
User
Posts: 11
Joined: Sat Jun 30, 2012 12:22 am

Re: Source code for a text editor?

Post by mikeschn »

Awesome!

Thanks guys!

Mike...
Post Reply