Skip to content

Commit

Permalink
Merge 5e0d136 into b062df5
Browse files Browse the repository at this point in the history
  • Loading branch information
MaximilianKleissl committed Jul 3, 2020
2 parents b062df5 + 5e0d136 commit 4e17f4c
Show file tree
Hide file tree
Showing 28 changed files with 95 additions and 23 deletions.
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
I am a CommentBlock, so I start with <!-- and end with --!>.
As long as I am not closed, you can extend me with MardownLines.
I am a comment block, so I start with '<!--' and end with '--!>'.
As long as I am not closed, you can extend me with mardown lines.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
],
"classvars" : [
],
"commentStamp" : "MK 6/18/2020 11:03",
"commentStamp" : "MK 7/3/2020 21:01",
"instvars" : [
],
"name" : "MarkdownCommentBlock",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
testing
matches: aMarkdownEmphasisDelimiter

"See GFM example #420 and #421: https://github.github.com/gfm/#example-420"
^ (self isOpenerAndCloser or: [aMarkdownEmphasisDelimiter isOpenerAndCloser])
==> [((self length + aMarkdownEmphasisDelimiter length) isDivisibleBy: 3)
==> [(self length isDivisibleBy: 3)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
constants
punctuationCharacters

"ASCII punctuation characters according to GFM spec: https://github.github.com/gfm/#ascii-punctuation-character"
^ #($! $" $# $$ $% $& $' $( $) $* $+ $, $- $. $/ $: $; $< $= $> $? $@ $[ $] $\ $^ $_ $` ${ $} $| $~)
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
constants
whitespaceCharacters

"ASCII Whitespace characters according to GFM spec: https://github.github.com/gfm/#whitespace-character"
^ {Character space. Character tab. Character cr. Character lf. Character pageUp}
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"isOpenerAndCloser" : "jko 5/6/2019 16:20",
"isRightFlanking" : "jko 5/23/2019 12:06",
"isRightFlanking:" : "jko 5/23/2019 12:43",
"matches:" : "lpf 5/23/2019 10:27",
"punctuationCharacters" : "jko 5/21/2019 23:27",
"matches:" : "MK 7/3/2020 21:06",
"punctuationCharacters" : "MK 7/3/2020 21:06",
"setPreceding:following:" : "jst 6/29/2019 16:11",
"whitespaceCharacters" : "jst 6/28/2019 15:30" } }
"whitespaceCharacters" : "MK 7/3/2020 21:07" } }
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,4 @@ accessing
currentStyleSettings: aStyleSettings
currentStyleSettings := aStyleSettings.
self newStyleSettings: aStyleSettings deepCopy.
"here call blockStylerMorphs to adjust their values"
self blockStylerMorphs do: [:blockStylerMorph | blockStylerMorph adjustTo: self newStyleSettings].
"self makeChangeTo: self newStyleSettings."

"1 to: 6 do: [:headerLevel |
(self fontSizeSliders at: headerLevel) adjustToValue: (aStyleSettings headingFontSizes at: headerLevel).
(self fontSizeLabels at: headerLevel) contents: ((aStyleSettings headingFontSizes at: headerLevel) asInteger asString).].
1 to: 6 do: [:headerLevel |
(self fontColorPickers at: headerLevel) originalColor: (aStyleSettings headingColors at: headerLevel).]"

self blockStylerMorphs do: [:blockStylerMorph | blockStylerMorph adjustTo: self newStyleSettings]
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"contentMorph" : "MAS 6/7/2020 17:28",
"contentMorph:" : "MAS 6/7/2020 17:28",
"currentStyleSettings" : "azi 6/1/2020 16:36",
"currentStyleSettings:" : "azi 6/12/2020 15:15",
"currentStyleSettings:" : "MK 7/3/2020 21:07",
"handleApply" : "azi 6/12/2020 01:38",
"handleCancel" : "azi 6/12/2020 01:38",
"initialize" : "azi 6/29/2020 02:20",
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Spelling
testClassCategoriesSpelling

