--
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to va-smalltalk...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/va-smalltalk/CAKHmnHsYkQ2vo9tWhATEhNiUKFuXmh072ELbcyt33aboiFW6dw%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/va-smalltalk/CAOUkibHMm4OqPVCDeB_XYn7B2Vkx%3DqP%3D3%3D3VtfuEwJ_yO%2BsmkA%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/va-smalltalk/CAKHmnHvieKkeq%3D_W22qjN%2Bvgo50MN0h9Uy-As9ZeiREiu1HH5A%40mail.gmail.com.
Hi everyone,I'm using VA Smalltalk 9.1.It is possible in this version to add my own menu item to the Tools menu in the System Transcript window?Normally I would search the strings in the image to see how it's done but I didn't found any shortcut.
--
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to va-smalltalk...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/va-smalltalk/e72eac78-5463-45dd-bddb-f20275ac4744%40googlegroups.com.
Richard, I don't see any attachment,
On Wed, May 20, 2020 at 6:48 PM Richard Sargent <richard...@gemtalksystems.com> wrote:
On Wednesday, May 20, 2020 at 1:34:56 PM UTC-7, Hernán Morales Durand wrote:--Hi everyone,I'm using VA Smalltalk 9.1.It is possible in this version to add my own menu item to the Tools menu in the System Transcript window?Normally I would search the strings in the image to see how it's done but I didn't found any shortcut.See the attached screen print. It is from the Transcript window, but I believe the same menu item is available on most development tools windows.Likewise, the accelerator sequences are associated with the menus of each window. As far as I know, there is no global accelerator sequences.e.g. Ctrl+S typically triggers the Save menu item from the File menu. Ctrl+C triggers the Copy menu item from the Edit menu. In the absence of these menus, the corresponding key sequence has no effect (unless some other menu on that window defines a binding).Any example would be appreciated.Cheers,Hernán
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to va-sma...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/va-smalltalk/e72eac78-5463-45dd-bddb-f20275ac4744%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/va-smalltalk/CAOUkibFBAMYAuTDWFPu1tFcpDNmzVPZHx%2B21zND63sUpMSc9QA%40mail.gmail.com.
To unsubscribe from this group and stop receiving emails from it, send an email to va-smalltalk...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/va-smalltalk/01d48ae9-f27b-4729-8a6a-f493da31c8f1%40googlegroups.com.
EmSystemConfiguration >> stsMethodsIncluding: aString
"Open a browser on all the methods including aString specified by the user."
(aString isNil or: [aString isEmpty])
ifTrue: [self stsMethodsIncludingString]
ifFalse: [
(System stsConfirm: 'This is a very lengthy operation. Continue?' title: 'Find String')
ifFalse: [^self].
self stsAllMethodsIncludingString: aString]
EtWindow >> stsMethodsIncludingString
"Open a browser on all the methods including aString specified by the user."
| text widget |
self convertSelectionText: (widget := self targetTextWidget).
text := widget getSelection.
System stsMethodsIncluding: text
add: #stsMethodsIncludingString
label: 'Browse Methods Including String'
enable: [true]
for: nil
accelerator: (CwAccelerator mask: ControlMask | ShiftMask keysym: XKe)
acceleratorText: 'Ctrl+Shift+E';
To view this discussion on the web visit https://groups.google.com/d/msgid/va-smalltalk/CAKHmnHvDa8-xk_YBRfu5dfM_wfw385fszHS7Y99rLJWTBJwWGw%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/va-smalltalk/01d48ae9-f27b-4729-8a6a-f493da31c8f1%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to va-sma...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/va-smalltalk/CAKHmnHvDa8-xk_YBRfu5dfM_wfw385fszHS7Y99rLJWTBJwWGw%40mail.gmail.com.
To unsubscribe from this group and stop receiving emails from it, send an email to va-smalltalk...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/va-smalltalk/2ef482fa-38c4-43a2-9125-2d062d3c4ff7%40googlegroups.com.
Cool. So let me know if what I sent works as expected and if so, I can integrate it for next release.BTW, I may prefer CTRL+SHIFT+F rather than "E" as we already have "CTRL+F" for "Find".
You received this message because you are subscribed to a topic in the Google Groups "VA Smalltalk" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/va-smalltalk/Q4gjsFTx1E4/unsubscribe.
To unsubscribe from this group and all its topics, send an email to va-smalltalk...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/va-smalltalk/CAOUkibF6Pc0WJgi2WK3AgBavg-pCqyUTayGfJjnXXHgxNSERxw%40mail.gmail.com.
Opinions?
To unsubscribe from this group and stop receiving emails from it, send an email to va-smalltalk+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/va-smalltalk/2ef482fa-38c4-43a2-9125-2d062d3c4ff7%40googlegroups.com.
--
Mariano Martinez Peck
Software Engineer, Instantiations Inc.
Email: mpeck@instantiations.com
--
You received this message because you are subscribed to a topic in the Google Groups "VA Smalltalk" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/va-smalltalk/Q4gjsFTx1E4/unsubscribe.
To unsubscribe from this group and all its topics, send an email to va-smalltalk+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/va-smalltalk/CAOUkibEOwW0gbdnsz7noLVfW4%3DQiCu4P%3D9ewm4hNCyBAKxOppg%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/va-smalltalk/CAOUkibF6Pc0WJgi2WK3AgBavg-pCqyUTayGfJjnXXHgxNSERxw%40mail.gmail.com.
I'd like to suggest to distinguish between searching any kind of literals inside a method, and search only in the real Strings contained in a method, which is what I expected as default behavior. For example if you highlight Breakpoints in a Workspace and Ctrl+Shift+E, now it returns all the methods with the subword Breakpoint, even if it is part of a Symbol, i.e. in this method:>>stsClearBreakpoints
super stsClearBreakpoints.
sourceCodeNotebook
callCallbacks: XmNresizeCallback
callData: nil.the results includes literals containing "Breakpoints" as substrings: stsClear"Breakpoints", they don't make a distinction if it is a real String or a message send.Anyway, I tested with a dummy method:>>sampleMethod
^ 'myBreakpoint'And it returns 1 result as expected, so ultimately it works :)
To view this discussion on the web visit https://groups.google.com/d/msgid/va-smalltalk/CAOUkibFBAMYAuTDWFPu1tFcpDNmzVPZHx%2B21zND63sUpMSc9QA%40mail.gmail.com.