00263: Beautifier: Leading whitespace is ignored

Summary: Beautifier: Leading whitespace is ignored
Created: 2005-01-01 07:55
Status: Closed
Category: Cookbook
From: thom
Assigned:
Priority: 4
Version: 2
OS:

Description: Beautifier seems to auto-indent sourcecode. I use Beautifier to highlight Eiffel sourcecode. Somehow it ignores whitespace at the beginning of a line where it should be indented. Is it possible to turn-off auto-indention completely or to disable it for some languages?


The Beautifier recipe uses the beautifier syntax highlighter at http://www.beautifier.org . The recipe just grabs the code to be highlighted and passes it directly to the beautifier module, so any auto-indentation is being performed by that module. I briefly looked around beautifier.org to see if I could find anything there and didn't find anything, but that's the most likely place to look. --Pm


I added instructions on how to disable auto-indeting to Cookbook.Beautifier --thom

Excellent, thanks! --Pm