Page 1 of 1

Source code for a text editor?

Posted: Tue Aug 22, 2017 12:24 am
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...

Re: Source code for a text editor?

Posted: Tue Aug 22, 2017 1:20 am
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.

Re: Source code for a text editor?

Posted: Tue Aug 22, 2017 2:35 am
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/

Re: Source code for a text editor?

Posted: Tue Aug 22, 2017 5:43 am
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

Re: Source code for a text editor?

Posted: Wed Aug 23, 2017 12:40 am
by mikeschn
Awesome!

Thanks guys!

Mike...