-
Notifications
You must be signed in to change notification settings - Fork 65
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Request] notepad.flashWindow() #57
Comments
Sorry, do you mean in addition to the existing flash functionality?
|
@ClaudiaFrank,
If you mean #52, I did request If you add this function, 👍 |
Sorry for not being clear, yes, I was thinking about editor.flash and |
No problem at all.
OK.
That's better. :) Thanks again. |
I see this was integrated, and the feature works fine in PS 1.1.0.0; however I don't see notepad.flashWindow() in the help documentation? Is this correct? Unrelated but also true is that I don't see editor.flash() in the docs either. :( Should another issue be opened to request that these be added in? Thru experimentation, here's the documentation I've cobbled together for my own purposes: notepad.flashWindow(count, timeout_ms) editor.flash(timeout_ms=50) The only ref. I found to "flash" at all in the docs (the .chm file) was this: Editor.findIndicatorFlash(start, end) Does that even do anything on Windows? |
👍
When a search term is not found, the Find Dialog is flashed. BTW, Dave added |
The Find window is only flashed if it is open when the search term is not found when (for ex.) the Find Next button is pressed--this is an obvious statement because it can't be flashed if it isn't open!). The titlebar/frame/taskbar icon is flashed if the Find window is closed when a command (e.g. Find Next keycombo) is executed and the search term is not found--that was the example I was citing before but I didn't make that clear. Of course I was just echoing what I've scratched down for my own notes, so it can be specific to ME! :) We BOTH should have been better in discussing this. :)
Yes, I remember the circumstances of editor.flash()'s origins. I don't know...perhaps So my main point is that editor.flash() is available but it isn't documented...and it should be...same for notepad.flashWindow(). At least editor.flash() can be used without an argument if someone happens to know of its existence...but if you know about notepad.flashWindow() somehow it is tough to simply guess at its arguments....needs docs!! |
Yes, I simply forgot to add it but in case you find some undocumented function one way which
Nevertheless, it should be added to chm file |
👍
That's correct. |
Ah, I suppose the code FORCES you to add the console help...that's nice. I think at one point I write some code to "loop thru" everything in the console help and I copied it to a file. That could help in the future when things aren't put in the real docs. IMO, "timeout" is bad...no time reference. Is it seconds? (I know it isn't, but I shouldn't have to even spend a millisecond(!) thinking about it) :) "milliseconds" is much better...at least with that I know what I'm getting without having to rely on remembering or experimenting. Should this issue be reopened until the real docs are corrected? (sorry to be a stickler for detail) |
@sasumner Created a new followup issue for the docu update. |
notepad.flashWindow()
.Flash the Title Bar and NPP's tab in Windows Task Bar.
(As in
Search -> Wrap around
).Thank you.
The text was updated successfully, but these errors were encountered: