EditPad - Syntax Highlighting Editor

EditPad is free syntax highligting programmer's editor I'm using heavily at work. And my several friends too :-).

SDI Sample ImageMDI Sample Image

Development environment: MS-VC6 SP3, MS-Windows 98
Target environment: Win32 platforms

Description

EditPad doesn't bring so much new programming techniques, I've just used "the best" of sources at this site and added some my work to make an editor for programmer's all-purpose usage. I often needed to edit various files in a small SDI editor and Notepad was too simple for me. I wanted to have regular expressions and other useful things. At last I made MDI version too and now I'm writing code in that one instead of in the MSVC IDE ;-).

This editor isn't full of GUI "beautifiers". I made it as simple as I considered it to be usable. It's supposed to be used often for work. Some features of EditPad:

  • Notepad replacement (editpads - SDI version)
  • ...pad for more files editing at the same moment (editpadm - MDI version)
  • Printing support (not coloured)
  • Recently used files remembering
  • Different settings for different kinds of files (must differ by extension)
  • Regular expressions for searching and replacing
  • Autoindent and brackets automatic indenting
  • Autocomplete the rest of current word
  • Case changes
  • Using tabs/spaces
  • Highlighting syntax of source code
  • Toggling source/header files in the editor

Some coding techniques

  • Syntax coloring editor component I extended with:
    • more highlighting languages
      (Plain text :-), BASIC (Visual), Batch (MS-DOS), C/C++, DCL (AutoCAD's DCL), FORTRAN, HTML, Java, LISP (AutoCAD's AutoLISP), PERL, REXX, Resources (MS-Windows), SGML, Shell script (UNIX), SIOD, SQL, TCL, TEX)
    • brackets autoindenting (ANSI or GNU mode)
    • automatic inserting of the space before left parenthese
    • automatic completing of the rest of current word after the word found in front of or in back of the cursor position
    • opening source/header file which belongs to currently opened document
    • patches and extensions from comments at Andrei's page applied
  • Notifying about externally modified or deleted files
    (I found two articles about it at this site but no one worked for me. I "discussed" the problem with CFileChangeEvent and MSDN and wrote new class CFileEvent almost from scratch.)
  • Full Screen mode implementation

Distribution form

You can get two zipped archives at the bottom of this page. The first one consists of installable executables:

    editpad_exe.zip

        distrib/    - files to copy somewhere onto your disk
        readme.txt  - a short description of the package

and the second one of complete source tree:

    editpad_src.zip

        batch/      - several files to copy to root of this archive to automate
                      some developing tasks
        both/       - sources for both SDI and MDI versions (with project)
        both/       - sources for both SDI and MDI versions (with project)
        distrib/    - a placeholder for built executables and help
        multi/      - sources for MDI version (with project)
        single/     - sources for SDI version (with project)
        readme.txt  - a short description of the package

You will need following libraries to run EditPad: msvcrt.dll, msvcp60.dll and mfc42.dll.
If there're no such files in your windows system directory you can get them from Microsoft or from my GUI tools page, where is the link to EditPad primary site too.

Acknowledgements

I have to thank very much all people at this site for their work - I learnt here quite a lot. These persons helped me when I was writing EditPad - thanks them once more:

Downloads

Download executable files - 283 Kb
Download source archive - 343 Kb


