[ENH][Pref] acceptWithPrettyPrint

Stephan Rudlof sr at evolgo.de
Mon Apr 3 00:29:13 UTC 2000


Dear Squeakers,

now there is a - hopefully - correct 'acceptWithPrettyPrint'
changeset...
Special thanks to Torge!

Stephan

"Change Set:		acceptWithPrettyPrint
Date:			3 April 2000
Author:			Stephan Rudlof, Torge Husfeldt

This changeset introduces preference #acceptWithPrettyPrint.
If set to true, browsers will automatically format their contents before
accepting it (without color).
It works both in Morphic and MVC projects.

This avoids unformatted sources.

Often you type in a method on the fly and leave the formatting to the
Browser by setting the preference #acceptWithPrettyPrint to true. But
the sources remain ugly.

Using this preference is simpler as using the menu methods 'pretty
print' or 'pretty print with color'.

In addition to the 'pretty print' menu methods formatting works also for
new methods.


Note:
- Includes changeset acceptPrettyPrint from Torge.
- Browser>>defineMessageFrom:notifying: just overwrites wrong changes
from previous versions of this changesets.
"
-- 
Stephan Rudlof (sr at evolgo.de)
   "Genius doesn't work on an assembly line basis.
    You can't simply say, 'Today I will be brilliant.'"
    -- Kirk, "The Ultimate Computer", stardate 4731.3
-------------- next part --------------
A non-text attachment was scrubbed...
Name: acceptWithPrettyPrint.2.cs
Type: application/octet-stream
Size: 6631 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20000403/a9122e69/acceptWithPrettyPrint.2.obj


More information about the Squeak-dev mailing list