On 07/20/2011 11:48 AM, Gian Marco Gherardi wrote:
>> Indentation levels are indented with multiples of indent-string, the
>> indentation factor being 2 (IIRC). If your editor displays tabs as 8
>> spaces (the usual default), you see multiples of 8 as the indentation,
>> which adds up pretty quickly :). You might better use a sequence of
> I normally use tabs as indentation, so i've setted tabs as 3 space
> width, the problem is that pretty task put a lot of tabs. Probably all
> this extra chars are the cause of the resulting huge file size. I've
> attached a .zip containing DemoTest.js file (zipped) if you want take
> a look at it (compressed is only 162Kb, expanded is 139Mb..)

I can roughly reproduce it in a fresh skeleton, and added a bug for it 
[1]. It only seems to affect block comments, but not JSDoc comments, as 
far as my tests go. Yours were also mutilated. Code lines seem not to be 
affected at all.

You must have run 'pretty' a *lot* of times on the same code, to achieve 
indentations in the range of 32MB per line! :)

You can subscribe to the bug if you want to be updated on any progress.

Thanks,
T.

[1] http://bugzilla.qooxdoo.org/show_bug.cgi?id=5424



------------------------------------------------------------------------------
10 Tips for Better Web Security
Learn 10 ways to better secure your business today. Topics covered include:
Web security, SSL, hacker attacks & Denial of Service (DoS), private keys,
security Microsoft Exchange, secure Instant Messaging, and much more.
http://www.accelacomm.com/jaw/sfnl/114/51426210/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to