From 03a82c929654e1238738937d6a58a1885d25a707 Mon Sep 17 00:00:00 2001 From: valtena Date: Mon, 14 Feb 2022 14:56:36 +0100 Subject: [PATCH 1/6] fix: ajax scroll --- .../PrismLibrary.class.st | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/src/PrismCodeDisplayer-Library/PrismLibrary.class.st b/src/PrismCodeDisplayer-Library/PrismLibrary.class.st index 8beddb8..9a51db5 100644 --- a/src/PrismCodeDisplayer-Library/PrismLibrary.class.st +++ b/src/PrismCodeDisplayer-Library/PrismLibrary.class.st @@ -219,6 +219,16 @@ PrismLibrary >> crossPng [ ^ #[137 80 78 71 13 10 26 10 0 0 0 13 73 72 68 82 0 0 0 128 0 0 0 128 8 6 0 0 0 195 62 97 203 0 0 0 4 115 66 73 84 8 8 8 8 124 8 100 136 0 0 0 9 112 72 89 115 0 0 11 19 0 0 11 19 1 0 154 156 24 0 0 3 131 73 68 65 84 120 156 237 219 75 106 27 65 20 70 225 27 123 26 225 45 198 96 175 34 3 15 178 179 128 193 144 61 217 25 40 55 54 178 218 253 168 251 170 170 243 65 79 187 4 255 65 3 137 18 1 128 189 30 69 228 148 253 33 240 223 157 136 60 68 29 246 75 68 222 68 228 89 136 160 130 59 17 121 145 243 38 79 222 135 233 248 250 16 65 174 143 227 235 227 22 193 229 248 68 144 235 218 248 110 17 44 141 79 4 57 190 26 223 60 130 181 241 137 32 214 150 241 205 34 216 58 62 17 196 216 51 126 115 4 123 199 39 2 95 71 198 63 28 193 209 241 137 192 71 203 248 187 35 104 29 159 8 108 89 140 191 57 2 171 241 137 192 134 229 248 171 17 60 26 31 68 4 109 60 198 215 231 254 218 129 39 57 143 69 4 249 60 199 255 45 34 223 151 14 38 130 124 105 227 43 34 200 147 62 190 34 130 120 101 198 87 68 16 167 220 248 138 8 252 149 29 95 17 129 159 242 227 43 34 176 215 205 248 138 8 236 116 55 190 34 130 118 221 142 175 136 224 184 238 199 87 68 176 223 48 227 43 34 216 110 184 241 21 17 172 27 118 124 69 4 203 134 31 95 17 193 103 211 140 175 136 224 221 116 227 43 34 152 120 124 53 115 4 211 143 175 102 140 128 241 47 204 20 1 227 47 152 33 2 198 95 49 114 4 140 191 209 136 17 48 254 78 35 69 192 248 7 141 16 1 227 55 234 57 2 198 55 210 99 4 140 111 172 167 8 24 223 73 15 17 48 190 179 202 17 48 126 144 138 17 48 126 176 74 17 48 126 146 10 17 48 126 178 204 8 24 191 136 140 8 24 191 152 200 8 24 191 168 136 8 24 191 56 207 8 94 68 228 143 211 187 25 223 144 103 4 140 223 137 94 34 96 124 71 213 35 96 252 0 85 35 96 252 64 213 34 96 252 4 85 34 96 252 68 217 17 48 126 1 89 17 48 126 33 209 17 48 126 65 81 17 48 126 97 39 241 251 93 255 77 206 129 13 53 254 77 246 7 48 118 35 34 183 142 239 191 21 145 111 142 239 71 3 207 127 245 46 191 5 42 220 74 198 7 81 227 19 65 65 209 227 19 65 33 89 227 19 65 1 217 227 19 65 162 42 227 19 65 130 106 227 19 65 160 170 227 19 65 128 234 227 19 129 163 94 198 39 2 7 158 227 63 59 191 155 8 26 69 92 218 168 112 33 21 87 68 222 216 33 130 98 50 174 107 17 65 17 153 119 245 136 32 89 133 139 154 68 144 164 194 248 138 8 130 85 26 95 17 65 144 138 227 43 34 112 86 121 124 69 4 78 122 24 95 17 129 177 158 198 87 68 96 164 199 241 21 17 52 234 121 124 69 4 7 141 48 190 34 130 157 70 26 95 17 193 70 35 142 175 136 96 197 200 227 43 34 88 48 195 248 138 8 46 204 52 190 34 130 127 102 28 95 77 31 193 204 227 171 105 35 96 252 119 211 69 192 248 159 77 19 1 227 47 27 62 2 198 95 55 108 4 140 191 221 112 17 48 254 126 195 68 192 248 199 117 31 1 227 183 235 54 2 198 183 211 93 4 140 111 175 155 8 24 223 79 249 8 24 223 95 217 8 24 63 78 185 8 24 63 94 153 8 24 63 79 122 4 140 159 47 45 2 198 175 35 37 130 7 167 3 25 255 24 175 8 94 69 228 199 210 161 79 198 135 49 126 27 235 8 94 69 228 231 218 161 86 17 48 190 13 171 8 54 141 175 90 35 96 124 91 173 17 236 26 95 29 141 128 241 125 28 141 224 208 248 106 111 4 140 239 107 111 4 77 227 171 173 17 48 126 140 173 17 152 140 175 214 34 96 252 88 107 17 152 142 175 150 34 96 252 28 75 17 184 140 175 46 35 96 252 92 151 17 184 142 175 52 2 198 175 65 35 8 25 95 221 11 227 87 114 146 47 126 222 5 128 235 254 2 6 215 167 142 138 248 28 20 0 0 0 0 73 69 78 68 174 66 96 130] ] +{ #category : #accessing } +PrismLibrary >> customCss [ + ^ ' +.prismComponent { + height: 100%; + overflow: auto; +} +' +] + { #category : #'languages highlights' } PrismLibrary >> fdLanguageJs [ ^ 'Prism.languages.fourD = {comment:[{pattern:/(^|[^\\])\/\*[\w\W]*?\*\//,lookbehind:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0}], @@ -446,6 +456,7 @@ PrismLibrary >> minimapCss [ height: 100%; width: 100%; display: flex; + overflow: hidden; } .minimap-code { @@ -1402,5 +1413,5 @@ PrismLibrary >> selectionMenuCss [ { #category : #accessing } PrismLibrary >> selectorsToInclude [ - ^ #(prismCss prismJs copyJs copyCss fdLanguageJs adaLanguageJs mantisLanguageJs mantisLanguageCss autoLinkerJs selectionMenuCss prismComponentJs metaMarkPrismJs minimapJs minimapCss initComponentPrismJs searchCss searchJs) + ^ #(prismCss prismJs copyJs copyCss fdLanguageJs adaLanguageJs mantisLanguageJs mantisLanguageCss autoLinkerJs selectionMenuCss prismComponentJs metaMarkPrismJs minimapJs minimapCss initComponentPrismJs searchCss searchJs customCss) ] From 8bbc86dca68849cbb3578e4afad3f78553c6ccdc Mon Sep 17 00:00:00 2001 From: CyrilFerlicot Date: Sat, 14 May 2022 02:54:06 +0200 Subject: [PATCH 2/6] Enable P10 in CI --- .github/workflows/continuous.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/continuous.yml b/.github/workflows/continuous.yml index 81c7032..2a8935f 100644 --- a/.github/workflows/continuous.yml +++ b/.github/workflows/continuous.yml @@ -17,7 +17,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - smalltalk: [ Pharo64-6.1, Pharo64-7.0, Pharo64-8.0, Pharo64-9.0 ] + smalltalk: [ Pharo64-6.1, Pharo64-7.0, Pharo64-8.0, Pharo64-9.0, Pharo64-10 ] name: ${{ matrix.smalltalk }} steps: - uses: actions/checkout@v2 From af5584fd87d179545f22e5917885da2654dfcae5 Mon Sep 17 00:00:00 2001 From: CyrilFerlicot Date: Sat, 14 May 2022 02:54:24 +0200 Subject: [PATCH 3/6] Update README.md --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index b5512e3..d63f27d 100644 --- a/README.md +++ b/README.md @@ -71,9 +71,9 @@ You can find a demo at: [https://demos.ferlicot.fr/PrismDemo](https://demos.ferl | Prism version | Compatible Pharo versions | |--------------- |--------------------------- | -| v1.x.x | Pharo 61, 70, 80, 90 | -| development | Pharo 61, 70, 80, 90 | +| v1.x.x | Pharo 61, 70, 80, 90, 10 | +| development | Pharo 61, 70, 80, 90, 10 | ## Contact -If you have any question or problem do not hesitate to open an issue or contact cyril (a) ferlicot.me or guillaume.larcheveque (a) gmail.com \ No newline at end of file +If you have any question or problem do not hesitate to open an issue or contact cyril (a) ferlicot.me or guillaume.larcheveque (a) gmail.com From b115f2e533e11cb2724df4216592beefe57550f6 Mon Sep 17 00:00:00 2001 From: CyrilFerlicot Date: Thu, 27 Aug 2026 04:15:45 +0200 Subject: [PATCH 4/6] Add Pharo up to 14 to CI --- .github/workflows/continuous.yml | 24 ++++++++---------------- CHANGELOG.md | 2 ++ README.md | 6 +++--- 3 files changed, 13 insertions(+), 19 deletions(-) diff --git a/.github/workflows/continuous.yml b/.github/workflows/continuous.yml index 2a8935f..76d1edd 100644 --- a/.github/workflows/continuous.yml +++ b/.github/workflows/continuous.yml @@ -1,30 +1,22 @@ name: CI -env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - -# Controls when the action will run. Triggers the workflow on push or pull request -# events but only for the development branch -on: - push: - branches: - - '**' - pull_request: - types: [assigned, opened, synchronize, reopened] +on: [push, pull_request, workflow_dispatch] jobs: build: runs-on: ubuntu-latest + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} strategy: + fail-fast: false matrix: - smalltalk: [ Pharo64-6.1, Pharo64-7.0, Pharo64-8.0, Pharo64-9.0, Pharo64-10 ] + smalltalk: [ Pharo32-6.1, Pharo32-7.0, Pharo32-8.0, Pharo64-9.0, Pharo64-10, Pharo64-11, Pharo64-12, Pharo64-13, Pharo64-14 ] # Pharo 6, 7, 8 64b currently fails in smalltalkCI :( name: ${{ matrix.smalltalk }} steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v6 - uses: hpi-swa/setup-smalltalkCI@v1 with: - smalltalk-version: ${{ matrix.smalltalk }} + smalltalk-image: ${{ matrix.smalltalk }} - run: smalltalkci -s ${{ matrix.smalltalk }} shell: bash - timeout-minutes: 15 - + timeout-minutes: 15 \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 64a0efd..2ccfc32 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,8 @@ git log --pretty="* %s ([%h](https://github.com/DuneSt/PrismCodeDisplayer/commit 'Content' copyWithRegex: 'Merge pull request #[0-9]+ from [^/]+/[0-9]*' matchesReplacedWith: '') copyReplaceAll: '-' with: ' ' --> +> More recent releases have the changelog in the release + # [v1.1.1](https://github.com/DuneSt/PrismCodeDisplayer/compare/v1.1.0...v1.1.1) (2022-01-22) ## Infrastructure diff --git a/README.md b/README.md index d63f27d..7bd136c 100644 --- a/README.md +++ b/README.md @@ -71,9 +71,9 @@ You can find a demo at: [https://demos.ferlicot.fr/PrismDemo](https://demos.ferl | Prism version | Compatible Pharo versions | |--------------- |--------------------------- | -| v1.x.x | Pharo 61, 70, 80, 90, 10 | -| development | Pharo 61, 70, 80, 90, 10 | +| v1.x.x | Pharo 61 - 14 | +| development | Pharo 61 - 14 | ## Contact -If you have any question or problem do not hesitate to open an issue or contact cyril (a) ferlicot.me or guillaume.larcheveque (a) gmail.com +If you have any question or problem do not hesitate to open an issue or contact cyril (a) ferlicot.fr \ No newline at end of file From 08698942421ae3c7e74d42ca9dec89893a3b2258 Mon Sep 17 00:00:00 2001 From: CyrilFerlicot Date: Thu, 27 Aug 2026 04:19:26 +0200 Subject: [PATCH 5/6] Migrate to Tonel v3 --- .../BaselineOfPrismCodeDisplayer.class.st | 17 +-- src/BaselineOfPrismCodeDisplayer/package.st | 2 +- .../PrismComponentLinkStrategyTest.class.st | 9 +- .../PrismComponentStrategyTest.class.st | 13 ++- .../PrismComponentStyleStrategyTest.class.st | 9 +- .../PrismComponentUnitTest.class.st | 19 +-- src/PrismCodeDisplayer-Core-Tests/package.st | 2 +- .../Color.extension.st | 4 +- .../PrismAbstractDecoration.class.st | 14 ++- .../PrismAbstractFilter.class.st | 10 +- .../PrismComponent.class.st | 110 +++++++++--------- .../PrismComponentLinkStrategy.class.st | 18 +-- .../PrismComponentStrategy.class.st | 44 +++---- .../PrismComponentStyleStrategy.class.st | 10 +- .../PrismInsensitiveRegexFilter.class.st | 10 +- .../PrismMenu.class.st | 34 +++--- .../PrismMinimapDecoration.class.st | 32 ++--- .../PrismSearchDecoration.class.st | 36 +++--- .../PrismSensitiveRegexFilter.class.st | 10 +- .../PrismTextInterval.class.st | 38 +++--- .../String.extension.st | 4 +- src/PrismCodeDisplayer-Core/package.st | 2 +- .../PrismAbstractDemo.class.st | 29 ++--- .../PrismCopyDemo.class.st | 13 ++- .../PrismDemoRoot.class.st | 29 ++--- .../PrismDynamicLoadingDemo.class.st | 13 ++- .../PrismLinkStrategyDemo.class.st | 13 ++- .../PrismMenuDemo.class.st | 19 +-- .../PrismSearchDemo.class.st | 13 ++- .../PrismSimpleDemo.class.st | 13 ++- .../PrismStyleStrategyDemo.class.st | 13 ++- src/PrismCodeDisplayer-Demo/package.st | 2 +- .../PrismLibrary.class.st | 51 ++++---- src/PrismCodeDisplayer-Library/package.st | 2 +- .../PrismComponent.extension.st | 4 +- .../PrismMDLSearchDecoration.class.st | 11 +- .../package.st | 2 +- 37 files changed, 357 insertions(+), 317 deletions(-) diff --git a/src/BaselineOfPrismCodeDisplayer/BaselineOfPrismCodeDisplayer.class.st b/src/BaselineOfPrismCodeDisplayer/BaselineOfPrismCodeDisplayer.class.st index 2b14d44..2b978cd 100644 --- a/src/BaselineOfPrismCodeDisplayer/BaselineOfPrismCodeDisplayer.class.st +++ b/src/BaselineOfPrismCodeDisplayer/BaselineOfPrismCodeDisplayer.class.st @@ -2,12 +2,13 @@ I am a baseline of ChartJs for Seaside. Read more at: https://github.com/DuneSt/PrismCodeDisplayer " Class { - #name : #BaselineOfPrismCodeDisplayer, - #superclass : #BaselineOf, - #category : #BaselineOfPrismCodeDisplayer + #name : 'BaselineOfPrismCodeDisplayer', + #superclass : 'BaselineOf', + #category : 'BaselineOfPrismCodeDisplayer', + #package : 'BaselineOfPrismCodeDisplayer' } -{ #category : #baseline } +{ #category : 'baseline' } BaselineOfPrismCodeDisplayer >> baseline: spec [ spec @@ -37,7 +38,7 @@ BaselineOfPrismCodeDisplayer >> baseline: spec [ group: 'tests' with: #('PrismCodeDisplayer-Core-Tests') ] ] -{ #category : #dependencies } +{ #category : 'dependencies' } BaselineOfPrismCodeDisplayer >> materialDesignLite: spec [ spec baseline: 'MaterialDesignLite' @@ -46,19 +47,19 @@ BaselineOfPrismCodeDisplayer >> materialDesignLite: spec [ repository: 'github://DuneSt/MaterialDesignLite:v2.x.x/src' ] ] -{ #category : #dependencies } +{ #category : 'dependencies' } BaselineOfPrismCodeDisplayer >> mocketry: spec [ spec baseline: 'Mocketry' with: [ spec repository: 'github://dionisiydk/Mocketry:v6.0.x' ] ] -{ #category : #accessing } +{ #category : 'accessing' } BaselineOfPrismCodeDisplayer >> projectClass [ ^ [ self class environment at: #MetacelloCypressBaselineProject ] on: NotFound do: [ super projectClass ] ] -{ #category : #dependencies } +{ #category : 'dependencies' } BaselineOfPrismCodeDisplayer >> seaside3: spec [ spec baseline: 'Seaside3' diff --git a/src/BaselineOfPrismCodeDisplayer/package.st b/src/BaselineOfPrismCodeDisplayer/package.st index f8edf1c..f96a11c 100644 --- a/src/BaselineOfPrismCodeDisplayer/package.st +++ b/src/BaselineOfPrismCodeDisplayer/package.st @@ -1 +1 @@ -Package { #name : #BaselineOfPrismCodeDisplayer } +Package { #name : 'BaselineOfPrismCodeDisplayer' } diff --git a/src/PrismCodeDisplayer-Core-Tests/PrismComponentLinkStrategyTest.class.st b/src/PrismCodeDisplayer-Core-Tests/PrismComponentLinkStrategyTest.class.st index b3bf285..f6579c8 100644 --- a/src/PrismCodeDisplayer-Core-Tests/PrismComponentLinkStrategyTest.class.st +++ b/src/PrismCodeDisplayer-Core-Tests/PrismComponentLinkStrategyTest.class.st @@ -2,12 +2,13 @@ A PrismComponentLinkStrategyTest is a test class for testing the behavior of PrismComponentLinkStrategy " Class { - #name : #PrismComponentLinkStrategyTest, - #superclass : #PrismComponentStrategyTest, - #category : #'PrismCodeDisplayer-Core-Tests' + #name : 'PrismComponentLinkStrategyTest', + #superclass : 'PrismComponentStrategyTest', + #category : 'PrismCodeDisplayer-Core-Tests', + #package : 'PrismCodeDisplayer-Core-Tests' } -{ #category : #helpers } +{ #category : 'helpers' } PrismComponentLinkStrategyTest >> actualClass [ ^ PrismComponentLinkStrategy ] diff --git a/src/PrismCodeDisplayer-Core-Tests/PrismComponentStrategyTest.class.st b/src/PrismCodeDisplayer-Core-Tests/PrismComponentStrategyTest.class.st index 58ef6ba..8ce527b 100644 --- a/src/PrismCodeDisplayer-Core-Tests/PrismComponentStrategyTest.class.st +++ b/src/PrismCodeDisplayer-Core-Tests/PrismComponentStrategyTest.class.st @@ -2,22 +2,23 @@ A PrismComponentStrategyTest is a test class for testing the behavior of PrismComponentStrategy " Class { - #name : #PrismComponentStrategyTest, - #superclass : #TestCase, - #category : #'PrismCodeDisplayer-Core-Tests' + #name : 'PrismComponentStrategyTest', + #superclass : 'TestCase', + #category : 'PrismCodeDisplayer-Core-Tests', + #package : 'PrismCodeDisplayer-Core-Tests' } -{ #category : #testing } +{ #category : 'testing' } PrismComponentStrategyTest class >> isAbstract [ ^ self = PrismComponentStrategyTest ] -{ #category : #helpers } +{ #category : 'helpers' } PrismComponentStrategyTest >> actualClass [ ^ self subclassResponsibility ] -{ #category : #tests } +{ #category : 'tests' } PrismComponentStrategyTest >> testIntervals [ | strat obj1 obj2 | obj1 := Mock named: 'Test1'. diff --git a/src/PrismCodeDisplayer-Core-Tests/PrismComponentStyleStrategyTest.class.st b/src/PrismCodeDisplayer-Core-Tests/PrismComponentStyleStrategyTest.class.st index b7898d8..dc10da9 100644 --- a/src/PrismCodeDisplayer-Core-Tests/PrismComponentStyleStrategyTest.class.st +++ b/src/PrismCodeDisplayer-Core-Tests/PrismComponentStyleStrategyTest.class.st @@ -2,12 +2,13 @@ A PrismComponentStyleStrategyTest is a test class for testing the behavior of PrismComponentStyleStrategy " Class { - #name : #PrismComponentStyleStrategyTest, - #superclass : #PrismComponentStrategyTest, - #category : #'PrismCodeDisplayer-Core-Tests' + #name : 'PrismComponentStyleStrategyTest', + #superclass : 'PrismComponentStrategyTest', + #category : 'PrismCodeDisplayer-Core-Tests', + #package : 'PrismCodeDisplayer-Core-Tests' } -{ #category : #helpers } +{ #category : 'helpers' } PrismComponentStyleStrategyTest >> actualClass [ ^ PrismComponentStyleStrategy ] diff --git a/src/PrismCodeDisplayer-Core-Tests/PrismComponentUnitTest.class.st b/src/PrismCodeDisplayer-Core-Tests/PrismComponentUnitTest.class.st index 59d504b..24949ae 100644 --- a/src/PrismCodeDisplayer-Core-Tests/PrismComponentUnitTest.class.st +++ b/src/PrismCodeDisplayer-Core-Tests/PrismComponentUnitTest.class.st @@ -1,10 +1,11 @@ Class { - #name : #PrismComponentUnitTest, - #superclass : #TestCase, - #category : #'PrismCodeDisplayer-Core-Tests' + #name : 'PrismComponentUnitTest', + #superclass : 'TestCase', + #category : 'PrismCodeDisplayer-Core-Tests', + #package : 'PrismCodeDisplayer-Core-Tests' } -{ #category : #resources } +{ #category : 'resources' } PrismComponentUnitTest >> codeDemoPrism [ ^' //this is a element decorated by a PrismComponentStyleStrategy @@ -794,7 +795,7 @@ Prism.languages.js = Prism.languages.javascript; ' ] -{ #category : #tests } +{ #category : 'tests' } PrismComponentUnitTest >> testHtmlResponse [ | method component res | method := 'this a @@ -817,7 +818,7 @@ testing'. self assert: (res at: #start) equals: 2 "postion of line" ] -{ #category : #tests } +{ #category : 'tests' } PrismComponentUnitTest >> testHtmlResponseWithProtectedCode [ | component res method | method := '< this a @@ -840,7 +841,7 @@ testing'. self assert: (res at: #start) equals: 2 "postion of line" ] -{ #category : #tests } +{ #category : 'tests' } PrismComponentUnitTest >> testPrismIntervalOfLine [ | string | string := '123 @@ -851,7 +852,7 @@ PrismComponentUnitTest >> testPrismIntervalOfLine [ self assert: (string prismIntervalOfLine: 3) equals: (8 to: 9) ] -{ #category : #tests } +{ #category : 'tests' } PrismComponentUnitTest >> testProtectCode [ "test to try to solve testHtmlResponseWithProtectedCode fail" @@ -868,7 +869,7 @@ string for testing' "postion of line" ] -{ #category : #tests } +{ #category : 'tests' } PrismComponentUnitTest >> testSearchCode [ "test to try to solve testHtmlResponseWithProtectedCode fail" diff --git a/src/PrismCodeDisplayer-Core-Tests/package.st b/src/PrismCodeDisplayer-Core-Tests/package.st index edfbefd..2ab6137 100644 --- a/src/PrismCodeDisplayer-Core-Tests/package.st +++ b/src/PrismCodeDisplayer-Core-Tests/package.st @@ -1 +1 @@ -Package { #name : #'PrismCodeDisplayer-Core-Tests' } +Package { #name : 'PrismCodeDisplayer-Core-Tests' } diff --git a/src/PrismCodeDisplayer-Core/Color.extension.st b/src/PrismCodeDisplayer-Core/Color.extension.st index 9746874..ad40d68 100644 --- a/src/PrismCodeDisplayer-Core/Color.extension.st +++ b/src/PrismCodeDisplayer-Core/Color.extension.st @@ -1,6 +1,6 @@ -Extension { #name : #Color } +Extension { #name : 'Color' } -{ #category : #'*PrismCodeDisplayer-Core' } +{ #category : '*PrismCodeDisplayer-Core' } Color >> asRGBA: anAlpha [ ^ String streamContents: [ :s | diff --git a/src/PrismCodeDisplayer-Core/PrismAbstractDecoration.class.st b/src/PrismCodeDisplayer-Core/PrismAbstractDecoration.class.st index a608d35..309d02f 100644 --- a/src/PrismCodeDisplayer-Core/PrismAbstractDecoration.class.st +++ b/src/PrismCodeDisplayer-Core/PrismAbstractDecoration.class.st @@ -1,20 +1,22 @@ Class { - #name : #PrismAbstractDecoration, - #superclass : #WADecoration, - #category : #'PrismCodeDisplayer-Core-Component' + #name : 'PrismAbstractDecoration', + #superclass : 'WADecoration', + #category : 'PrismCodeDisplayer-Core-Component', + #package : 'PrismCodeDisplayer-Core', + #tag : 'Component' } -{ #category : #accessing } +{ #category : 'accessing' } PrismAbstractDecoration >> lineCount [ ^ self decoratedComponent lineCount ] -{ #category : #action } +{ #category : 'action' } PrismAbstractDecoration >> resetSortedObjectWithIntervals [ self decoratedComponent computeSortedObjectWithIntervals ] -{ #category : #accessing } +{ #category : 'accessing' } PrismAbstractDecoration >> sourceCode [ ^ self decoratedComponent sourceCode ] diff --git a/src/PrismCodeDisplayer-Core/PrismAbstractFilter.class.st b/src/PrismCodeDisplayer-Core/PrismAbstractFilter.class.st index c331c70..cc39fb5 100644 --- a/src/PrismCodeDisplayer-Core/PrismAbstractFilter.class.st +++ b/src/PrismCodeDisplayer-Core/PrismAbstractFilter.class.st @@ -1,10 +1,12 @@ Class { - #name : #PrismAbstractFilter, - #superclass : #Object, - #category : #'PrismCodeDisplayer-Core-Component' + #name : 'PrismAbstractFilter', + #superclass : 'Object', + #category : 'PrismCodeDisplayer-Core-Component', + #package : 'PrismCodeDisplayer-Core', + #tag : 'Component' } -{ #category : #accessing } +{ #category : 'accessing' } PrismAbstractFilter class >> allRangesFrom: aString for: aPattern [ ^ self subclassResponsibility ] diff --git a/src/PrismCodeDisplayer-Core/PrismComponent.class.st b/src/PrismCodeDisplayer-Core/PrismComponent.class.st index b278818..53598dc 100644 --- a/src/PrismCodeDisplayer-Core/PrismComponent.class.st +++ b/src/PrismCodeDisplayer-Core/PrismComponent.class.st @@ -4,8 +4,8 @@ Tell me what language you are using and I will display it. Give me a block to get your text so I will transmit it to the browser with ajax to speed up the displaying. " Class { - #name : #PrismComponent, - #superclass : #WAComponent, + #name : 'PrismComponent', + #superclass : 'WAComponent', #instVars : [ 'id', 'sourceCode', @@ -25,27 +25,29 @@ Class { #classInstVars : [ 'development' ], - #category : #'PrismCodeDisplayer-Core-Component' + #category : 'PrismCodeDisplayer-Core-Component', + #package : 'PrismCodeDisplayer-Core', + #tag : 'Component' } -{ #category : #'as yet unclassified' } +{ #category : 'as yet unclassified' } PrismComponent class >> beDeployment [