[COTDC] 68 - MultiNewParagraph

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

[COTDC] 68 - MultiNewParagraph

laurent laffont
Today: MultiNewParagraph


Comment Of The Day Contest - One Day One Comment
Rules: 
#1: Each day a not commented class is elected. Each day the best comment will be integrated with name of the author(s).
#2: If you cannot comment it, deprecate it.
Laurent
Reply | Threaded
Open this post in threaded view
|

Re: [COTDC] 68 - MultiNewParagraph

Igor Stasenko
On 24 May 2011 22:31, laurent laffont <[hidden email]> wrote:
> Today: MultiNewParagraph
>

Alain Plantec could say more, since more of the methods in this class
marked under his authorship.

> Comment Of The Day Contest - One Day One Comment
> Rules:
> #1: Each day a not commented class is elected. Each day the best comment
> will be integrated with name of the author(s).
> #2: If you cannot comment it, deprecate it.
> Results: http://code.google.com/p/pharo/wiki/CommentOfTheDayContest
> Laurent



--
Best regards,
Igor Stasenko AKA sig.

Reply | Threaded
Open this post in threaded view
|

Re: [COTDC] 68 - MultiNewParagraph

laurent laffont
On Tue, May 24, 2011 at 11:15 PM, Igor Stasenko <[hidden email]> wrote:
On 24 May 2011 22:31, laurent laffont <[hidden email]> wrote:
> Today: MultiNewParagraph
Alain Plantec could say more, since more of the methods in this class
marked under his authorship.


Alain, do you have 5mn :) ?

Laurent.

 

> Comment Of The Day Contest - One Day One Comment
> Rules:
> #1: Each day a not commented class is elected. Each day the best comment
> will be integrated with name of the author(s).
> #2: If you cannot comment it, deprecate it.
> Results: http://code.google.com/p/pharo/wiki/CommentOfTheDayContest
> Laurent



--
Best regards,
Igor Stasenko AKA sig.


Reply | Threaded
Open this post in threaded view
|

Re: [COTDC] 68 - MultiNewParagraph

laurent laffont
Thanks a lot Alain !!!

Laurent.

On Sun, May 29, 2011 at 3:33 AM, Alain Plantec <[hidden email]> wrote:
Class intention
   My intention is the same as my super class. This is a good reason to merge me with my super class and to remove me.
   My main supplementary intention is to display the different kinds of text selection (secondary, find-replace and selection bar).

Class collaborations
   SelectionBlock instances are built by myself and stored in the extraSelectionBlocks instance variable in order to display supplementary selections

Class main API
   no particular main API.


Instance Variables
   extraSelectionBlocks: <Collection of SelectionBlock>
   findReplaceSelectionRegex: <RxMatcher>
   presentationLines: <Object>
   presentationText: <Object>
   refreshExtraSelection: <Boolean>
   secondarySelection: <String>

extraSelectionBlocks
   - a collection of SelectionBlock for the drowing of the differents kind of text selection

findReplaceSelectionRegex
   - the find/replace matcher that is set from the editor of by the FindReplaceService

presentationLines
   - created for debugging purpose, should be removed ?

presentationText
   - created for debugging purpose, should be removed ?

refreshExtraSelection
   - a boolean that is set to tru when there is a need to refresh selections

secondarySelection
   - the string of the secondary selection that is set from the editor when a portion of text is selected



Le 25/05/2011 22:50, laurent laffont a écrit :
On Tue, May 24, 2011 at 11:15 PM, Igor Stasenko <[hidden email] <mailto:[hidden email]>> wrote:

   On 24 May 2011 22:31, laurent laffont <[hidden email]
   <mailto:[hidden email]>> wrote:
   > Today: MultiNewParagraph

   Alain Plantec could say more, since more of the methods in this class
   marked under his authorship.



Alain, do you have 5mn :) ?

Laurent.


   > Comment Of The Day Contest - One Day One Comment
   > Rules:
   > #1: Each day a not commented class is elected. Each day the best
   comment
   > will be integrated with name of the author(s).
   > #2: If you cannot comment it, deprecate it.
   > Results: http://code.google.com/p/pharo/wiki/CommentOfTheDayContest
   > Laurent



   --
   Best regards,
   Igor Stasenko AKA sig.