DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: source editor that prints indentation guides  (Read 8,450 times)

utility man

  • Participant
  • Joined in 2006
  • *
  • Posts: 8
source editor that prints indentation guides
« on: April 26, 2007, 02:00 AM »
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
    • Coding Snacks
Re: source editor that prints indentation guides
« Reply #1 on: April 26, 2007, 04:42 AM »
SC1 or Scite editor does it.
You can even customize the indentation guide.


For windows
SciTE

Quote
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
Quote
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
  • *
  • Posts: 8
Re: source editor that prints indentation guides
« Reply #2 on: April 26, 2007, 05: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,888
    • Participated in NANY Challenge Six Times
    • Coding Snacks
    • Gathering Badge
    • Cody Award
    • Volunteers/Staff
Re: source editor that prints indentation guides
« Reply #3 on: April 26, 2007, 06: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

  • O'Callaghan
  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 1,401
Re: source editor that prints indentation guides
« Reply #4 on: April 26, 2007, 08: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.

Interviewer: Is there anything you don't like?
Bjarne Stroustrup: Marketing hype as a substitute for technical argument. Thoughtless adherence to dogma. Pride in ignorance.

utility man

  • Participant
  • Joined in 2006
  • *
  • Posts: 8
Re: source editor that prints indentation guides
« Reply #5 on: April 26, 2007, 11: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.

Original address: https://www.donationcoder.com/forum/index.php?topic=8259.0