forked from pharo-project/pharo
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
56acfe3
commit ed7905e
Showing
3 changed files
with
104 additions
and
7 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,103 @@ | ||
Class { | ||
#name : #DummyFindReplaceService, | ||
#superclass : #FindReplaceService, | ||
#instVars : [ | ||
'dialog', | ||
'textAreaHolder' | ||
], | ||
#category : #'Rubric-Editing-FindReplaceService' | ||
} | ||
|
||
{ #category : #accessing } | ||
DummyFindReplaceService class >> newFor: anObject [ | ||
|
||
^ super new | ||
] | ||
|
||
{ #category : #accessing } | ||
DummyFindReplaceService >> caseSensitive [ | ||
^ caseSensitive ifNil: [caseSensitive := RubAbstractTextArea caseSensitiveFinds] | ||
] | ||
|
||
{ #category : #services } | ||
DummyFindReplaceService >> dialogIsActiveFor: aTextArea [ | ||
|
||
^ false | ||
] | ||
|
||
{ #category : #services } | ||
DummyFindReplaceService >> find [ | ||
|
||
^ nil | ||
] | ||
|
||
{ #category : #services } | ||
DummyFindReplaceService >> findNext [ | ||
|
||
^ nil | ||
] | ||
|
||
{ #category : #updating } | ||
DummyFindReplaceService >> findPolicyChanged [ | ||
] | ||
|
||
{ #category : #accessing } | ||
DummyFindReplaceService >> findText: aStringOrText [ | ||
|
||
^ false | ||
] | ||
|
||
{ #category : #initialization } | ||
DummyFindReplaceService >> initialize [ | ||
super initialize. | ||
|
||
textAreaHolder := WeakArray new: 1 | ||
] | ||
|
||
{ #category : #services } | ||
DummyFindReplaceService >> replace [ | ||
|
||
] | ||
|
||
{ #category : #services } | ||
DummyFindReplaceService >> replaceAll [ | ||
|
||
] | ||
|
||
{ #category : #accessing } | ||
DummyFindReplaceService >> searchBackwards: aBoolean [ | ||
searchBackwards := aBoolean. | ||
self updateFindStartIndex. | ||
self findPolicyChanged | ||
|
||
] | ||
|
||
{ #category : #updating } | ||
DummyFindReplaceService >> updateFindStartIndex [ | ||
|
||
] | ||
|
||
{ #category : #'user-interface' } | ||
DummyFindReplaceService >> whenDialogDeleted [ | ||
|
||
] | ||
|
||
{ #category : #'events handling' } | ||
DummyFindReplaceService >> whenFindReplaceWindowRequired: anAnnouncement [ | ||
|
||
] | ||
|
||
{ #category : #'events handling' } | ||
DummyFindReplaceService >> whenTextAreaGotFocus: anAnnounce [ | ||
|
||
] | ||
|
||
{ #category : #'events handling' } | ||
DummyFindReplaceService >> whenTextAreaLostFocus: anAnnounce [ | ||
|
||
] | ||
|
||
{ #category : #'events handling' } | ||
DummyFindReplaceService >> whenTextAreaSelectionChanged: anAnnouncement [ | ||
|
||
] |
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