-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix graphic bug (resultlist overlaying input field)
- Loading branch information
Showing
8 changed files
with
30 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 8 additions & 0 deletions
8
packages/Algernon.package/ALGTypeCategorizer.class/instance/countCategoriesFrom..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
categorizing | ||
countCategoriesFrom: anItemCollection | ||
|
||
| maxIndex aDictionary | | ||
maxIndex := self class maxNumItems. | ||
(anItemCollection size < maxIndex) ifTrue: [ maxIndex := anItemCollection size ]. | ||
aDictionary := self typesFrom: anItemCollection withMaximum: maxIndex. | ||
^ aDictionary keys size |
8 changes: 8 additions & 0 deletions
8
packages/Algernon.package/ALGTypeCategorizer.class/instance/typesFrom..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
categorizing | ||
typesFrom: anItemCollection | ||
|
||
| maxIndex aDictionary | | ||
aDictionary := Dictionary new. | ||
maxIndex := self class maxNumItems - (self countCategoriesFrom: anItemCollection). | ||
(anItemCollection size < maxIndex) ifTrue: [ maxIndex := anItemCollection size ]. | ||
^ self typesFrom: anItemCollection withMaximum: maxIndex |
9 changes: 4 additions & 5 deletions
9
...gorizer.class/instance/typesFrom.into..st → ....class/instance/typesFrom.withMaximum..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 5 additions & 3 deletions
8
packages/Algernon.package/ALGTypeCategorizer.class/methodProperties.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,10 @@ | ||
{ | ||
"class" : { | ||
"maxItemsPerCategory" : "J.J. 7/28/2015 19:44", | ||
"maxNumItems" : "J.J. 7/30/2015 19:38" }, | ||
"maxNumItems" : "JS 6/23/2016 11:48" }, | ||
"instance" : { | ||
"categorize:" : "J.J. 7/30/2015 19:38", | ||
"categorize:" : "JS 6/23/2016 11:33", | ||
"countCategoriesFrom:" : "JS 6/23/2016 11:43", | ||
"extractFrom:to:" : "J.J. 7/28/2015 19:43", | ||
"typesFrom:into:" : "td 6/8/2016 21:04" } } | ||
"typesFrom:" : "JS 6/23/2016 11:46", | ||
"typesFrom:withMaximum:" : "JS 6/23/2016 11:40" } } |
Large diffs are not rendered by default.
Oops, something went wrong.