From: Greg D. <gre...@in...> - 2017-04-21 20:30:59
|
I like this solution better than one which disables rectangular selections - something I use frequently in Alpha. Well done! On 4/21/17 3:29 PM, Bernard Desgraupes wrote: > Eureka! I found the solution. It is in fact sooooo easy and soooo elegant ! > Finally I have installed a new preference called /Copy Includes Font Info/ in the /General/ panel of the /Global Preferences/ dialog (with value 0 by > default). This preserves both multiple selections and rectangular selections. The trick was to subclass the /writablePasteboardTypes/ in class > /AlphaTextPane/. > > Changes committed to the repository (rev. 1325 <http://sourceforge.net/p/alphacocoa/code/1325/>). The core must be rebuilt. > > ------------------------------------------------------------------------------------------------------------------------------------------------------ > > *[tickets:#120] <https://sourceforge.net/p/alphacocoa/tickets/120/> Copy copies also font info* > > *Status:* open > *Created:* Tue Apr 04, 2017 07:31 PM UTC by Joachim Kock > *Last Updated:* Fri Apr 21, 2017 11:07 AM UTC > *Owner:* nobody > > Alpha (in contrast to AlphaX) copies text WITH formatting, > instead of just copying the text as a sequence of chars. > > I think this is wrong, since the formatting is not an attribute > of the text copied but only an artefact of how the text editor > presents the text on screen. > > (In practical terms, when from time to time I have to edit a Word > document, I always found it useful to do as much as possible of > the editing in AlphaX, before pasting it into Word, where it > will be inserted free of formatting. I hope this use of AlphaX > can be inherited by Alpha.) > > If for some reason the new behaviour is deemed useful, perhaps > this is not a bug report but a feature request: could we then have > a prefs flag for controlling this, please? > > ------------------------------------------------------------------------------------------------------------------------------------------------------ > > Sent from sourceforge.net because alp...@li... is subscribed to https://sourceforge.net/p/alphacocoa/tickets/ > > To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/alphacocoa/admin/tickets/options. Or, if this > is a mailing list, you can unsubscribe from the mailing list. > > > > ------------------------------------------------------------------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > > > > _______________________________________________ > AlphaCocoa-devel mailing list > Alp...@li... > https://lists.sourceforge.net/lists/listinfo/alphacocoa-devel > -- <pre> | Greg Dunn | Loose(n) - not securely attached. | | gre...@in... | Loose(v) - to release or detach. | | The Sultan of Slack(tm) | Lose (v) - to cause the loss of. | | http://www.indy.net/~gregdunn/ | | </pre> |