Powerbasic Museum 2020-B

General Category => General Discussion => Topic started by: Guy Dombrowski on July 31, 2013, 03:57:02 PM

Title: Love the CSED Editor
Post by: Guy Dombrowski on July 31, 2013, 03:57:02 PM
Following the loss of PB Forum, I started to log in this Forum to get news about Powebasic and am very glad I did.
I started exploring the various  categories and noticed the CSED Editor.

So I downloaded it and started playing with it a bit and pretty soon, I fell in love with it.

From now on, it will be my tool of choice as it is much better than the PB Ide.

Thank you Jose for that nice free tool
Title: Re: Love the CSED Editor
Post by: Theo Gottwald on July 31, 2013, 08:18:07 PM
And there is the CSED Source-Code: You can add whatever you desire.
And even share it.
Title: Re: Love the CSED Editor
Post by: Brice Manuel on August 01, 2013, 04:08:23 AM
I agree, CSED is awesome, as was the old editor Jose released.
Title: Re: Love the CSED Editor
Post by: Theo Gottwald on August 01, 2013, 10:45:22 PM
SED was the old Editor, CSED is the most actual Editor.
Its completely up-to-date for PB 10.
Title: Re: Love the CSED Editor
Post by: Guy Dombrowski on August 02, 2013, 01:00:17 AM
the only thing I miss so far is the F1 key that called help for the highlighted command and showed the proper syntax.
And maybe also highlight the bookmarks.
Title: Re: Love the CSED Editor
Post by: José Roca on August 02, 2013, 01:35:50 AM
F1 calls the PB Help File if it is a PB keyword. The bookmarks are highlighted with an small white circle in the grey left margin.
Title: Re: Love the CSED Editor
Post by: Guy Dombrowski on August 02, 2013, 03:19:01 AM
Thank you José,

I see that white circle now.
And the F1 help work fine after I put the proper path in Compiler options.

That make it perfect.

Thanks again
Title: Re: Love the CSED Editor
Post by: Theo Gottwald on August 03, 2013, 07:55:40 PM
Where is the "Drag'n Drop" handled?
I have just looked into the Source code, and could not find the part where the "Drag'n Drop" is beeing handled, is it inside CWindow Class handled?
I want make some change how files are beeing treated when Strg- or Shift is pressed while they are dropped into the editor (only in my version).
Title: Re: Love the CSED Editor
Post by: José Roca on August 03, 2013, 08:52:24 PM
CSED_File.inc, function CSED_GetDroppedFiles.
CSED.BAS, CASE %WM_DROPFILES.
Title: Re: Love the CSED Editor
Post by: Theo Gottwald on August 04, 2013, 11:06:29 AM
Thanks Jose, got it!
Title: Re: Love the CSED Editor
Post by: Guy Dombrowski on August 05, 2013, 02:34:46 PM

Is there a way to clear part of a line like CTRL + K ?

Title: Re: Love the CSED Editor
Post by: José Roca on August 05, 2013, 03:16:31 PM
You can use Shift+End to select the text and then the Delete key.
Title: Re: Love the CSED Editor
Post by: Guy Dombrowski on August 05, 2013, 04:33:23 PM
Thank you José, that was a very quick answer.

I can live with that work around.
Title: Re: Love the CSED Editor
Post by: José Roca on August 05, 2013, 05:21:11 PM
You can also use Ctrl+Shift+Delete.
There is a list of shortcut keys in the help file.
Title: Re: Love the CSED Editor
Post by: Guy Dombrowski on August 05, 2013, 10:10:21 PM
Fantastic !

CTRL + SHIFT + DEL is even better

Title: Re: Love the CSED Editor
Post by: Theo Gottwald on August 06, 2013, 07:30:32 AM
Jose, I'd like to add a "Debug Text" Window to CSED, like its in the PB Editor.
if possible with a TB Control behind. Can it be done, using the CWindows Class?
Title: Re: Love the CSED Editor
Post by: José Roca on August 06, 2013, 03:28:04 PM
If you mean if I have an splitter control, no, I don't have one, but you can add your own.
Title: Re: Love the CSED Editor
Post by: Theo Gottwald on August 06, 2013, 04:19:09 PM
Is it of importance who owns the control :-)?
Ok, you mean its not easily possible.
Is it easily possible to add a second Toolbar Line without destroying the whole concept?

Ok, I'll take a look here, if this helps:
http://www.powerbasic.com/support/pbforums/showthread.php?t=44833

Now the next question is, ... if i modify the original CWindows Class, i't will be incompatible to all further developments and changes. Hmm ...
Title: Re: Love the CSED Editor
Post by: José Roca on August 06, 2013, 04:36:05 PM
There is nothing easy. Everything needs work. You will need to manage the position of the MDI window frame and the Scintilla controls.
Title: Re: Love the CSED Editor
Post by: Guy Dombrowski on August 08, 2013, 03:48:15 PM
Wow !

Just discovered the Code Keeper Function.

What a nice tool !

All my main code building blocks at the same place.
Title: Re: Love the CSED Editor
Post by: Frederick J. Harris on August 08, 2013, 04:06:20 PM
Quote
There is nothing easy.

Ain't that the truth! :)