• Welcome to Theos PowerBasic Museum 2017.

SED like notepad, SedPad? SedJr? SedLite?

Started by Paul Breen, September 28, 2008, 06:02:15 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Paul Breen

Jose:
Is there a way to strip SED115/116 down to notepad functionality? I can't get around SED with all of it's features. I'd like to start with a really bare bones editor then add things one by one to understand it better. Sure, you don't need scintilla for that but this is a learning experience. Secondly, how do you get a list of all the messages that scintilla can process? I know you use a ton of them in SED but do you have to know c++ to find them?
Would you do SED differently if you had the new compiler to start with?
thanks for your time.

José Roca

#1
 
Quote
Is there a way to strip SED115/116 down to notepad functionality? I can't get around SED with all of it's features. I'd like to start with a really bare bones editor then add things one by one to understand it better. Sure, you don't need scintilla for that but this is a learning experience.

My first version is still available in the PB Forums: http://www.powerbasic.com/support/pbforums/showthread.php?t=24465

Quote
Secondly, how do you get a list of all the messages that scintilla can process? I know you use a ton of them in SED but do you have to know c++ to find them?

Reading the Scintilla documentation:
http://scintilla.sourceforge.net/ScintillaDoc.html

Quote
Would you do SED differently if you had the new compiler to start with?

No. If you're thinking of using OOP for it, classes don't mix well with windows callbacks.

Theo Gottwald

#2
I attach the "Mini-Scintilla Editor" from Jose to this Posting.
Its nice as a skeleton for an own Editor.

The Source code for SED is here:

http://www.jose.it-berater.org/smfforum/index.php?topic=4135.msg14323;topicseen#msg14323

Theo Gottwald

I also managed to change SED 115 to compile and run with current headers.
Its attached to this post. Its a TABBED Mini-Editor, very nice skeleton for own projects.