10000 Merge f0a8efcf4b3212768bbc49f52e3c034caa8f6ab7 · feenkcom/gtoolkit-coder@d622032 · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Commit d622032

Browse files
committed
Merge f0a8efc
2 parents 36e9b85 + f0a8efc commit d622032

File tree

4 files changed

+16
-6
lines changed

4 files changed

+16
-6
lines changed

src/GToolkit-Coder-AddOns/GtFixItAttribute.class.st

-4
Original file line numberDiff line numberDiff line change
@@ -113,10 +113,6 @@ GtFixItAttribute >> dropDownElementFor: anEditorElement [
113113
computeDescriptionTextInEditorElement: anEditorElement
114114
forFixItActions: computedFixItActions.
115115

116-
menuItems isEmpty
117-
ifTrue: [ labelText width: 200 ]
118-
ifFalse: [ labelText hMatchParent ].
119-
120116
pane addChild: labelText ].
121117

122118
menuItems ifNotEmpty: [

src/GToolkit-Coder-AddOns/GtTextualCoder.extension.st

+1-1
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ GtTextualCoder >> initializeSearchTextAddOns: addOns viewModel: aCoderViewModel
8686
stencil: [ BrButton new
8787
aptitude: BrGlamorousButtonWithIconAptitude;
8888
icon: BrGlamorousVectorIcons search;
89-
id: GtMethodCoderSaveActionId;
89+
id: GtCoderSearchActionId;
9090
label: 'Search';
9191
beTinySize;
9292
when: BrDropdownIsHidden
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
Class {
2+
#name : #GtCoderSearchActionId,
3+
#superclass : #GtCoderElementId,
4+
#category : #'GToolkit-Coder-UI-Coder - Ids'
5+
}
6+
7+
{ #category : #converting }
8+
GtCoderSearchActionId >> asSymbol [
9+
^ #'main-action--search'
10+
]

src/GToolkit-Coder-UI/GtSourceCoderErrorFixItAttribute.class.st

+5-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,11 @@ GtSourceCoderErrorFixItAttribute >> buildPopupIn: anEditorElement aptitude: apti
2424
action: [ :aShortcutEvent :aShortcutAction |
2525
aShortcutEvent currentTarget fireEvent: BrDropdownHideWish new.
2626
anEditorElement requestFocus ]) ].
27-
element enqueueTask: [ element requestFocus ] asBlTask.
27+
element
28+
enqueueTask: [ (element
29+
allChildrenBreadthFirstDetect: [ :each | each isKindOf: GtCoderContextMenuContent ]
30+
ifFound: [ :each | each ]
31+
ifNone: [ element ]) requestFocus ] asBlTask.
2832
^ element
2933
]
3034

0 commit comments

Comments
 (0)
0