[squeak-dev] Preferences ignoreStyleIfOnlyBold

Tobias Pape Das.Linux at gmx.de
Tue Dec 31 20:53:18 UTC 2013


On 31.12.2013, at 21:15, tim Rowledge <tim at rowledge.org> wrote:

> 
> On 31-12-2013, at 11:54 AM, Colin Putney <colin at wiresong.com> wrote:
>> Yeah, this preference isn't quite right for my purposes. The behaviour I want is that Shout does syntax highlighting for me, but the text is otherwise treated as unstyled. If I cut it, the clipboard has unstyled text, if I paste styled text, the styles are ignored and Shout restyles it according to syntax. Unstyled text gets stored in the changes file and Monticello. 
>> 
>> The problem I have now is that if I cut Shout-styled text and paste it into a browser, I get a dialog asking me if I want styled text. The answer is always no, so I'd rather not be asked about it every time. 
> 
> Yeah, pretty much how I’d put it. Code shouldn’t be styled text in general - if Shout wants to do some style for *rendering purposes* that’s tolerable but this isn’t a word processor. 

Just askin, why not?

> I’d say that copy from a code view should copy plain text and if you paste it into a styled wordprocessor view it should be plain. Pasting into a code view, even from a styled wordprocessor view  should paste in plain text (that may get prettied by Shout). 
> 
> There’s one case where style is appropriate for code, and that is in a system where the code is intermingled with the spec/design/description/commentary. Such a style would be to mark it for the attention of the compiler/tools.

Best
	-Tobias
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 1665 bytes
Desc: Message signed with OpenPGP using GPGMail
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20131231/f60ed4a8/signature.pgp


More information about the Squeak-dev mailing list