Giter VIP home page Giter VIP logo

Comments (5)

dail8859 avatar dail8859 commented on June 14, 2024

I don't have a Mac to test on at all. Scintilla's keymap defines those keys, which is why it works on Windows.

{Keys::Delete, SCI_SHIFT, Message::Cut},
{Keys::Delete, SCI_CTRL, Message::DelWordRight},
{Keys::Delete, SCI_CSHIFT, Message::DelLineRight},
{Keys::Insert, SCI_NORM, Message::EditToggleOvertype},
{Keys::Insert, SCI_SHIFT, Message::Paste},
{Keys::Insert, SCI_CTRL, Message::Copy},

So I don't have a clue as to why that wouldn't work for MacOS. Maybe someone else will be able to debug/explain it.

from notepadnext.

vdsirotkin avatar vdsirotkin commented on June 14, 2024

@dail8859 thanks for the info!
I have a mac, but i've ~0 experience in debugging c++ applications. If you can help me we some basic information about gathering debug data - i'll do my best to help.

Just realized, that shift+delete actually works.

I've tried to set up the same shortcuts in IntelliJ IDEA, and here's what i've got:
image
image

So seems like key code is different for mac os on these buttons...

from notepadnext.

dail8859 avatar dail8859 commented on June 14, 2024

I don't know of an easy way debug this other than building the application from source and stepping through the code as it executes. Even then I'm not sure how easy the keyboard input will be to debug. These shortcuts are all defined the same way, so it is very odd to me that Shfit+Del works but the others don't.

from notepadnext.

vdsirotkin avatar vdsirotkin commented on June 14, 2024

@dail8859 i guess that "insert" button on mac os has just different keycode. Maybe there's some relatively simple way for me to check this button's code in Scintilla?

from notepadnext.

dail8859 avatar dail8859 commented on June 14, 2024

SciTE is kind of the "test platform" for Scintilla but I don't think they publish any applications on MacOS you could test with.

It could also be related to Scintilla on Qt, which I'm not sure how popular that is for other applications. I guess you could reach out to the Scintilla mailing list to ask about this but I'm not sure how much help they'd be without any hard evidence. I don't think it is anything I'm doing specifically in the application but cannot say for certain.

from notepadnext.

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.