Git Product home page Git Product logo

Comments (4)

Ahmad45123 avatar Ahmad45123 commented on August 28, 2024

I don't get what you mean.
But if you want to create a key binding for a certain functionality that is related to your program like saving the file or showing the snippet list.

You goto the KeyDown event in the control and check if the e.Key == Keys.WHATEVERKEY do whatever you want.

I don't have VS open right now and not free.. So sorry can't provide an example.
If you don't get me, I will try and write it here.

from scintillanet.

theryan722 avatar theryan722 commented on August 28, 2024

I am aware of that solution, however ScintillaNET provides its own key binding. What I want to know is if I can do this through ScintillaNET. But thank you for answering, always greatly appreciated :)

from scintillanet.

jacobslusser avatar jacobslusser commented on August 28, 2024

There is no facility within ScintillaNET to keybind to a method. It can only bind to one of the Command enumeration values. To get the keybinding you want you'll have to intercept the keys in Windows Forms before ScintillaNET processes them as @johnymac suggested.

from scintillanet.

theryan722 avatar theryan722 commented on August 28, 2024

Darn, oh well. Thank you both of you.

On Thu, Jul 2, 2015 at 8:14 PM, jacobslusser [email protected]
wrote:

There is no facility within ScintillaNET to keybind to a method. It can
only bind to one of the Command enumeration values. To get the keybinding
you want you'll have to intercept the keys in Windows Forms before
ScintillaNET processes them as @johnymac https://github.com/JohnyMac
suggested.


Reply to this email directly or view it on GitHub
#55 (comment)
.

Ryan O'Day

Business Email: [email protected]
Business Website: www.bionetworkscorp.net

from scintillanet.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.