self assertAllZero: (self lint: #smallLintClassCategoriesSpelling)
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Spelling
testClassVariableNamesSpelling

self assertAllZero: (self lint: #smallLintClassVariableNamesSpelling)
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Spelling
testInstanceVariableNamesSpelling

self assertAllZero: (self lint: #smallLintInstanceVariableNamesSpelling)
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Spelling
testMethodCommentspelling

self assertAllZero: (self lint: #smallLintMethodCommentsSpelling)
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Miscellaneous
testNoAsOrderedCollectionAsArrayNotNeeded

self assertAllZero: (self lint: #smallLintAsOrderedCollectionNotNeeded)
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Miscellaneous
testNoDoesntUseTheResultOfAYourselfMessage

self assertAllZero: (self lint: #smallLintYourselfNotUsed)
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Miscellaneous
testNoExcessiveInheritanceDepth

self assertAllZero: (self lint: #smallLintExcessiveInheritance)
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Miscellaneous
testNoExcessiveNumberOfArguments

self assertAllZero: (self lint: #smallLintExcessiveArguments)
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Miscellaneous
testNoExcessiveNumberOfMethods

self assertAllZero: (self lint: #smallLintExcessiveMethods)
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Miscellaneous
testNoExcessiveNumberOfVariables

self assertAllZero: (self lint: #smallLintExcessiveVariables)
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Miscellaneous
testNoNonBlocksInSpecialMessages

self assertAllZero: (self lint: #smallLintIfTrueBlocks)
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Miscellaneous
testNoRedundantClassNameInSelector

self assertAllZero: (self lint: #classNameInSelector:)
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Miscellaneous
testNoUnnecessaryAssignmentOrReturnInBlock

self assertAllZero: (self lint: #smallLintAssignmentInBlock)
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Miscellaneous
testNoVariableIsOnlyAssignedASingleLiteralValue

self assertAllZero: (self lint: #smallLintVariableAssignedLiteral)
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Miscellaneous
testOptimizedAndOr

self assertAllZero: (self lint: #smallLintUnoptimizedToDo)
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Miscellaneous
testOptimizedToDo

self assertAllZero: (self lint: #smallLintUnoptimizedToDo)
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Spelling
testTemporaryVariableNamesSpelling

self assertAllZero: (self lint: #smallLintTemporaryVariableNamesSpelling)
Original file line number Diff line number Diff line change
Expand Up @@ -7,23 +7,35 @@
"assertAllZero:" : "MK 6/19/2020 19:20",
"findTestObjects" : "mas 6/19/2020 21:21",
"lint:" : "MK 6/18/2020 17:10",
"testClassCategoriesSpelling" : "MK 7/3/2020 21:05",
"testClassVariableCapitzlization" : "MK 6/29/2020 17:39",
"testClassVariableNamesSpelling" : "MK 7/3/2020 21:05",
"testInstanceVariableNamesSpelling" : "MK 7/3/2020 21:05",
"testLongMethodsWithoutEmptyLines" : "MK 6/19/2020 19:20",
"testMethodCommentspelling" : "MK 7/3/2020 21:06",
"testNoAsOrderedCollectionAsArrayNotNeeded" : "MK 7/3/2020 21:51",
"testNoAssignmentWithoutEffect" : "MK 6/28/2020 12:18",
"testNoBlockImmediatelyEvaluated" : "MK 6/28/2020 12:18",
"testNoBooleanPrecedence" : "MK 6/19/2020 19:18",
"testNoBrainClass" : "mas 6/19/2020 21:44",
"testNoComplexMethods" : "MK 6/19/2020 19:23",
"testNoDataClass" : "mas 6/19/2020 21:43",
"testNoDoesntUseTheResultOfAYourselfMessage" : "MK 7/3/2020 21:51",
"testNoExcessiveInheritanceDepth" : "MK 7/3/2020 21:52",
"testNoExcessiveNumberOfArguments" : "MK 7/3/2020 21:53",
"testNoExcessiveNumberOfMethods" : "MK 7/3/2020 21:53",
"testNoExcessiveNumberOfVariables" : "MK 7/3/2020 21:53",
"testNoGodClass" : "mas 6/19/2020 21:43",
"testNoInstanceVariableCapitalization" : "MK 6/29/2020 17:44",
"testNoInstanceVariableNotReadAndWritten" : "MK 6/28/2020 12:18",
"testNoMessagesSentButNotImplemented" : "MK 6/19/2020 19:18",
"testNoMethodEquivalentDefinedInSuperclass" : "MK 6/28/2020 12:18",
"testNoMethodJustSendsSuperMessage" : "MK 6/28/2020 12:19",
"testNoMissingSuperImplementation" : "MK 6/19/2020 19:19",
"testNoNonBlocksInSpecialMessages" : "MK 7/3/2020 21:56",
"testNoOverridesAFinalMethod" : "MK 6/19/2020 19:19",
"testNoOverridesASpecialMessage" : "MK 6/19/2020 19:19",
"testNoRedundantClassNameInSelector" : "MK 7/3/2020 22:02",
"testNoRefusedParentBequest" : "MK 6/19/2020 19:30",
"testNoSameStatementsAtEndOfIfTrueOrIfFalseBlocks" : "MK 6/28/2020 12:19",
"testNoSendsAddOrRemoveToExternalCollection" : "MK 6/29/2020 17:46",
Expand All @@ -35,10 +47,15 @@
"testNoToDoDoesntUseACollection" : "MK 6/29/2020 17:52",
"testNoToDoLoopAlsoIncrementsACounter" : "MK 6/29/2020 17:50",
"testNoUnnecassaryEqualsTrue" : "MK 6/28/2020 12:19",
"testNoUnnecessaryAssignmentOrReturnInBlock" : "MK 7/3/2020 21:59",
"testNoUnnecessarySizeCheck" : "MK 6/29/2020 17:47",
"testNoUnreferencedVariables" : "MK 6/28/2020 12:19",
"testNoUseOfOrsInsteadOfASearchingLiteral" : "MK 6/29/2020 17:48",
"testNoVariableIsOnlyAssignedASingleLiteralValue" : "MK 7/3/2020 22:01",
"testNoVariableReferencedOnce" : "MK 6/28/2020 12:20",
"testNoVariableUsedButNotDefinedAnywhere" : "MK 6/19/2020 19:19",
"testNoWhileTrueInsteadOfToDo" : "MK 6/29/2020 17:50",
"testOptimizedAndOr" : "MK 7/3/2020 22:00",
"testOptimizedToDo" : "MK 7/3/2020 22:00",
"testTemporaryVariableNamesSpelling" : "MK 7/3/2020 21:06",
"testVariableNotReferenced" : "MK 6/19/2020 19:20" } }
Original file line number Diff line number Diff line change
@@ -1 +1 @@
I convert MarkdownCode to Html.
I convert markdown code to html.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
],
"classvars" : [
],
"commentStamp" : "MK 6/21/2020 17:44",
"commentStamp" : "MK 7/3/2020 20:56",
"instvars" : [
],
"name" : "MarkdownHtmlConverter",
Expand Down

0 comments on commit 4e17f4c

Please sign in to comment.