Skip to content

Commit f0d3513

Browse files
committed
add missing methods in BlEmptyTextIterator [feenkcom/gtoolkit#5196]
1 parent ea64083 commit f0d3513

1 file changed

Lines changed: 23 additions & 0 deletions

File tree

‎src/Bloc-Text/BlEmptyTextIterator.class.st‎

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,15 +68,38 @@ BlEmptyTextIterator >> position: anInteger [
6868
self error: 'Cannot position a BlEmptyTextIterator' ]
6969
]
7070

71+
{ #category : #'iterator - enumeration' }
72+
BlEmptyTextIterator >> previousSegment: aBlock indicesDo: anIndicesBlock [
73+
"@see BlTextIterator>>#previousSegment:indicesDo:"
74+
75+
<return: #Object>
76+
^ anIndicesBlock
77+
cull: 0
78+
cull: 0
79+
cull: nil
80+
]
81+
7182
{ #category : #'iterator - enumeration' }
7283
BlEmptyTextIterator >> selectAttributes: aBlock [
7384
^ #()
7485
]
7586

87+
{ #category : #'iterator - enumeration' }
88+
BlEmptyTextIterator >> skip: aNumber [
89+
"do nothing"
90+
91+
92+
]
93+
7694
{ #category : #accessing }
7795
BlEmptyTextIterator >> text [
7896
"Return an original text that I iterate over"
7997
<return: #BlText>
8098

8199
^ BlText empty
82100
]
101+
102+
{ #category : #accessing }
103+
BlEmptyTextIterator >> text: arg1 from: arg2 to: arg3 [
104+
^ BlText empty
105+
]

0 commit comments

Comments
 (0)