Author Topic: SED Editor 2.03  (Read 7628 times)

0 Members and 1 Guest are viewing this topic.

Online José Roca

  • Administrator
  • Hero Member
  • *****
  • Posts: 3123
  • Gender: Male
    • José Roca Software
SED Editor 2.03
« on: June 17, 2011, 02:17:20 AM »
 
A programmer's editor for the PB/WIN and PB/CC compilers written by members of the PowerBASIC community. His names and contributions are specified in the SED History page of the help file. It uses Scintilla as the editing component.

Key Features

  • Tabbed MDI interface
  • Multiple instances
  • Drag and drop files to the editor
  • Syntax highlighting
  • Block indent/unindent
  • Block comment/uncomment
  • Unlimited undo and redo
  • Bookmarks
  • Codefinder
  • Keyboard macros
  • Folding
  • Zoom
  • Indentation guides
  • Project management
  • Code analyzer
  • Codetips and autocompletion
  • Context help
  • Customizable colors and fonts
  • Conversion to Html for easy web publishing
  • Ability to compile untitled files
  • Execute without compiling
  • Split windows
  • Color printing and print preview
  • Ability to create resource files on the fly
  • Post-processor
  • Support for PB templates
  • Find in files
  • MRU (Most recent used files)
  • Optional reloading of previous file set at start
  • Tools menu
  • Plug-ins
  • Lynx support

What is new in this version?

The main change has been to adapt the code to allow to compile it with PB 10 and my headers for that compiler. Other minor changes include that in this vrersion the PB reserved words are stored in the file SED_PB_KEYWORDS.TXT instead of listed in the source code.

Installation

To install the editor, just unzip the attached file(s) in the folder of your choice.

Attached files

SED203_Release: Contains the editor, the help file and the tools and DLLs.

SED203_Source: Contains the source code.
« Last Edit: August 06, 2011, 04:24:26 PM by José Roca »

Offline Paul Elliott

  • Full Member
  • ***
  • Posts: 179
Re: SED Editor 2.03
« Reply #1 on: June 21, 2011, 02:44:46 PM »
José,

Shouldn't the source zip be for v2.03? I keep getting v2.02 files.

No rush. Just curious.

Thanks.


Online José Roca

  • Administrator
  • Hero Member
  • *****
  • Posts: 3123
  • Gender: Male
    • José Roca Software
Re: SED Editor 2.03
« Reply #2 on: June 21, 2011, 03:26:06 PM »
 
Sorry, I did attach the wrong file. New file uploaded.

Offline Jaime de los Hoyos

  • Newbie
  • *
  • Posts: 11
Re: SED Editor 2.03
« Reply #3 on: July 05, 2011, 11:48:24 PM »
Hi José,

I just downloaded this new version, and noticed that, when creating a new file and trying to save it I get the "Open..." dialog, making it impossible to save a new file.

I haven't yet taken a look into the source, but I think it must be some simple oversight...

Online José Roca

  • Administrator
  • Hero Member
  • *****
  • Posts: 3123
  • Gender: Male
    • José Roca Software
Re: SED Editor 2.03
« Reply #4 on: July 06, 2011, 04:41:36 AM »
A silly mistake in AfxDialog.inc.

Code: [Select]
#IF %DEF(%UNICODE)
   MACRO AfxOpenFileDialog = AfxOpenFileDialogW
   MACRO OpenFileDialog = AfxSaveFileDialogW
#ELSE
   MACRO AfxOpenFileDialog = AfxOpenFileDialogA
   MACRO OpenFileDialog = AfxSaveFileDialogA
#ENDIF

should be

Code: [Select]
#IF %DEF(%UNICODE)
   MACRO AfxOpenFileDialog = AfxOpenFileDialogW
   MACRO OpenFileDialog = AfxOpenFileDialogW
#ELSE
   MACRO AfxOpenFileDialog = AfxOpenFileDialogA
   MACRO OpenFileDialog = AfxOpenFileDialogA
#ENDIF

New file uploaded.

Online José Roca

  • Administrator
  • Hero Member
  • *****
  • Posts: 3123
  • Gender: Male
    • José Roca Software
Re: SED Editor 2.03
« Reply #5 on: July 06, 2011, 04:46:10 AM »
 
Thanks for your feedback.

I didn't notice it because I use CSED now. Also, instead of the wrapper OpenFileDialog I use now the CAfxFileDialog class.

Offline Dubravko Tuckoric

  • Newbie
  • *
  • Posts: 8
Re: SED Editor 2.03
« Reply #6 on: July 06, 2011, 12:43:35 PM »
José
It seems that source code is missing now. There are two exetutables with same name but different in size. Whitch is right ?
Did you posted corected AfxDialog.inc in your WINAPI suite ?


Online José Roca

  • Administrator
  • Hero Member
  • *****
  • Posts: 3123
  • Gender: Male
    • José Roca Software
Re: SED Editor 2.03
« Reply #7 on: July 06, 2011, 03:44:58 PM »
Sorry, I did delete the wrong file. New files uploaded.

I will post a new version of the headers in a few days, when PBWin 10.02 will be released. There will be important new includes, such an OpenGL control and classes for ODBC ad GDI+.

I will also begin to post examples, now that both the compiler and the includes have all know bugs fixed.

Offline Jaime de los Hoyos

  • Newbie
  • *
  • Posts: 11
Re: SED Editor 2.03
« Reply #8 on: July 06, 2011, 05:23:51 PM »
Cool! Looking forward to that. Maybe it's finally time to do the switch to v10! (You sure all reported bugs were fixed, right? I don't know if previous versions' releases were like this, but this one sure was a bumpy ride...)

Thanks for all your fine work; gracias!!

Offline Rick McNeely

  • Newbie
  • *
  • Posts: 13
Re: SED Editor 2.03
« Reply #9 on: July 06, 2011, 05:42:49 PM »
Hey all,

I know that I can tell SED which compiler to use by default.  Can I have a PBCC program in one tab and a PBWin program in another and have each compile with the correct compiler without changing the default?  I thought maybe using the #compiler directive, but that doesn't seem to work.

Thanks

(SED is still the best IDE!)

Online José Roca

  • Administrator
  • Hero Member
  • *****
  • Posts: 3123
  • Gender: Male
    • José Roca Software
Re: SED Editor 2.03
« Reply #10 on: July 06, 2011, 06:02:35 PM »
Add

'SED_PBCC

or

'SED_PBWIN

in capital letters somewhere at the beginning or your program.