Skip to content
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

Feature Request: search with online with selected text #1435

Closed
ghost opened this issue Jul 18, 2019 · 10 comments
Closed

Feature Request: search with online with selected text #1435

ghost opened this issue Jul 18, 2019 · 10 comments

Comments

@ghost
Copy link

ghost commented Jul 18, 2019

I would love to be able to select any text in Notepad3 and click "Search &Online" in the context menu, right above Open Hyperlink. It would open the system's default web browser with the selected text as a parameter to the default search. It's a small feature but one that would greatly improve its convenience. It would be a killer feature.

@ghost ghost changed the title Feature Request: search with online with selected text in editor Feature Request: search with online with selected text Jul 18, 2019
@ghost
Copy link
Author

ghost commented Jul 18, 2019

I would do a pull request for it, but I'm new to programming. When I try to pull the selected text using SciCall_GetSelText, it returns Japanese.

@ghost
Copy link
Author

ghost commented Jul 18, 2019

Notepad++ has it, but it only supports a single selected line, otherwise it fails to search silently. We can do better than that.

@RaiKoHoff
Copy link
Collaborator

RaiKoHoff commented Jul 18, 2019

Notepad3 has this feature already:
Select text, and Menu->File->Launch->Web Template 1 (or Ctrl+Shift+1)
You can configure the search engine in .ini-File:
[Settings2] WebTemplate1=https://google.com/search?q=%s
(default is google.com).
Web template 2 (Ctrl+Shift+2) searches Wikipedia by default ....

@ghost
Copy link
Author

ghost commented Jul 18, 2019

That's pretty cool! Is it possible to have the web templates show up in the context menu, since it is contextual?

@RaiKoHoff
Copy link
Collaborator

Contextual 🤔 - I think that is possible ...

@ghost
Copy link
Author

ghost commented Jul 18, 2019

I'm looking to help add features as I get my feet wet again. I haven't programmed anything since Visual Basic .NET came out

@RaiKoHoff
Copy link
Collaborator

@stevesmiles : Development help is always welcome ... 😺
Feel free to test development beta version _5.19.718.2397_BETA (beta channel access see: #1129)

@ghost
Copy link
Author

ghost commented Jul 18, 2019

The context menu items work perfectly in the beta build!

@ghost
Copy link
Author

ghost commented Jul 18, 2019

I'm slowly learning my way through your notepad3 github repository using Visual Studio 2019.

@hpwamr
Copy link
Collaborator

hpwamr commented Sep 27, 2019

Deleted user
ghost
Hi, I'm @ghost! I take the place of user accounts that have been deleted. 👻
Nothing to see here, move along.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants