topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Thursday March 28, 2024, 10:59 am
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: source editor that prints indentation guides  (Read 5647 times)

utility man

  • Participant
  • Joined in 2006
  • *
  • default avatar
  • Posts: 8
    • View Profile
    • Donate to Member
source editor that prints indentation guides
« on: April 25, 2007, 09:00 PM »
Hope this is the correct forum to post to.

Does anyone know of a text editor that will print source code with vertical lines as indentation/column guides?
I've seen some that display column guides on screen but don't print them out.

thanks in advance.

Cpilot

  • Charter Honorary Member
  • Joined in 2006
  • ***
  • Posts: 293
    • View Profile
    • Bite Notes
    • Read more about this member.
    • Donate to Member
Re: source editor that prints indentation guides
« Reply #1 on: April 25, 2007, 11:42 PM »
SC1 or Scite editor does it.
You can even customize the indentation guide.


For windows
SciTE

A full download (780K) includes the SciTE executable, any required DLLs, configuration files and documentation. After downloading the file, unzip it, and run SciTE.EXE. The files required to run SciTE are SciTE.EXE, SciLexer.DLL, and SciTEGlobal.properties and these are best located in one directory on the path.


single file executable called Sc1
A single file executable called Sc1 (480K) does not need any DLL or properties files as these are linked into the executable. You may still create properties files if you wish. Sc1.exe has been compressed with the UPX compressor so that it is a fast download. It does not need to be decompressed to be used.


For more info
Download Scintilla and SciTE

utility man

  • Participant
  • Joined in 2006
  • *
  • default avatar
  • Posts: 8
    • View Profile
    • Donate to Member
Re: source editor that prints indentation guides
« Reply #2 on: April 26, 2007, 12:35 AM »
Thanks CPilot for the suggestion.

I tried Scite and found that the indentation guides don't get printed.
[unless there's an option to enable it somewhere]

Basically, I want to print out legacy code with the indentation guides for reviewing.


app103

  • That scary taskbar girl
  • Global Moderator
  • Joined in 2006
  • *****
  • Posts: 5,884
    • View Profile
    • Donate to Member
Re: source editor that prints indentation guides
« Reply #3 on: April 26, 2007, 01:07 AM »
Notepad2 does...at least it does print the guide line on the right. I didn't test it with the indentation guides (ran out of ink).

Eóin

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 1,401
    • View Profile
    • Donate to Member
Re: source editor that prints indentation guides
« Reply #4 on: April 26, 2007, 03:50 AM »
Hi ivery, Programmer's Notepad will print whitespace indicators where tab will show up as arrows. Might that be of help to you. See the pdf I printed to with PDFCreator for an example.


utility man

  • Participant
  • Joined in 2006
  • *
  • default avatar
  • Posts: 8
    • View Profile
    • Donate to Member
Re: source editor that prints indentation guides
« Reply #5 on: April 26, 2007, 06:25 PM »
Thanks all
Eóin's suggestion seems the best at the moment. Not perfect but still better than what I'm doing at the moment.
Many thanks for all that took the time to reply.
Any further suggestions appreciated.