PackageDescription: Yanick's Stuff(Bundle)


Yanick 's Stuff

Last published: November 28, 2001 by 'yanick'

No bundle comment found. Component comments follow

PackageDescription: ParagraphEditorChanges

Name: ParagraphEditorChanges
Version: 1.0 (initial release).
Author: Yanick Beaudet
Address: yanick@iname.com
Description:

This parcel modifies slightly the implementation of the menu system in ParagraphEditor. The additoin of the resource protocol and the Menu>>addPart: message allows to create menus by concatenation of menus instead of using the labels and values in hte creation of a similar menu. So, all references to the old method have been ported to the new way.

This began as an effort to make the yellow button menu for text fields more like the MS-Windows(tm) standard of having
"Undo / Cut Copy Paste / Select All".

1- the selectAll implementation in SpinButtonInputBoxController was pushed up to ParagraphEditor
2- ParagraphEditor class>>findReplaceGroup and >>textGroup were created from >>editGroup
3- The order in textGroup was changed and Select All added.
4- The other refactorings written above were performed.

I am sorry for the code formatting, and for the lack of refactoring; the refatoring browser is not yet available for 5i, and is eagerly awaited (by me anyway ;-)

All code changed in this parcel is Copyright Yanick Beaudet (c) 2000, except for ParagraphEditor>>selectAll (copied the subclass implementation) which I suppose is copyright Cincom 1999 or 2000.

The author grants permission to redistribute, modify and include this code in totality or partially in any subsequent release of VisualWorks or any add-on product. All that is asked is that the author be acknowledged somewhere (anywhere!) in the distribution, so the author can gloat a bit :-) Also, while not required, a quick note to know what was accepted, rejected and why would be appreciated (for future submissions...).

--
Yanick Beaudet
yanick@iname.com

PackageDescription: WindowPositioning

The WindowPositioning parcel saves the positions of window so that when a similar window is opened, it uses the screen coordinates of the previous window of the same type. If another window of the same type already uses the specified coordinates, a new set of coordinates is calculated and the new window is opened at those coordinates.

Copyright Yanick Beaudet (c) 2000