10000 add search text addon to pharo method coder and pharo snippet coder [… · feenkcom/gt4pharo@62dff94 · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Commit 62dff94

Browse files
committed
add search text addon to pharo method coder and pharo snippet coder [feenkcom/gtoolkit#4504]
1 parent 2a534e4 commit 62dff94

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

src/GToolkit-Pharo-Coder-AddOns/GtPharoMethodCoder.extension.st

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1143,7 +1143,9 @@ GtPharoMethodCoder >> initializeAddOns: addOns viewModel: aGtPharoMethodCoderVie
11431143
addOns
11441144
addMainAction: 'Copy Method Name' translated
11451145
icon: BrGlamorousVectorIcons clipboard
1146-
action: [ :aCoderUIModel :anElement | self copyMethodNameToClipboard ]
1146+
action: [ :aCoderUIModel :anElement | self copyMethodNameToClipboard ].
1147+
1148+
self initializeSearchTextAddOns: addOns viewModel: aGtPharoMethodCoderViewModel
11471149
]
11481150

11491151
{ #category : #'*GToolkit-Pharo-Coder-AddOns' }

src/GToolkit-Pharo-Coder-AddOns/GtPharoSnippetCoder.extension.st

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,9 @@ GtPharoSnippetCoder >> initializeAddOns: addOns viewModel: aViewModel [
262262
addOns
263263
updateActionList: #mainActions
264264
withAction: action
265-
onlyNew: true
265+
onlyNew: true.
266+
267+
self initializeSearchTextAddOns: addOns viewModel: aViewModel
266268
]
267269

268270
{ #category : #'*GToolkit-Pharo-Coder-AddOns' }

0 commit comments

Comments
 (0)
0