Comments

  • error C2002: invalid wide-character constant

    Posted by Legacy on 01/29/2004 12:00am

    Originally posted by: albert

    When I compile Mul Doc Version, There is errors,such as:
    
    F:\UI\EditCtrl\editpad_src\edtlib\cs2cs.cpp(25) : error C2002: invalid wide-character constant
    ...
    which indicate :
    //cs2cs.cpp
    {_T ("CP1250"), _T ("\xc1\xc8\xcf\xc9\xcc\xcd\xd2\xd3\xd8\x8a\x8d\xda\xd9\xdd\x8e\xbc\xc0\xc5\xd4\xd6\xdc\xc4\xe1\xe8\xef\xe9\xec\xed\xf2\xf3\xf8\x9a\x9d\xfa\xf9\xfd\x9e\xbe\xe0\xe5\xf4\xf6\xfc\xe4\xdf\xa7\x26\x5c\x22\x3c\x3e\x74\xa0\x7c\x63\x52\xb0\x2b\xb6\x7\0\0\0\xd7\0\xf7\0")},
    How to solve it?
    Thank you very much.

    Reply
  • Problems on updating windows on WINNT4

    Posted by Legacy on 07/23/2003 12:00am

    Originally posted by: horming

    There is a problem running this compiled code on WINNT4.
    The horizontal scrolling is not fully repaint all areas on the window.

    I have found this bug substained on previous releasing source code as well. Please help

    Reply
  • Explorer.exe eats up CPU process

    Posted by Legacy on 07/06/2003 12:00am

    Originally posted by: Newbie

    I was wondering why your editpad eats up a lot of CPU resources when the windows is maximized view?

    Under my observation, explorer.exe will boost CPU usage upto 40% when the editpad is in maximized view scrolling.

    Can we avoid this?

    Reply
  • why dont support IME ㅡ.ㅡ

    Posted by Legacy on 07/21/2002 12:00am

    Originally posted by: sm

    i hope to solve IME

    when input JAP language...
    happen error..

    error -> broken word,,
    when select word broke,

    and when read unicode, dont read unicode file..


    ps: i do not unicode compile..
    this is a problem ,,?

    Reply
  • Source size is 1.04 Mb, not 343 Kb!!!!!

    Posted by Legacy on 07/19/2002 12:00am

    Originally posted by: Wraith

    It really is!

    Reply
  • bcglib compilation problems

    Posted by Legacy on 07/01/2002 12:00am

    Originally posted by: smartfox

    when i compiled the bcgcontrolbar.dsw to generate the bcgcb453u.lib, VC6.0 gives me an error:
    "F:\源码分析\Edit\editpad_src\bcglib\BCGDockContext.cpp(67) : error C2065: 'LAYOUT_LTR' : undeclared identifier".

    Can you tell which header file include the declaration of 'LAYOUT_LTR'. thanks

    Reply
  • Printing Problems

    Posted by Legacy on 06/29/2002 12:00am

    Originally posted by: BN37

    The text from a file is able to be printed, but there is one major problem. The print is extremely small. Is there anyone who can give me some suggestions on where and how to change the size of the printing output?

    Thanks in advance,

    BN37

    Reply
  • Missing mfc42u.lib and mfc42ud.lib

    Posted by Legacy on 06/18/2002 12:00am

    Originally posted by: BN37

    When I compile any of the projects I get a link error that says it is missing the mfc42u.lib and mfc42ud.lib files. Could anyone help me?

    Thanks,

    BN37

    Reply
  • Another Compilation Problems

    Posted by Legacy on 05/18/2002 12:00am

    Originally posted by: lava_sdb

    when i Compile this programe
    
    VC6.0 keeps on giving me an error saying
    F:\example\vc\edit_pad\edtlib\cs2cs.cpp(27) : error C2002: invalid wide-character constant

    Can you tell me what's reseon and how to resolve it?
    thanks!

    Reply
  • may God bless u if, u believe in one

    Posted by Legacy on 04/03/2002 12:00am

    Originally posted by: Edd

    I certainly don't.

    Reply
  • Loading, Please Wait ...

Leave a Comment
  • Your email address will not be published. All fields are required.

Top White Papers and Webcasts

  • On-demand Event Event Date: May 16, 2017 Developers who use popular JavaScript frameworks like React to build user interfaces often have to create components to build the interface. Building components is time consuming, has integration and maintenance risks, and worst of all, distracts them from the task at hand — actually building the app. Watch this webinar to see how to quickly and easily add more than 115 professionally supported and tested components from Sencha to your React apps. In this …

  • Microsoft® Office 365 is a top choice for enterprises that want a cloud-based suite of productivity collaboration applications. With Office 365, you get access to Microsoft™ Office solutions practically anytime, anywhere, on virtually any device. It's a great option for current Microsoft users who can now build on their experience with Microsoft™ solutions while enjoying the flexibility of a cloud-based delivery. But even organizations with no previous investment in Microsoft will find that …

Most Popular Programming Stories

More for Developers

RSS Feeds

Thanks for your registration, follow us on our social networks to keep up-to-date